diff --git a/net/aslookup/Makefile b/net/aslookup/Makefile index 574136b10b39..53a33e5a0e84 100644 --- a/net/aslookup/Makefile +++ b/net/aslookup/Makefile @@ -11,18 +11,15 @@ DISTNAME= ${PORTNAME}-alpha${PORTVERSION} MAINTAINER= jmohacsi@bsd.hu COMMENT= Tool that searches the sequence of AS numbers -NO_STAGE= yes post-patch: @${REINPLACE_CMD} -E -e "s|CFLAGS.*=|CFLAGS +=|" \ -e "s|CC.*=|CC ?=|" ${WRKSRC}/Makefile do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/aslookup ${PREFIX}/bin -.if !defined(NOPORTDOCS) - @if [ ! -d ${PREFIX}/share/doc/aslookup ]; then \ - ${MKDIR} ${PREFIX}/share/doc/aslookup; fi + ${INSTALL_PROGRAM} ${WRKSRC}/aslookup ${STAGEDIR}${PREFIX}/bin + @if [ ! -d ${STAGEDIR}${PREFIX}/share/doc/aslookup ]; then \ + ${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/aslookup; fi ${INSTALL_DATA} ${WRKSRC}/readme-eng.txt ${WRKSRC}/readme-jp.txt \ - ${PREFIX}/share/doc/aslookup -.endif + ${STAGEDIR}${PREFIX}/share/doc/aslookup .include