diff options
Diffstat (limited to 'graphics/cbviewer/Makefile')
-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} |