From owner-svn-ports-head@FreeBSD.ORG Wed Jul 2 03:54:06 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7788B3FB; Wed, 2 Jul 2014 03:54:06 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 649C32117; Wed, 2 Jul 2014 03:54:06 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s623s6ii095327; Wed, 2 Jul 2014 03:54:06 GMT (envelope-from vanilla@svn.freebsd.org) Received: (from vanilla@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s623s6bX095325; Wed, 2 Jul 2014 03:54:06 GMT (envelope-from vanilla@svn.freebsd.org) Message-Id: <201407020354.s623s6bX095325@svn.freebsd.org> From: "Vanilla I. Shu" Date: Wed, 2 Jul 2014 03:54:06 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r360130 - head/www/rssowl X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jul 2014 03:54:06 -0000 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 + 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