svn commit: r346119 - head/irc/onis

Emanuel Haupt ehaupt at FreeBSD.org
Wed Feb 26 07:14:20 UTC 2014


Author: ehaupt
Date: Wed Feb 26 07:14:19 2014
New Revision: 346119
URL: http://svnweb.freebsd.org/changeset/ports/346119
QAT: https://qat.redports.org/buildarchive/r346119/

Log:
  Support staging

Modified:
  head/irc/onis/Makefile

Modified: head/irc/onis/Makefile
==============================================================================
--- head/irc/onis/Makefile	Wed Feb 26 07:09:50 2014	(r346118)
+++ head/irc/onis/Makefile	Wed Feb 26 07:14:19 2014	(r346119)
@@ -10,13 +10,10 @@ MAINTAINER=	ports at FreeBSD.org
 COMMENT=	A script that converts IRC logfiles into an HTML statistics page
 
 USES=		perl5
-NO_BUILD=	YES
+NO_BUILD=	yes
 
-NO_STAGE=	yes
 do-install:
-	@if [ ! -d ${DATADIR} ]; then \
-		${MKDIR} ${DATADIR}; \
-	fi
-	${CP} -R ${WRKSRC}/* ${DATADIR}/
+	${MKDIR} ${STAGEDIR}${DATADIR}
+	@(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list