Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 May 2014 16:02:34 +0000 (UTC)
From:      Alex Dupre <ale@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r353853 - head/net/jgroups
Message-ID:  <201405121602.s4CG2YgD016108@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ale
Date: Mon May 12 16:02:34 2014
New Revision: 353853
URL: http://svnweb.freebsd.org/changeset/ports/353853
QAT: https://qat.redports.org/buildarchive/r353853/

Log:
  Stagify.

Modified:
  head/net/jgroups/Makefile

Modified: head/net/jgroups/Makefile
==============================================================================
--- head/net/jgroups/Makefile	Mon May 12 16:01:10 2014	(r353852)
+++ head/net/jgroups/Makefile	Mon May 12 16:02:34 2014	(r353853)
@@ -11,34 +11,33 @@ MAINTAINER=	ale@FreeBSD.org
 COMMENT=	A Java toolkit for reliable multicast communication
 
 LICENSE=	LGPL21
-LICENSE_FILE=	${WRKSRC}/LICENSE
+
+OPTIONS_DEFINE=	DOCS
 
 USE_JAVA=	yes
 JAVA_VERSION=	1.6+
 USE_ANT=	yes
 ALL_TARGET=	jar
-.if !defined(NOPORTDOCS)
-ALL_TARGET+=	javadoc
-.endif
+
+PLIST_FILES=	%%JAVAJARDIR%%/${PORTNAME}.jar
 
 PORTDATA=	*
 PORTDOCS=	*
 
-PLIST_FILES=	%%JAVAJARDIR%%/${PORTNAME}.jar
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MDOCS}
+ALL_TARGET+=	javadoc
+.endif
 
-NO_STAGE=	yes
 do-install:
 	${INSTALL_DATA} ${WRKSRC}/dist/${DISTNAME}.Final.jar \
-		${JAVAJARDIR}/${PORTNAME}.jar
-.if !defined(NOPORTDATA)
-	@${MKDIR} ${DATADIR}
+		${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
+	@${MKDIR} ${STAGEDIR}${DATADIR}
 	@${INSTALL_DATA} ${WRKSRC}/dist/${PORTNAME}-sources.jar \
-		${DATADIR}/
-.endif
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-	@${INSTALL_DATA} ${WRKSRC}/dist/README ${DOCSDIR}/
-	@(cd ${WRKSRC}/dist && ${COPYTREE_SHARE} javadoc ${DOCSDIR})
-.endif
+		${STAGEDIR}${DATADIR}/
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	@${INSTALL_DATA} ${WRKSRC}/dist/README ${STAGEDIR}${DOCSDIR}/
+	@(cd ${WRKSRC}/dist && ${COPYTREE_SHARE} javadoc ${STAGEDIR}${DOCSDIR})
 
 .include <bsd.port.mk>



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