svn commit: r346028 - head/sysutils/tss
Emanuel Haupt
ehaupt at FreeBSD.org
Tue Feb 25 15:37:35 UTC 2014
Author: ehaupt
Date: Tue Feb 25 15:37:34 2014
New Revision: 346028
URL: http://svnweb.freebsd.org/changeset/ports/346028
QAT: https://qat.redports.org/buildarchive/r346028/
Log:
Support staging
Modified:
head/sysutils/tss/Makefile
Modified: head/sysutils/tss/Makefile
==============================================================================
--- head/sysutils/tss/Makefile Tue Feb 25 15:32:41 2014 (r346027)
+++ head/sysutils/tss/Makefile Tue Feb 25 15:37:34 2014 (r346028)
@@ -9,19 +9,19 @@ MASTER_SITES= http://www.pulia.nu/tss/sr
MAINTAINER= peter at 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>
More information about the svn-ports-all
mailing list