svn commit: r345979 - head/security/slurpie

Emanuel Haupt ehaupt at FreeBSD.org
Tue Feb 25 12:27:19 UTC 2014


Author: ehaupt
Date: Tue Feb 25 12:27:19 2014
New Revision: 345979
URL: http://svnweb.freebsd.org/changeset/ports/345979
QAT: https://qat.redports.org/buildarchive/r345979/

Log:
  Support staging

Modified:
  head/security/slurpie/Makefile

Modified: head/security/slurpie/Makefile
==============================================================================
--- head/security/slurpie/Makefile	Tue Feb 25 12:26:18 2014	(r345978)
+++ head/security/slurpie/Makefile	Tue Feb 25 12:27:19 2014	(r345979)
@@ -15,12 +15,8 @@ COMMENT=	A passwd file cracker (supports
 PLIST_FILES=	sbin/slurp sbin/slurpie
 PORTDOCS=	README
 
-NO_STAGE=	yes
-
 OPTIONS_DEFINE=	DOCS
 
-.include <bsd.port.options.mk>
-
 post-patch:
 # Fix for GCC 4.2
 	@${REINPLACE_CMD} -e \
@@ -28,10 +24,8 @@ post-patch:
 		${WRKSRC}/src/slurpie.c
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/slurp* ${PREFIX}/sbin
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-.endif
+	${INSTALL_PROGRAM} ${WRKSRC}/slurp* ${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