aboutsummaryrefslogtreecommitdiffstats
path: root/net/spoofer
diff options
context:
space:
mode:
authorjadawin <jadawin@FreeBSD.org>2013-12-28 03:47:35 +0800
committerjadawin <jadawin@FreeBSD.org>2013-12-28 03:47:35 +0800
commitba924e7d694adee80e4b60e1406f3ccccb619d29 (patch)
treeaeea0e0808d31d98956d304bacfaf0a1ab60ff0c /net/spoofer
parentee680e49a455a4768dcc361bc746345c19dc70af (diff)
downloadfreebsd-ports-gnome-ba924e7d694adee80e4b60e1406f3ccccb619d29.tar.gz
freebsd-ports-gnome-ba924e7d694adee80e4b60e1406f3ccccb619d29.tar.zst
freebsd-ports-gnome-ba924e7d694adee80e4b60e1406f3ccccb619d29.zip
- Support STAGE
Diffstat (limited to 'net/spoofer')
-rw-r--r--net/spoofer/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/net/spoofer/Makefile b/net/spoofer/Makefile
index eaf1c3a5e0ff..370140fdb722 100644
--- a/net/spoofer/Makefile
+++ b/net/spoofer/Makefile
@@ -14,14 +14,15 @@ PORTDOCS= README CHANGES
HAS_CONFIGURE= yes
-NO_STAGE= yes
+.include <bsd.port.options.mk>
+
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
+.if ${PORT_OPTIONS:MDOCS}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
.endif