1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

fix plist

Approved by:	portmgr (krion)
This commit is contained in:
Mathieu Arnold 2005-03-31 14:17:03 +00:00
parent f1badf2018
commit 7bf6803855
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=132131
2 changed files with 14 additions and 1 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= ExtUtils-MakeMaker
PORTVERSION= 6.25
PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= ExtUtils
@ -37,4 +38,16 @@ MAN3= ExtUtils::Installed.3 ExtUtils::MM_OS2.3 ExtUtils::MakeMaker.3 \
IGNORE= This port requires perl 5.6.x or later. Install lang/perl5 then try again
.endif
.if ${PERL_LEVEL} >= 500800
.undef MAN1
PLIST_SUB+= EXE_FILES="@comment "
.else
PLIST_SUB+= EXE_FILES=""
.endif
post-patch:
.if ${PERL_LEVEL} >= 500800
@${REINPLACE_CMD} -e '/EXE_FILES/d' ${WRKSRC}/Makefile.PL
.endif
.include <bsd.port.post.mk>

View File

@ -1,4 +1,4 @@
bin/instmodsh
%%EXE_FILES%%bin/instmodsh
%%SITE_PERL%%/ExtUtils/Command.pm
%%SITE_PERL%%/ExtUtils/Command/MM.pm
%%SITE_PERL%%/ExtUtils/Install.pm