1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00
Approved by:	portmgr@ (blanket approval)
This commit is contained in:
Vanilla I. Shu 2014-07-02 03:54:05 +00:00
parent c123ad83e5
commit 290e529925
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=360130

View File

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