Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jan 2014 07:47:59 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r340564 - head/textproc/dom4j
Message-ID:  <201401210747.s0L7lx3h042589@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mat
Date: Tue Jan 21 07:47:58 2014
New Revision: 340564
URL: http://svnweb.freebsd.org/changeset/ports/340564
QAT: https://qat.redports.org/buildarchive/r340564/

Log:
  Convert to staging.
  
  Sponsored by:	Absolight

Modified:
  head/textproc/dom4j/Makefile

Modified: head/textproc/dom4j/Makefile
==============================================================================
--- head/textproc/dom4j/Makefile	Tue Jan 21 07:35:15 2014	(r340563)
+++ head/textproc/dom4j/Makefile	Tue Jan 21 07:47:58 2014	(r340564)
@@ -14,26 +14,17 @@ USE_JAVA=	yes
 JAVA_VERSION=	1.6+
 NO_BUILD=	yes
 
+OPTIONS_DEFINE=	DOCS
+
 PLIST_FILES=	%%JAVAJARDIR%%/${PORTNAME}.jar
-.if !defined(NOPORTDOCS)
+
 PORTDOCS=	*
-.endif
 
-NO_STAGE=	yes
 do-install:
-	@${ECHO_MSG} -n ">> Installing JAR in ${JAVAJARDIR}..."
-	@cd ${WRKSRC} && \
-		${INSTALL_DATA} ${PORTNAME}-${PORTVERSION}.jar \
-			${JAVAJARDIR}/${PORTNAME}.jar
-	@${ECHO_MSG} " [ DONE ]"
-.if !defined(NOPORTDOCS)
-	@${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..."
-	@${MKDIR} ${DOCSDIR}
-	@${INSTALL_DATA} ${WRKSRC}/LICENSE.txt ${DOCSDIR}
-	@cd ${WRKSRC}/docs && ${FIND} . | \
-		${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} > \
-			/dev/null 2>&1
-	@${ECHO_MSG} " [ DONE ]"
-.endif
+	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-${PORTVERSION}.jar \
+			${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/LICENSE.txt ${STAGEDIR}${DOCSDIR}
+	(cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
 
 .include <bsd.port.mk>



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