freebsd-ports/graphics/cbviewer/Makefile
Jung-uk Kim 5a52a08234 Clean up after java/openjdk6 and java/openjdk6-jre removal
java/openjdk6 support was removed from Mk/bsd.java.mk (r512662) and
java/openjdk6 and java/openjdk6-jre were removed from the ports tree
(r512663).  Now this patch completely removes remaining stuff from the
ports tree.

PR:			241953 (exp-run)
Reviewed by:		glewis
Approved by:		portmgr (antoine)
Differential Revision:	https://reviews.freebsd.org/D22342
2019-11-26 21:46:12 +00:00

55 lines
1.3 KiB
Makefile

# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
# $FreeBSD$
PORTNAME= cbviewer
PORTVERSION= 0.8
PORTREVISION= 3
CATEGORIES= graphics java
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/CBViewer%200.8/ \
SF/nemysisfreebsdp/graphics/:icons
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
${PORTNAME}.png:icons
DIST_SUBDIR= ${PORTNAME}
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
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
USES= dos2unix zip
DOS2UNIX_GLOB= CREDITS
USE_JAVA= yes
NO_BUILD= yes
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
PLIST_FILES= bin/${PORTNAME} \
share/java/cbviewer/CBViewer.jar \
share/pixmaps/${PORTNAME}.png
PORTDOCS= CREDITS
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}
${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \
${STAGEDIR}${PREFIX}/share/pixmaps/
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>