Only do the Perl fix if Perl is enabled.

Reported by:	Mike Harding <mvharding@gmail.com>
This commit is contained in:
Joe Marcus Clarke 2016-01-06 15:33:22 +00:00
parent 219dce5992
commit 80d6bd47bb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=405360

View file

@ -29,9 +29,11 @@ CONFIGURE_ARGS= --disable-consoleui \
--enable-screensaver \
--with-dynamic_prpls=${PRPL_MODULES:S/,$//}
.if ${PORT_OPTIONS:MPERL}
post-stage:
@${SED} -i '' -e 's|^${STAGEDIR}||g' \
${STAGEDIR}${PREFIX}/lib/pidgin/perl/auto/Pidgin/.packlist
.endif
post-install:
${INSTALL_MAN} ${WRKSRC}/doc/pidgin.1 ${STAGEDIR}${MAN1PREFIX}/man/man1