1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

pod2man in post-patch needs perl - add perl as patch depend

This commit is contained in:
Andrej Zverev 2013-09-10 11:35:30 +00:00
parent b88c23df87
commit 7f9ec7d977
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=326895

View File

@ -21,6 +21,7 @@ RUN_DEPENDS= p5-JSON-Any>=0:${PORTSDIR}/converters/p5-JSON-Any \
p5-POE-Filter-IRCD>=0:${PORTSDIR}/irc/p5-POE-Filter-IRCD
USES= perl5
USE_PERL5= patch build run
NO_BUILD= yes
MAN1= tircd.1
@ -33,6 +34,7 @@ post-patch:
${REINPLACE_CMD} -e '1s,^#!/usr/bin/perl,#!${PREFIX}/bin/perl,' \
-e 's,/etc/tircd.cfg,${PREFIX}/etc/tircd.cfg,g' \
${WRKSRC}/tircd.pl ${WRKSRC}/tircd.pod
# pod2man needs perl
pod2man ${WRKSRC}/tircd.pod > ${WRKSRC}/tircd.1
do-install: