Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Feb 2014 15:37:34 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r346028 - head/sysutils/tss
Message-ID:  <201402251537.s1PFbYxS076200@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402251537.s1PFbYxS076200>