- Add NO_ARCH

- Update PLIST_FILES: %%PERL5_MAN1%% instead of ${SITE_MAN1} as other p5-* PLIST entries
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2015-10-01 15:55:33 +00:00
parent 0ce90b0adb
commit 6cda989732
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=398293

View File

@ -16,11 +16,12 @@ BUILD_DEPENDS= p5-Digest-CRC>=0:${PORTSDIR}/security/p5-Digest-CRC \
p5-IO-Socket-INET6>=0:${PORTSDIR}/net/p5-IO-Socket-INET6
RUN_DEPENDS:= ${BUILD_DEPENDS}
NO_ARCH= yes
USE_PERL5= configure
USES= perl5
PLIST_FILES= bin/2ping \
${SITE_MAN1}/2ping.1.gz
%%PERL5_MAN1%%/2ping.1.gz
post-patch:
@${REINPLACE_CMD} -e 's|2ping.1p|2ping.1|' ${WRKSRC}/Makefile.PL