mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Stagify.
Approved by: portmgr@ (blanket approval)
This commit is contained in:
parent
c123ad83e5
commit
290e529925
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=360130
@ -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_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>
|
||||
|
Loading…
Reference in New Issue
Block a user