Add p5-POE-Component-EasyDBI 0.02, pOE Component for simplified DBI

usage.

PR:		ports/62182
Submitted by:	Zach Thompson <lin-chi@lastamericanempire.com>
This commit is contained in:
Mathieu Arnold 2004-04-02 13:42:23 +00:00
parent 0ba3cbed07
commit b48dde1073
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=105962
9 changed files with 111 additions and 0 deletions

View file

@ -0,0 +1,40 @@
# New ports collection makefile for: POE-Component-EasyDBI
# Date created: 31 Jan 2004
# Whom: Zach Thompson <lin-chi@lastamericanempire.com>
#
# $FreeBSD$
#
PORTNAME= POE-Component-EasyDBI
PORTVERSION= 0.02
CATEGORIES= devel databases perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= POE
PKGNAMEPREFIX= p5-
MAINTAINER= lin-chi@lastamericanempire.com
COMMENT= POE Component for simplified DBI usage
BUILD_DEPENDS= ${SITE_PERL}/POE.pm:${PORTSDIR}/devel/p5-POE \
${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable \
${SITE_PERL}/Error.pm:${PORTSDIR}/lang/p5-Error
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
MAN3= POE::Component::EasyDBI.3 \
POE::Component::EasyDBI::SubProcess.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500600
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137
post-patch:
@${PERL} -pi -e 's/^our (\S+)/use vars qw($$1); $$1/;' \
-e '$$_ = "" if /(no|use) warnings/;' \
${WRKSRC}/EasyDBI.pm ${WRKSRC}/EasyDBI/SubProcess.pm
.else
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
.endif
.include <bsd.port.post.mk>

View file

@ -0,0 +1,2 @@
MD5 (POE-Component-EasyDBI-0.02.tar.gz) = eb26f9eb6eb3be4440e8de9ff23acd27
SIZE (POE-Component-EasyDBI-0.02.tar.gz) = 14110

View file

@ -0,0 +1,4 @@
Simplified use of DBI in the POE environment.
- Zach Thompson
lin-chi@lastamericanempire.com

View file

@ -0,0 +1,9 @@
%%SITE_PERL%%/POE/Component/EasyDBI.pm
%%SITE_PERL%%/POE/Component/EasyDBI/SubProcess.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component/EasyDBI/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component/EasyDBI
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/POE 2>/dev/null || true
@dirrm %%SITE_PERL%%/POE/Component/EasyDBI
@unexec rmdir %D/%%SITE_PERL%%/POE/Component 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/POE 2>/dev/null || true

View file

@ -820,6 +820,7 @@
SUBDIR += p5-POE-Component-DBIAgent
SUBDIR += p5-POE-Component-DebugShell
SUBDIR += p5-POE-Component-DirWatch
SUBDIR += p5-POE-Component-EasyDBI
SUBDIR += p5-POE-Component-IKC
SUBDIR += p5-POE-Component-JobQueue
SUBDIR += p5-POE-Component-Logger

View file

@ -0,0 +1,40 @@
# New ports collection makefile for: POE-Component-EasyDBI
# Date created: 31 Jan 2004
# Whom: Zach Thompson <lin-chi@lastamericanempire.com>
#
# $FreeBSD$
#
PORTNAME= POE-Component-EasyDBI
PORTVERSION= 0.02
CATEGORIES= devel databases perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= POE
PKGNAMEPREFIX= p5-
MAINTAINER= lin-chi@lastamericanempire.com
COMMENT= POE Component for simplified DBI usage
BUILD_DEPENDS= ${SITE_PERL}/POE.pm:${PORTSDIR}/devel/p5-POE \
${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable \
${SITE_PERL}/Error.pm:${PORTSDIR}/lang/p5-Error
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
MAN3= POE::Component::EasyDBI.3 \
POE::Component::EasyDBI::SubProcess.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500600
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137
post-patch:
@${PERL} -pi -e 's/^our (\S+)/use vars qw($$1); $$1/;' \
-e '$$_ = "" if /(no|use) warnings/;' \
${WRKSRC}/EasyDBI.pm ${WRKSRC}/EasyDBI/SubProcess.pm
.else
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
.endif
.include <bsd.port.post.mk>

View file

@ -0,0 +1,2 @@
MD5 (POE-Component-EasyDBI-0.02.tar.gz) = eb26f9eb6eb3be4440e8de9ff23acd27
SIZE (POE-Component-EasyDBI-0.02.tar.gz) = 14110

View file

@ -0,0 +1,4 @@
Simplified use of DBI in the POE environment.
- Zach Thompson
lin-chi@lastamericanempire.com

View file

@ -0,0 +1,9 @@
%%SITE_PERL%%/POE/Component/EasyDBI.pm
%%SITE_PERL%%/POE/Component/EasyDBI/SubProcess.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component/EasyDBI/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component/EasyDBI
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/POE 2>/dev/null || true
@dirrm %%SITE_PERL%%/POE/Component/EasyDBI
@unexec rmdir %D/%%SITE_PERL%%/POE/Component 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/POE 2>/dev/null || true