svn commit: r344705 - head/dns/dnshijacker
Martin Wilke
miwi at FreeBSD.org
Mon Feb 17 08:09:01 UTC 2014
Author: miwi
Date: Mon Feb 17 08:09:01 2014
New Revision: 344705
URL: http://svnweb.freebsd.org/changeset/ports/344705
QAT: https://qat.redports.org/buildarchive/r344705/
Log:
- Stage support
Modified:
head/dns/dnshijacker/Makefile
Modified: head/dns/dnshijacker/Makefile
==============================================================================
--- head/dns/dnshijacker/Makefile Mon Feb 17 07:41:40 2014 (r344704)
+++ head/dns/dnshijacker/Makefile Mon Feb 17 08:09:01 2014 (r344705)
@@ -18,11 +18,8 @@ PLIST_FILES= bin/dnshijacker
LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet10-config
-.if !defined(NOPORTDOCS)
PORTDOCS= README
-.endif
-NO_STAGE= yes
do-build:
cd ${WRKSRC} && \
${CC} ${PORTNAME}.c ${CFLAGS} -I${LOCALBASE}/include \
@@ -30,10 +27,8 @@ do-build:
`${LIBNET_CONFIG} --cflags` -o ${PORTNAME}
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/dnshijacker ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-.endif
+ ${INSTALL_PROGRAM} ${WRKSRC}/dnshijacker ${STAGEDIR}${PREFIX}/bin
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list