aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-POE-Component-EasyDBI
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2004-04-02 13:42:23 +0000
committerMathieu Arnold <mat@FreeBSD.org>2004-04-02 13:42:23 +0000
commitb48dde1073517a65cbc4c228be7665cb5899fe9b (patch)
tree8cd9fa8b74552af8c005e59e21c2d16bd75f2b20 /devel/p5-POE-Component-EasyDBI
parent0ba3cbed07130699d3d88ca4984d5476afa428a6 (diff)
downloadports-b48dde1073517a65cbc4c228be7665cb5899fe9b.tar.gz
ports-b48dde1073517a65cbc4c228be7665cb5899fe9b.zip
Notes
Diffstat (limited to 'devel/p5-POE-Component-EasyDBI')
-rw-r--r--devel/p5-POE-Component-EasyDBI/Makefile40
-rw-r--r--devel/p5-POE-Component-EasyDBI/distinfo2
-rw-r--r--devel/p5-POE-Component-EasyDBI/pkg-descr4
-rw-r--r--devel/p5-POE-Component-EasyDBI/pkg-plist9
4 files changed, 55 insertions, 0 deletions
diff --git a/devel/p5-POE-Component-EasyDBI/Makefile b/devel/p5-POE-Component-EasyDBI/Makefile
new file mode 100644
index 000000000000..45515acb4740
--- /dev/null
+++ b/devel/p5-POE-Component-EasyDBI/Makefile
@@ -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>
diff --git a/devel/p5-POE-Component-EasyDBI/distinfo b/devel/p5-POE-Component-EasyDBI/distinfo
new file mode 100644
index 000000000000..e6281caa0557
--- /dev/null
+++ b/devel/p5-POE-Component-EasyDBI/distinfo
@@ -0,0 +1,2 @@
+MD5 (POE-Component-EasyDBI-0.02.tar.gz) = eb26f9eb6eb3be4440e8de9ff23acd27
+SIZE (POE-Component-EasyDBI-0.02.tar.gz) = 14110
diff --git a/devel/p5-POE-Component-EasyDBI/pkg-descr b/devel/p5-POE-Component-EasyDBI/pkg-descr
new file mode 100644
index 000000000000..38926ea88768
--- /dev/null
+++ b/devel/p5-POE-Component-EasyDBI/pkg-descr
@@ -0,0 +1,4 @@
+Simplified use of DBI in the POE environment.
+
+- Zach Thompson
+lin-chi@lastamericanempire.com
diff --git a/devel/p5-POE-Component-EasyDBI/pkg-plist b/devel/p5-POE-Component-EasyDBI/pkg-plist
new file mode 100644
index 000000000000..00040bdf6aef
--- /dev/null
+++ b/devel/p5-POE-Component-EasyDBI/pkg-plist
@@ -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