aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2014-02-06 07:22:53 +0000
committerMartin Wilke <miwi@FreeBSD.org>2014-02-06 07:22:53 +0000
commita0c70506aeaa08149d89ea8a84967febf8dfea57 (patch)
tree048cd70735b6ea8fd6592474103669540ad17a56
parentc208cbe5985701f238be7c1796494161e9f28d09 (diff)
Notes
-rw-r--r--net/aslookup/Makefile11
1 files changed, 4 insertions, 7 deletions
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 <bsd.port.mk>