diff options
author | mat <mat@FreeBSD.org> | 2004-04-02 21:42:23 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2004-04-02 21:42:23 +0800 |
commit | 57e4f74e1fd9f78587b76a55f34af27e4e8a24cd (patch) | |
tree | 80d710c6105ced216be0e18eae8d8583c142c7f7 /databases/p5-POE-Component-EasyDBI | |
parent | e8772a69286e96983aeaf82cc16cb4c2b3814e61 (diff) | |
download | freebsd-ports-gnome-57e4f74e1fd9f78587b76a55f34af27e4e8a24cd.tar.gz freebsd-ports-gnome-57e4f74e1fd9f78587b76a55f34af27e4e8a24cd.tar.zst freebsd-ports-gnome-57e4f74e1fd9f78587b76a55f34af27e4e8a24cd.zip |
Add p5-POE-Component-EasyDBI 0.02, pOE Component for simplified DBI
usage.
PR: ports/62182
Submitted by: Zach Thompson <lin-chi@lastamericanempire.com>
Diffstat (limited to 'databases/p5-POE-Component-EasyDBI')
-rw-r--r-- | databases/p5-POE-Component-EasyDBI/Makefile | 40 | ||||
-rw-r--r-- | databases/p5-POE-Component-EasyDBI/distinfo | 2 | ||||
-rw-r--r-- | databases/p5-POE-Component-EasyDBI/pkg-descr | 4 | ||||
-rw-r--r-- | databases/p5-POE-Component-EasyDBI/pkg-plist | 9 |
4 files changed, 55 insertions, 0 deletions
diff --git a/databases/p5-POE-Component-EasyDBI/Makefile b/databases/p5-POE-Component-EasyDBI/Makefile new file mode 100644 index 000000000000..45515acb4740 --- /dev/null +++ b/databases/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/databases/p5-POE-Component-EasyDBI/distinfo b/databases/p5-POE-Component-EasyDBI/distinfo new file mode 100644 index 000000000000..e6281caa0557 --- /dev/null +++ b/databases/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/databases/p5-POE-Component-EasyDBI/pkg-descr b/databases/p5-POE-Component-EasyDBI/pkg-descr new file mode 100644 index 000000000000..38926ea88768 --- /dev/null +++ b/databases/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/databases/p5-POE-Component-EasyDBI/pkg-plist b/databases/p5-POE-Component-EasyDBI/pkg-plist new file mode 100644 index 000000000000..00040bdf6aef --- /dev/null +++ b/databases/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 |