diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2016-07-09 17:00:12 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2016-07-09 17:00:12 +0800 |
commit | 7157f62a1bde6118bffe71bee792bd3077c1fb27 (patch) | |
tree | 99e16cdc5f530fae60e302797c0902340fb2e466 /graphics | |
parent | 0891712fa499cc1ac9ef7f4b505ae4f021e0c129 (diff) | |
download | freebsd-ports-gnome-7157f62a1bde6118bffe71bee792bd3077c1fb27.tar.gz freebsd-ports-gnome-7157f62a1bde6118bffe71bee792bd3077c1fb27.tar.zst freebsd-ports-gnome-7157f62a1bde6118bffe71bee792bd3077c1fb27.zip |
- Add LICENSE_FILE
- Switch to options helpers
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/cbviewer/Makefile | 7 |
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} |