aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2016-07-09 09:00:12 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2016-07-09 09:00:12 +0000
commit5bf0c4d130127526a84596145909990aca83f8dc (patch)
tree99e16cdc5f530fae60e302797c0902340fb2e466 /graphics
parentcfbc4cd8f8c8ee1f7b9bef03d02bc7fee28fe5bd (diff)
downloadports-5bf0c4d130127526a84596145909990aca83f8dc.tar.gz
ports-5bf0c4d130127526a84596145909990aca83f8dc.zip
Notes
Diffstat (limited to 'graphics')
-rw-r--r--graphics/cbviewer/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/graphics/cbviewer/Makefile b/graphics/cbviewer/Makefile
index afe3851e66d1..09c2c7165df4 100644
--- a/graphics/cbviewer/Makefile
+++ b/graphics/cbviewer/Makefile
@@ -16,6 +16,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Comic book viewer for comic book archives in cbz, cbr, zip, rar
LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= unrar:archivers/unrar
@@ -32,22 +33,22 @@ PLIST_FILES= bin/${PORTNAME} \
share/pixmaps/${PORTNAME}.png
PORTDOCS= CREDITS
-OPTIONS_DEFINE= DOCS
SUB_FILES= ${PORTNAME}
DESKTOP_ENTRIES="CBViewer" "Comic book viewer" "${PORTNAME}" \
"${PORTNAME}" "Graphics;Viewer;Java;" ""
+OPTIONS_DEFINE= DOCS
+
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/*.jar ${STAGEDIR}${DATADIR}
-
-post-install:
${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \
${STAGEDIR}${PREFIX}/share/pixmaps/
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}