svn commit: r345981 - head/security/smurflog

Emanuel Haupt ehaupt at FreeBSD.org
Tue Feb 25 12:31:59 UTC 2014


Author: ehaupt
Date: Tue Feb 25 12:31:58 2014
New Revision: 345981
URL: http://svnweb.freebsd.org/changeset/ports/345981
QAT: https://qat.redports.org/buildarchive/r345981/

Log:
  Support staging

Modified:
  head/security/smurflog/Makefile

Modified: head/security/smurflog/Makefile
==============================================================================
--- head/security/smurflog/Makefile	Tue Feb 25 12:30:09 2014	(r345980)
+++ head/security/smurflog/Makefile	Tue Feb 25 12:31:58 2014	(r345981)
@@ -16,7 +16,8 @@ GNU_CONFIGURE=	yes
 PORTDOCS=	README
 PLIST_FILES=	sbin/smurflog
 
-NO_STAGE=	yes
+OPTIONS_DEFINE=	DOCS
+
 post-patch:
 	@${REINPLACE_CMD} -e \
 		's|^CFLAGS=|#CFLAGS=|' ${WRKSRC}/configure
@@ -24,10 +25,8 @@ post-patch:
 		'/strip/d' ${WRKSRC}/Makefile.in
 
 do-install:
-	(cd ${WRKSRC} && ${INSTALL_PROGRAM} smurflog ${PREFIX}/sbin)
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-	(cd ${WRKSRC} && ${INSTALL_DATA} README ${DOCSDIR})
-.endif
+	${INSTALL_PROGRAM} ${WRKSRC}/smurflog ${STAGEDIR}${PREFIX}/sbin
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list