svn commit: r348075 - head/security/httprint

Emanuel Haupt ehaupt at FreeBSD.org
Thu Mar 13 14:49:59 UTC 2014


Author: ehaupt
Date: Thu Mar 13 14:49:58 2014
New Revision: 348075
URL: http://svnweb.freebsd.org/changeset/ports/348075
QAT: https://qat.redports.org/buildarchive/r348075/

Log:
  - Support staging
  - Use COPYTREE_SHARE istead of CP

Modified:
  head/security/httprint/Makefile

Modified: head/security/httprint/Makefile
==============================================================================
--- head/security/httprint/Makefile	Thu Mar 13 14:47:16 2014	(r348074)
+++ head/security/httprint/Makefile	Thu Mar 13 14:49:58 2014	(r348075)
@@ -16,10 +16,9 @@ USES=		zip
 RESTRICTED=	No cost for personal, education and non-commercial use.
 NO_BUILD=	yes
 
-NO_STAGE=	yes
 do-install:
-	${MKDIR} ${DATADIR}
-	${CP} -Rp ${WRKSRC} ${DATADIR}
-	${LN} -s ${DATADIR}/httprint ${PREFIX}/bin
+	@${MKDIR} ${STAGEDIR}${DATADIR}
+	(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})
+	${LN} -s httprint ${STAGEDIR}${PREFIX}/bin
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list