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 diff --git a/devel/abi-compliance-checker/distinfo b/devel/abi-compliance-checker/distinfo index 821e8f54a021..08c81f29c0b0 100644 --- a/devel/abi-compliance-checker/distinfo +++ b/devel/abi-compliance-checker/distinfo @@ -1,2 +1,2 @@ -SHA256 (abi-compliance-checker-1.93.7.tar.gz) = dfe53a7cc1a21b221d5072027a503abb6fcf2941fe7a080257614edfdea7334c -SIZE (abi-compliance-checker-1.93.7.tar.gz) = 176187 +SHA256 (abi-compliance-checker-1.94.tar.gz) = 4a935534b6ceef1ab96594c83d8d63fe794d8b45f10fe8c080378e1541d1939a +SIZE (abi-compliance-checker-1.94.tar.gz) = 179920