aboutsummaryrefslogtreecommitdiff
path: root/graphics/cbview
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2012-12-03 18:25:14 +0000
committerPawel Pekala <pawel@FreeBSD.org>2012-12-03 18:25:14 +0000
commitbab1e242b1f66403763c3c3dd51ad3a01fb800ac (patch)
tree83fd98619f303b4a66fe0e1d4f56d49c702b909b /graphics/cbview
parentdd746f7ead4d78c64a64b4ff7670aaca72af53a5 (diff)
downloadports-bab1e242b1f66403763c3c3dd51ad3a01fb800ac.tar.gz
ports-bab1e242b1f66403763c3c3dd51ad3a01fb800ac.zip
Notes
Diffstat (limited to 'graphics/cbview')
-rw-r--r--graphics/cbview/Makefile24
-rw-r--r--graphics/cbview/pkg-descr2
2 files changed, 16 insertions, 10 deletions
diff --git a/graphics/cbview/Makefile b/graphics/cbview/Makefile
index 14720b3fe948..03ff622e1dde 100644
--- a/graphics/cbview/Makefile
+++ b/graphics/cbview/Makefile
@@ -11,8 +11,10 @@ PORTREVISION= 8
CATEGORIES= graphics perl5
MASTER_SITES= http://www.sourcefiles.org/Toys/Humor/
-MAINTAINER= ports@FreeBSD.org
-COMMENT= A viewer/converter for CBR/CBZ comic book archives
+MAINTAINER= nemysis@gmx.ch
+COMMENT= Viewer/converter for CBR/CBZ comic book archives
+
+LICENSE= GPLv2
RUN_DEPENDS= unrar:${PORTSDIR}/archivers/unrar \
unzip:${PORTSDIR}/archivers/unzip \
@@ -23,19 +25,21 @@ NO_BUILD= yes
USE_PERL5= yes
PLIST_FILES= bin/${PORTNAME}
-PORTDOCS= COPYING Changes INSTALL README TODO
+
+PORTDOCS= Changes README TODO
+
+.include <bsd.port.options.mk>
post-patch:
- @${REINPLACE_CMD} -e 's|perl -w|env perl|g' \
+ @${REINPLACE_CMD} -e 's|/usr/bin/perl -w|${PERL}|' \
${WRKSRC}/${PORTNAME}
do-install:
- @${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
-.ifndef (NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
-.for i in ${PORTDOCS}
- @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
-.endfor
+ ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
+
+.if ${PORT_OPTIONS:MDOCS}
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/graphics/cbview/pkg-descr b/graphics/cbview/pkg-descr
index 95e2aefea02d..2b4cb3018041 100644
--- a/graphics/cbview/pkg-descr
+++ b/graphics/cbview/pkg-descr
@@ -1,2 +1,4 @@
CBView is a viewer/converter for CBR/CBZ comic book archives, written with
gtk2-perl.
+
+WWW: http://www.sourcefiles.org/Toys/Humor/