svn commit: r331438 - head/security/scanhill

Renato Botelho garga at FreeBSD.org
Wed Oct 23 22:30:28 UTC 2013


Author: garga
Date: Wed Oct 23 22:30:27 2013
New Revision: 331438
URL: http://svnweb.freebsd.org/changeset/ports/331438

Log:
  Support staging

Modified:
  head/security/scanhill/Makefile

Modified: head/security/scanhill/Makefile
==============================================================================
--- head/security/scanhill/Makefile	Wed Oct 23 22:29:10 2013	(r331437)
+++ head/security/scanhill/Makefile	Wed Oct 23 22:30:27 2013	(r331438)
@@ -19,7 +19,6 @@ PORTDOCS=	README.txt INSTALL.txt mysql.s
 
 OPTIONS_DEFINE=	MYSQL DOCS
 
-NO_STAGE=	yes
 .include <bsd.port.pre.mk>
 
 .if ${PORT_OPTIONS:MMYSQL}
@@ -31,15 +30,15 @@ post-patch:
 	@${REINPLACE_CMD} -e 's/-liconv/${ICONV_LIB}/' ${WRKSRC}/configure
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/scanhill ${PREFIX}/bin
-	${INSTALL_DATA} ${WRKSRC}/scanhill.conf ${PREFIX}/etc/scanhill.conf-dist
+	${INSTALL_PROGRAM} ${WRKSRC}/scanhill ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_DATA} ${WRKSRC}/scanhill.conf ${STAGEDIR}${PREFIX}/etc/scanhill.conf-dist
 .if !exists(${PREFIX}/etc/scanhill.conf)
-	${INSTALL_DATA} ${WRKSRC}/scanhill.conf ${PREFIX}/etc/
+	${INSTALL_DATA} ${WRKSRC}/scanhill.conf ${STAGEDIR}${PREFIX}/etc/
 .endif
 .if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${DOCSDIR}
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
 . for f in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
 . endfor
 .endif
 


More information about the svn-ports-all mailing list