aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/ggrab
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-02-21 23:36:43 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-02-21 23:36:43 +0800
commit4ef0182a94aa324ec5b17ea076df2a721ad8ee1d (patch)
tree20dd2c6f030d2f5cebd19a2f10222367fb9fdb0f /multimedia/ggrab
parentbf145934aa219550835177a56c0c9c745c26d913 (diff)
downloadfreebsd-ports-gnome-4ef0182a94aa324ec5b17ea076df2a721ad8ee1d.tar.gz
freebsd-ports-gnome-4ef0182a94aa324ec5b17ea076df2a721ad8ee1d.tar.zst
freebsd-ports-gnome-4ef0182a94aa324ec5b17ea076df2a721ad8ee1d.zip
Support staging
Diffstat (limited to 'multimedia/ggrab')
-rw-r--r--multimedia/ggrab/Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/multimedia/ggrab/Makefile b/multimedia/ggrab/Makefile
index 7cbdd4f68374..865d537d8e78 100644
--- a/multimedia/ggrab/Makefile
+++ b/multimedia/ggrab/Makefile
@@ -16,17 +16,16 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
PLIST_FILES= bin/ggrab bin/sserver
PORTDOCS= README
-NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e 's/-lpthread/${PTHREAD_LIBS}/g' \
${WRKSRC}/Makefile
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/ggrab ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/sserver ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-.endif
+ ${INSTALL_PROGRAM} ${WRKSRC}/ggrab ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/sserver ${STAGEDIR}${PREFIX}/bin
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>