Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Jul 2014 03:54:06 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r360130 - head/www/rssowl
Message-ID:  <201407020354.s623s6bX095325@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Wed Jul  2 03:54:05 2014
New Revision: 360130
URL: http://svnweb.freebsd.org/changeset/ports/360130
QAT: https://qat.redports.org/buildarchive/r360130/

Log:
  Stagify.
  
  Approved by:	portmgr@ (blanket approval)

Modified:
  head/www/rssowl/Makefile

Modified: head/www/rssowl/Makefile
==============================================================================
--- head/www/rssowl/Makefile	Wed Jul  2 03:30:43 2014	(r360129)
+++ head/www/rssowl/Makefile	Wed Jul  2 03:54:05 2014	(r360130)
@@ -33,6 +33,7 @@ PORTDOCS=	CHANGELOG.txt epl-v10.html mpl
 
 PLIST_FILES=	bin/rssowl %%DATADIR%%/rssowl.jar share/pixmaps/rssowl.png
 PLIST_DIRS=	%%DATADIR%%
+OPTIONS_DEFINE=	DOCS
 
 DESKTOP_ENTRIES="RSSOwl" \
 		"Newsfeeds reader" \
@@ -41,7 +42,8 @@ DESKTOP_ENTRIES="RSSOwl" \
 		"Network;News;Java;" \
 		true
 
-NO_STAGE=	yes
+.include <bsd.port.options.mk>
+
 post-patch:
 	@${REINPLACE_CMD} -e \
 		's|$${java\.io\.tmpdir}/source/|$${basedir}/temp/|; \
@@ -54,18 +56,15 @@ post-build:
 	@${ECHO_CMD} "exec java -jar ${DATADIR}/rssowl.jar" >> ${WRKSRC}/rssowl
 
 do-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/rssowl ${PREFIX}/bin
-	${MKDIR} ${DATADIR}
-	${INSTALL_DATA} ${WRKSRC}/rssowl.jar ${DATADIR}
-	${INSTALL_DATA} ${WRKSRC}/img/32x32.png ${PREFIX}/share/pixmaps/rssowl.png
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
+	${INSTALL_SCRIPT} ${WRKSRC}/rssowl ${STAGEDIR}${PREFIX}/bin
+	${MKDIR} ${STAGEDIR}${DATADIR}
+	${INSTALL_DATA} ${WRKSRC}/rssowl.jar ${STAGEDIR}${DATADIR}
+	${INSTALL_DATA} ${WRKSRC}/img/32x32.png ${STAGEDIR}${PREFIX}/share/pixmaps/rssowl.png
+.if ${PORT_OPTIONS:MDOCS}
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for f in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/${DOCS_PREFIX}/${f} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${DOCS_PREFIX}/${f} ${STAGEDIR}${DOCSDIR}
 .endfor
 .endif
 
-post-install:
-	@${CAT} ${PKGMESSAGE}
-
 .include <bsd.port.mk>



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