Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Nov 2013 12:52:15 +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: r334307 - head/security/zombiezapper
Message-ID:  <201311191252.rAJCqF4c006172@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Tue Nov 19 12:52:15 2013
New Revision: 334307
URL: http://svnweb.freebsd.org/changeset/ports/334307

Log:
  Support staging.

Modified:
  head/security/zombiezapper/Makefile

Modified: head/security/zombiezapper/Makefile
==============================================================================
--- head/security/zombiezapper/Makefile	Tue Nov 19 12:19:01 2013	(r334306)
+++ head/security/zombiezapper/Makefile	Tue Nov 19 12:52:15 2013	(r334307)
@@ -22,7 +22,8 @@ LDFLAGS+=	$$(${LIBNET_CONFIG} --libs)
 PORTDOCS=	USAGE tekpaper.txt
 PLIST_FILES=	bin/zz
 
-NO_STAGE=	yes
+OPTIONS_DEFINE=	DOCS
+
 .include <bsd.port.options.mk>
 
 do-build:
@@ -30,10 +31,10 @@ do-build:
 		${CC} ${CFLAGS} ${CPPFLAGS} -o zz zz.c ${LDFLAGS}
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/zz ${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/zz ${STAGEDIR}${PREFIX}/bin
 .if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>



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