Bug 98608 - New port: database/p5-Test-DatabaseRow Simple database tests
Summary: New port: database/p5-Test-DatabaseRow Simple database tests
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-07 04:50 UTC by Joshua D. Abraham
Modified: 2006-06-07 11:47 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joshua D. Abraham 2006-06-07 04:50:14 UTC
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	p5-Test-DatabaseRow
#	p5-Test-DatabaseRow/pkg-descr
#	p5-Test-DatabaseRow/Makefile
#	p5-Test-DatabaseRow/distinfo
#	p5-Test-DatabaseRow/pkg-plist
#
echo c - p5-Test-DatabaseRow
mkdir -p p5-Test-DatabaseRow > /dev/null 2>&1
echo x - p5-Test-DatabaseRow/pkg-descr
sed 's/^X//' >p5-Test-DatabaseRow/pkg-descr << 'END-of-p5-Test-DatabaseRow/pkg-descr'
XThis is a simple module for doing very very simple quick tests on a
Xdatabase, primarily designed to test if a row exists with the correct
Xdetails in a table or not. For more advanced testing (joins, etc) it's
Xprobably easier for you to roll your own tests by hand than use this
Xmodule.
X
XWWW: http://search.cpan.org/~mark/Test-DatabaseRow-1.04/
END-of-p5-Test-DatabaseRow/pkg-descr
echo x - p5-Test-DatabaseRow/Makefile
sed 's/^X//' >p5-Test-DatabaseRow/Makefile << 'END-of-p5-Test-DatabaseRow/Makefile'
X# New ports collection makefile for: 	p5-Test-DatabaseRow
X# Date created:				June 3 2006
X# Whom:					Joshua D. Abraham <jabra@ccs.neu.edu>
X#
X# $FreeBSD: ports/databases/p5-Test-DatabaseRow/Makefile,v 1.05 2006/06/03 04:00:00 Esp $
X#
X
XPORTNAME=	Test-DatabaseRow
XPORTVERSION=	1.04
XCATEGORIES=	databases perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	../../authors/id/M/MA/MARKF
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	jabra@ccs.neu.edu
XCOMMENT=	Simple database tests
X
XBUILD_DEPENDS=	${SITE_PERL}/mach/DBI.pm:${PORTSDIR}/databases/p5-DBI \
X		${SITE_PERL}/Test/Builder/Tester.pm:${PORTSDIR}/devel/p5-Test-Simple \
X		${SITE_PERL}/Test/Builder/Module.pm:${PORTSDIR}/devel/p5-Test-Simple
X                
XRUN_DEPENDS=	${BUILD_DEPENDS} 
X		
X
XPERL_CONFIGURE= yes
X
XMAN3=		Test::DatabaseRow.3
X
Xpost-configure:
X	@${PERL} -pi -e 's/^(POD2MAN_EXE.*)$$/\1 --lax/;' ${WRKSRC}/Makefile
X
X.include <bsd.port.mk>
END-of-p5-Test-DatabaseRow/Makefile
echo x - p5-Test-DatabaseRow/distinfo
sed 's/^X//' >p5-Test-DatabaseRow/distinfo << 'END-of-p5-Test-DatabaseRow/distinfo'
XMD5 (Test-DatabaseRow-1.04.tar.gz) = e63d7ef63451f438074ab33e19c7cd09
XSHA256 (Test-DatabaseRow-1.04.tar.gz) = 81ef7de9d0b6383416a28969d67a1e6453fdd8e7801bc4e5dfc7946eaa2b59e0
XSIZE (Test-DatabaseRow-1.04.tar.gz) = 14377
END-of-p5-Test-DatabaseRow/distinfo
echo x - p5-Test-DatabaseRow/pkg-plist
sed 's/^X//' >p5-Test-DatabaseRow/pkg-plist << 'END-of-p5-Test-DatabaseRow/pkg-plist'
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Test/DatabaseRow/.packlist
X%%SITE_PERL%%/Test/DatabaseRow.pm
X@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Test/DatabaseRow
X@dirrmtry %%SITE_PERL%%/Test
X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Test
END-of-p5-Test-DatabaseRow/pkg-plist
exit
Comment 1 Joshua D. Abraham 2006-06-07 05:12:06 UTC
feel free to mark me as the maintainer.

-- 
Joshua D. Abraham
Northeastern University
College of Computer and Information Science
http://www.ccs.neu.edu/home/jabra
Comment 2 Erwin Lansing freebsd_committer freebsd_triage 2006-06-07 11:46:25 UTC
State Changed
From-To: open->closed

Port added, thanks! 

I fixed some issues with it first though. There was quite 
a lot of extra whitespace. Try using devel/portlint. 
I removed a duplicate dependency and marked it for perl 
5.6.0 or higher as well.