Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Feb 2014 07:14:20 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r346119 - head/irc/onis
Message-ID:  <201402260714.s1Q7EKFu067939@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402260714.s1Q7EKFu067939>