Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 May 2014 12:07:23 +0000 (UTC)
From:      Jimmy Olgeni <olgeni@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r354042 - head/java/jakarta-commons-discovery
Message-ID:  <201405141207.s4EC7NPE001370@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: olgeni
Date: Wed May 14 12:07:23 2014
New Revision: 354042
URL: http://svnweb.freebsd.org/changeset/ports/354042
QAT: https://qat.redports.org/buildarchive/r354042/

Log:
  Add staging support.

Modified:
  head/java/jakarta-commons-discovery/Makefile

Modified: head/java/jakarta-commons-discovery/Makefile
==============================================================================
--- head/java/jakarta-commons-discovery/Makefile	Wed May 14 12:04:31 2014	(r354041)
+++ head/java/jakarta-commons-discovery/Makefile	Wed May 14 12:07:23 2014	(r354042)
@@ -23,16 +23,11 @@ PORTDOCS=	*
 JARFILE=	${PORTNAME}.jar
 PLIST_FILES+=	%%JAVAJARDIR%%/${JARFILE}
 
-NO_STAGE=	yes
 do-install:
-	@${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${JARFILE}..."
-	@${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-${PORTVERSION}.jar ${JAVAJARDIR}/${JARFILE}
-	@${ECHO_MSG} " [ DONE ]"
+	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-${PORTVERSION}.jar ${STAGEDIR}${JAVAJARDIR}/${JARFILE}
 .if !defined(NOPORTDOCS)
-	@${ECHO_MSG} -n ">> Installing documentation..."
-	@cd ${WRKSRC}/apidocs && ${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/{} \;
-	@cd ${WRKSRC}/apidocs && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \;
-	@${ECHO_MSG} " [ DONE ]"
+	cd ${WRKSRC}/apidocs && ${FIND} . -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/{} \;
+	cd ${WRKSRC}/apidocs && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${DOCSDIR}/{} \;
 .endif
 
 .include <bsd.port.mk>



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