- Stage support

This commit is contained in:
Martin Wilke 2014-02-06 07:22:53 +00:00
parent c208cbe598
commit a0c70506ae
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=342942

View file

@ -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>