aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-02-20 16:40:42 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-02-20 16:40:42 +0800
commitea84541645dc3687c8d6b931abfb62aef756b7f0 (patch)
treebd4545b849e41fad88baa1d961455ac3a348af71 /graphics
parent704abea820855d4d8424cc5224e0c0ef99a68e9b (diff)
downloadfreebsd-ports-gnome-ea84541645dc3687c8d6b931abfb62aef756b7f0.tar.gz
freebsd-ports-gnome-ea84541645dc3687c8d6b931abfb62aef756b7f0.tar.zst
freebsd-ports-gnome-ea84541645dc3687c8d6b931abfb62aef756b7f0.zip
Support staging
Diffstat (limited to 'graphics')
-rw-r--r--graphics/s10sh/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/graphics/s10sh/Makefile b/graphics/s10sh/Makefile
index 0f8bcdae9a2d..07131ee9883c 100644
--- a/graphics/s10sh/Makefile
+++ b/graphics/s10sh/Makefile
@@ -21,17 +21,13 @@ PLIST_FILES= bin/${PORTNAME}
PORTDOCS= README
-OPTIONS_DEFINE= USB
+OPTIONS_DEFINE= USB DOCS
.include <bsd.port.pre.mk>
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
-
-post-install:
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
-.endif
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.post.mk>