diff options
author | Yen-Ming Lee <leeym@FreeBSD.org> | 2006-01-02 22:40:00 +0000 |
---|---|---|
committer | Yen-Ming Lee <leeym@FreeBSD.org> | 2006-01-02 22:40:00 +0000 |
commit | d5a7b6738c6310b64cc95b641b1183eeac6bb446 (patch) | |
tree | ee6a8dcc848c26270055800a9903c3a8f3271e26 /devel/p5-File-Temp | |
parent | 93c1244271c7730c78ea6860b2130ea3f2b5e754 (diff) | |
download | ports-d5a7b6738c6310b64cc95b641b1183eeac6bb446.tar.gz ports-d5a7b6738c6310b64cc95b641b1183eeac6bb446.zip |
Notes
Diffstat (limited to 'devel/p5-File-Temp')
-rw-r--r-- | devel/p5-File-Temp/Makefile | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/devel/p5-File-Temp/Makefile b/devel/p5-File-Temp/Makefile index 5a715677d525..f7bff677e72f 100644 --- a/devel/p5-File-Temp/Makefile +++ b/devel/p5-File-Temp/Makefile @@ -7,21 +7,28 @@ PORTNAME= File-Temp PORTVERSION= 0.16 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= devel perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= File PKGNAMEPREFIX= p5- -MAINTAINER= clsung@FreeBSD.org +MAINTAINER= leeym@FreeBSD.org COMMENT= Perl5 module to generate temporary files or directories safely -BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/File/Spec.pm:${PORTSDIR}/devel/p5-PathTools \ - ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple -RUN_DEPENDS= ${BUILD_DEPENDS} +RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/File/Spec.pm:${PORTSDIR}/devel/p5-PathTools +BUILD_DEPENDS= ${RUN_DEPENDS} +BUILD_DEPENDS+= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple PERL_CONFIGURE= yes MAN3= File::Temp.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +post-configure: + ${PERL} -pi -e 's/-I\S+PERL\S+ //g if m{PERL_DL_NONLAZY}' ${WRKSRC}/Makefile +.endif + +.include <bsd.port.post.mk> |