freebsd-ports/graphics/cbview/Makefile

40 lines
900 B
Makefile
Raw Normal View History

# Created by: Mezz <mezz@FreeBSD.org>
# $FreeBSD$
PORTNAME= cbview
PORTVERSION= 0.06
PORTREVISION= 8
CATEGORIES= graphics perl5
MASTER_SITES= http://www.sourcefiles.org/Toys/Humor/
MAINTAINER= nemysis@FreeBSD.org
COMMENT= Viewer/converter for CBR/CBZ comic book archives
LICENSE= GPLv2
RUN_DEPENDS= unrar:${PORTSDIR}/archivers/unrar \
unzip:${PORTSDIR}/archivers/unzip \
2012-06-28 20:37:23 +02:00
p5-Gtk2>=0:${PORTSDIR}/x11-toolkits/p5-Gtk2 \
p5-String-ShellQuote>=0:${PORTSDIR}/textproc/p5-String-ShellQuote
NO_BUILD= yes
USES= perl5
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= Changes README TODO
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|/usr/bin/perl -w|${PERL}|' \
${WRKSRC}/${PORTNAME}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>