diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2003-09-01 11:59:09 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2003-09-01 11:59:09 +0000 |
commit | fab44d40bdab6396706714710db68b69d2207a49 (patch) | |
tree | fc430c1050c716a9ebbea18ab9df1f0276bd3558 /devel/p5-Config-Auto | |
parent | 2c8c3d42f43208044e7413316a52eebc5f27f320 (diff) | |
download | ports-fab44d40bdab6396706714710db68b69d2207a49.tar.gz ports-fab44d40bdab6396706714710db68b69d2207a49.zip |
Notes
Diffstat (limited to 'devel/p5-Config-Auto')
-rw-r--r-- | devel/p5-Config-Auto/Makefile | 39 | ||||
-rw-r--r-- | devel/p5-Config-Auto/distinfo | 1 | ||||
-rw-r--r-- | devel/p5-Config-Auto/pkg-descr | 3 | ||||
-rw-r--r-- | devel/p5-Config-Auto/pkg-plist | 5 |
4 files changed, 48 insertions, 0 deletions
diff --git a/devel/p5-Config-Auto/Makefile b/devel/p5-Config-Auto/Makefile new file mode 100644 index 000000000000..a4aef81c5bf6 --- /dev/null +++ b/devel/p5-Config-Auto/Makefile @@ -0,0 +1,39 @@ +# New ports collection makefile for: p5-Config-Auto +# Date created: August 29 2003 +# Whom: Lars Thegler <lars@thegler.dk> +# +# $FreeBSD$ + +PORTNAME= Config-Auto +PORTVERSION= 0.03 +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Config +PKGNAMEPREFIX= p5- + +MAINTAINER= lars@thegler.dk +COMMENT= Magical config file parser + +BUILD_DEPENDS= ${SITE_PERL}/XML/Simple.pm:${PORTSDIR}/textproc/p5-XML-Simple \ + ${SITE_PERL}/Config/IniFiles.pm:${PORTSDIR}/devel/p5-Config-IniFiles +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= Config::Auto.3 + +test: + cd ${WRKSRC} ; make test + +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec + +post-patch: + @${PERL} -pi -e 's/^our (\$$\w+)/use vars qw($$1); $$1/;' \ + -e '$$_ = "" if (/5.006/);' \ + ${WRKSRC}/Auto.pm +.endif + +.include <bsd.port.post.mk> diff --git a/devel/p5-Config-Auto/distinfo b/devel/p5-Config-Auto/distinfo new file mode 100644 index 000000000000..7e3a8c967991 --- /dev/null +++ b/devel/p5-Config-Auto/distinfo @@ -0,0 +1 @@ +MD5 (Config-Auto-0.03.tar.gz) = 461dd819434ac75a295973cf04d691a4 diff --git a/devel/p5-Config-Auto/pkg-descr b/devel/p5-Config-Auto/pkg-descr new file mode 100644 index 000000000000..2ee2c80a3172 --- /dev/null +++ b/devel/p5-Config-Auto/pkg-descr @@ -0,0 +1,3 @@ +Parse diverse config file formats 'magically'. + +WWW: http://search.cpan.org/dist/Config-Auto diff --git a/devel/p5-Config-Auto/pkg-plist b/devel/p5-Config-Auto/pkg-plist new file mode 100644 index 000000000000..8910c7d5fdd1 --- /dev/null +++ b/devel/p5-Config-Auto/pkg-plist @@ -0,0 +1,5 @@ +%%SITE_PERL%%/Config/Auto.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Config/Auto/.packlist +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Config/Auto +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Config 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/Config 2>/dev/null || true |