diff options
Diffstat (limited to 'devel/abi-compliance-checker/Makefile')
-rw-r--r-- | devel/abi-compliance-checker/Makefile | 29 |
1 files changed, 19 insertions, 10 deletions
diff --git a/devel/abi-compliance-checker/Makefile b/devel/abi-compliance-checker/Makefile index 4c88c1182888..8d6a16c889a6 100644 --- a/devel/abi-compliance-checker/Makefile +++ b/devel/abi-compliance-checker/Makefile @@ -6,7 +6,7 @@ # PORTNAME= abi-compliance-checker -PORTVERSION= 1.93.7 +PORTVERSION= 1.94 CATEGORIES= devel perl5 MASTER_SITES= http://linuxtesting.org/downloads/ \ LOCAL/bf @@ -37,6 +37,12 @@ PICFLAG?= -fPIC PICFLAG?= -fpic .endif +.for w in DATA DOCS +.ifndef(NOPORT${w}) +PORT${w}= * +.endif +.endfor + post-patch: @${REINPLACE_CMD} \ -e "\|get_CmdPath(\"ar\")|s|\"ar\"|\"${AR}\"|" \ @@ -44,11 +50,22 @@ post-patch: -e "\|get_CmdPath(\"gcc\")|s|\"gcc\"|\"${CC}\"|" \ -e "\|get_CmdPath(\"objdump\")|s|\"objdump\"|\"${OBJDUMP}\"|" \ -e "\|get_CmdPath(\"readelf\")|s|\"readelf\"|\"${READELF}\"|" \ - -e "s| -shared|& ${PICFLAG}|g" \ + -e "s|ACC_MODULES_INSTALL_PATH|${DATADIR}|" \ ${WRKSRC}/${PORTNAME}.pl + @${SED} -i "" -e "\|BuildCmd|s|GCC_PATH.\"|& ${PICFLAG}|" \ + ${WRKSRC}/modules/Internals/RegTests.pm do-install: @${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${PREFIX}/bin +.ifndef(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + @(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \* ${DOCSDIR}) +.endif +.ifndef(NOPORTDATA) + @${MKDIR} ${DATADIR} + @(cd ${WRKSRC} && ${COPYTREE_SHARE} \ + "modules/Internals modules/*.xml modules/Targets/unix" ${DATADIR}) +.endif .ifdef(MAINTAINER_MODE) check regression-test test: build @@ -56,12 +73,4 @@ check regression-test test: build .endif -.ifndef(NOPORTDOCS) -PORTDOCS= * - -post-install: - @${MKDIR} ${DOCSDIR} - @(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \* ${DOCSDIR}) - -.endif .include <bsd.port.post.mk> |