Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Feb 2014 09:55:25 +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: r345054 - head/devel/ocaml-camomile-examples
Message-ID:  <201402190955.s1J9tPjX061402@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Wed Feb 19 09:55:25 2014
New Revision: 345054
URL: http://svnweb.freebsd.org/changeset/ports/345054
QAT: https://qat.redports.org/buildarchive/r345054/

Log:
  Support staging

Modified:
  head/devel/ocaml-camomile-examples/Makefile

Modified: head/devel/ocaml-camomile-examples/Makefile
==============================================================================
--- head/devel/ocaml-camomile-examples/Makefile	Wed Feb 19 09:53:06 2014	(r345053)
+++ head/devel/ocaml-camomile-examples/Makefile	Wed Feb 19 09:55:25 2014	(r345054)
@@ -17,12 +17,11 @@ NO_BUILD=	yes
 USE_BZIP2=	yes
 EXAMPLESDIR=	${PREFIX}/share/examples/ocaml/${PORTNAME}
 
-NO_STAGE=	yes
 do-install:
-	@${MKDIR} ${EXAMPLESDIR}
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	@${TAR} -cf- -C ${WRKSRC} . | \
-		${TAR} -xf- -C ${EXAMPLESDIR}
-	@${FIND} ${EXAMPLESDIR} -type f -exec ${CHMOD} ${SHAREMODE} {} \;
-	@${FIND} ${EXAMPLESDIR} -exec ${CHOWN} ${SHAREOWN} {} \;
+		${TAR} -xf- -C ${STAGEDIR}${EXAMPLESDIR}
+	@${FIND} ${STAGEDIR}${EXAMPLESDIR} -type f -exec ${CHMOD} ${SHAREMODE} {} \;
+	@${FIND} ${STAGEDIR}${EXAMPLESDIR} -exec ${CHOWN} ${SHAREOWN} {} \;
 
 .include <bsd.port.mk>



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