1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/graphics/cbviewer/Makefile
Alex Kozlov 12e263b358 - Use /usr/bin/unzip for zip files extraction (part 2)
Remove most of USES=zip:infozip

PR:        ports/188419
Approved by:	portmgr (bapt)
Exp-run:	antoine
2014-06-06 15:26:41 +00:00

56 lines
1.4 KiB
Makefile

# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
# $FreeBSD$
PORTNAME= cbviewer
PORTVERSION= 0.8
PORTREVISION= 2
CATEGORIES= graphics java
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/CBViewer%200.8/ \
SF/nemysisfreebsdp/graphics/:icons
DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} \
${PORTNAME}.png:icons
DIST_SUBDIR= ${PORTNAME}
EXTRACT_ONLY= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Comic book viewer for comic book archives in cbz, cbr, zip, rar
LICENSE= GPLv2
RUN_DEPENDS= unrar:${PORTSDIR}/archivers/unrar
USES= dos2unix zip
DOS2UNIX_GLOB= CREDITS
USE_JAVA= yes
JAVA_VERSION= 1.6+
NO_BUILD= yes
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
PLIST_FILES= bin/${PORTNAME} \
share/java/cbviewer/CBViewer.jar \
share/pixmaps/${PORTNAME}.png
PLIST_DIRSTRY= share/java/cbviewer
PORTDOCS= CREDITS
OPTIONS_DEFINE= DOCS
SUB_FILES= ${PORTNAME}
DESKTOP_ENTRIES="CBViewer" "Comic book viewer" "${PORTNAME}" \
"${PORTNAME}" "Graphics;Viewer;Java;" ""
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/
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>