diff options
author | skv <skv@FreeBSD.org> | 2009-03-29 04:45:10 +0800 |
---|---|---|
committer | skv <skv@FreeBSD.org> | 2009-03-29 04:45:10 +0800 |
commit | 0845a9092be27f06f835de5f7ab85a6ad1f99157 (patch) | |
tree | 893a11ba9c38666479720f77b2a35d21e8b42f6c /archivers | |
parent | 6ec98793d23a422c2da73eeb226c51d29415ccc7 (diff) | |
download | freebsd-ports-gnome-0845a9092be27f06f835de5f7ab85a6ad1f99157.tar.gz freebsd-ports-gnome-0845a9092be27f06f835de5f7ab85a6ad1f99157.tar.zst freebsd-ports-gnome-0845a9092be27f06f835de5f7ab85a6ad1f99157.zip |
Introduce Perl 5.10.0
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/p5-Archive-Tar/Makefile | 14 | ||||
-rw-r--r-- | archivers/p5-Archive-Tar/pkg-plist | 4 |
2 files changed, 15 insertions, 3 deletions
diff --git a/archivers/p5-Archive-Tar/Makefile b/archivers/p5-Archive-Tar/Makefile index 55998d93c3a8..6d6e0dd7941c 100644 --- a/archivers/p5-Archive-Tar/Makefile +++ b/archivers/p5-Archive-Tar/Makefile @@ -19,7 +19,6 @@ RUN_DEPENDS= p5-IO-Compress-Bzip2>=2.012:${PORTSDIR}/archivers/p5-IO-Compress-Bz PERL_CONFIGURE= YES -MAN1= ptardiff.1 ptar.1 MAN3= Archive::Tar.3 Archive::Tar::File.3 OPTIONS= TEXT_DIFF "Text::Diff support for ptardiff" off @@ -38,4 +37,17 @@ RUN_DEPENDS+= p5-Package-Constants>=0:${PORTSDIR}/devel/p5-Package-Constants RUN_DEPENDS+= p5-IO-Zlib>=1.01:${PORTSDIR}/archivers/p5-IO-Zlib .endif +.if ${PERL_LEVEL} >= 501000 +PLIST_SUB+= EXE_FILES="@comment " +.else +PLIST_SUB+= EXE_FILES="" +MAN1= ptardiff.1 ptar.1 +.endif + +post-patch: + @${REINPLACE_CMD} -e 's/5.009/5.666/' ${WRKSRC}/Makefile.PL +.if ${PERL_LEVEL} >= 501000 + @${REINPLACE_CMD} -e '/EXE_FILES/d' ${WRKSRC}/Makefile.PL +.endif + .include <bsd.port.post.mk> diff --git a/archivers/p5-Archive-Tar/pkg-plist b/archivers/p5-Archive-Tar/pkg-plist index 17191009add6..bc81f665980b 100644 --- a/archivers/p5-Archive-Tar/pkg-plist +++ b/archivers/p5-Archive-Tar/pkg-plist @@ -1,5 +1,5 @@ -bin/ptar -bin/ptardiff +%%EXE_FILES%%bin/ptar +%%EXE_FILES%%bin/ptardiff %%SITE_PERL%%/Archive/Tar.pm %%SITE_PERL%%/Archive/Tar/Constant.pm %%SITE_PERL%%/Archive/Tar/File.pm |