Index: api-sanity-autotest/Makefile =================================================================== --- api-sanity-autotest/Makefile (revision 370791) +++ api-sanity-autotest/Makefile (working copy) @@ -3,6 +3,7 @@ PORTNAME= api-sanity-checker PORTVERSION= 1.98.4 +PORTREVISION= 1 CATEGORIES= devel perl5 MASTER_SITES= https://github.com/lvc/${PORTNAME}/archive/ \ LOCAL/bf/${DIST_SUBDIR} @@ -15,20 +16,18 @@ LICENSE= LGPL20 GPLv2 LICENSE_COMB= dual -RUN_DEPENDS= ${LOCALBASE}/bin/abi-compliance-checker.pl:${PORTSDIR}/devel/abi-compliance-checker +RUN_DEPENDS= ${LOCALBASE}/bin/abi-compliance-checker:${PORTSDIR}/devel/abi-compliance-checker USES= perl5 shebangfix SHEBANG_FILES= ${PORTNAME}.pl .if defined(MAINTAINER_MODE) || defined(PACKAGE_BUILDING) -BUILD_DEPENDS= ${LOCALBASE}/bin/abi-compliance-checker.pl:${PORTSDIR}/devel/abi-compliance-checker -.else -USE_PERL5= run +BUILD_DEPENDS= ${LOCALBASE}/bin/abi-compliance-checker:${PORTSDIR}/devel/abi-compliance-checker .endif USE_GCC= any NO_BUILD= yes -PLIST_FILES= bin/${PORTNAME}.pl +PLIST_FILES= bin/${PORTNAME} WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} OPTIONS_DEFINE= DOCS @@ -55,7 +54,7 @@ ${WRKSRC}/modules/Internals/RegTests.pm do-install: - @${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${STAGEDIR}${PREFIX}/bin + @${PERL} ${WRKSRC}/Makefile.pl -install --prefix=${PREFIX} --destdir=${STAGEDIR} .if defined(MAINTAINER_MODE) || defined(PACKAGE_BUILDING) check regression-test test: build Index: abi-compliance-checker/Makefile =================================================================== --- abi-compliance-checker/Makefile (revision 370791) +++ abi-compliance-checker/Makefile (working copy) @@ -3,6 +3,7 @@ PORTNAME= abi-compliance-checker PORTVERSION= 1.99 +PORTREVISION= 1 CATEGORIES= devel perl5 MASTER_SITES= https://github.com/lvc/${PORTNAME}/archive/ \ LOCAL/bf/${DIST_SUBDIR} @@ -20,14 +21,12 @@ .if defined(MAINTAINER_MODE) || defined(PACKAGE_BUILDING) BUILD_DEPENDS?= exctags:${PORTSDIR}/devel/ctags -.else -USE_PERL5= run .endif RUN_DEPENDS?= exctags:${PORTSDIR}/devel/ctags USE_GCC= any NO_BUILD= yes -PLIST_FILES= bin/${PORTNAME}.pl +PLIST_FILES= bin/${PORTNAME} WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} OPTIONS_DEFINE= DOCS @@ -65,12 +64,11 @@ ${WRKSRC}/modules/Internals/RegTests.pm do-install: - @${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${STAGEDIR}${PREFIX}/bin + @${PERL} ${WRKSRC}/Makefile.pl -install --prefix=${PREFIX} --destdir=${STAGEDIR} + +post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} @(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR}) - @${MKDIR} ${STAGEDIR}${DATADIR} - @(cd ${WRKSRC} && ${COPYTREE_SHARE} \ - "modules/Internals modules/*.xml modules/Targets/unix" ${STAGEDIR}${DATADIR}) .if defined(MAINTAINER_MODE) || defined(PACKAGE_BUILDING) check regression-test test: build