aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-02-25 23:37:34 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-02-25 23:37:34 +0800
commitc0870aec654a3c392ee3fb0c71b8b323b0f0e8fc (patch)
tree27ce6ed315d6610f7fd6c2628f97cb6e42bb661c /sysutils
parent65f1f6c6e9a10162ed99104f0662606b2ca5fc55 (diff)
downloadfreebsd-ports-gnome-c0870aec654a3c392ee3fb0c71b8b323b0f0e8fc.tar.gz
freebsd-ports-gnome-c0870aec654a3c392ee3fb0c71b8b323b0f0e8fc.tar.zst
freebsd-ports-gnome-c0870aec654a3c392ee3fb0c71b8b323b0f0e8fc.zip
Support staging
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/tss/Makefile18
1 files changed, 9 insertions, 9 deletions
diff --git a/sysutils/tss/Makefile b/sysutils/tss/Makefile
index 5cbbd9c167d5..a7abd75bbb69 100644
--- a/sysutils/tss/Makefile
+++ b/sysutils/tss/Makefile
@@ -9,19 +9,19 @@ MASTER_SITES= http://www.pulia.nu/tss/src/
MAINTAINER= peter@pean.org
COMMENT= Terminal ScreenSaver that allows you to lock you terminal
-NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
post-patch:
- @ ${REINPLACE_CMD} -e "s|/etc/tss|${PREFIX}/etc/tss|" ${WRKSRC}/src/main.c
+ ${REINPLACE_CMD} -e "s|/etc/tss|${PREFIX}/etc/tss|" \
+ ${WRKSRC}/src/main.c
do-install:
- ${INSTALL_SCRIPT} -m 4755 ${WRKSRC}/tss ${PREFIX}/bin
- ${MKDIR} ${PREFIX}/etc/tss
- ${INSTALL_DATA} ${WRKSRC}/tss_art/* ${PREFIX}/etc/tss
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
+ ${INSTALL_SCRIPT} -m 4755 ${WRKSRC}/tss ${STAGEDIR}${PREFIX}/bin
+ ${MKDIR} ${STAGEDIR}${PREFIX}/etc/tss
+ ${INSTALL_DATA} ${WRKSRC}/tss_art/* ${STAGEDIR}${PREFIX}/etc/tss
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ART_CREDITS COPYING Changelog INSTALL README
- ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
.include <bsd.port.mk>