diff options
author | pawel <pawel@FreeBSD.org> | 2012-12-04 02:25:14 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2012-12-04 02:25:14 +0800 |
commit | a39090b688a59d94f9efdf040e11f0814584ec92 (patch) | |
tree | 83fd98619f303b4a66fe0e1d4f56d49c702b909b /graphics | |
parent | 2922fefe97a6b1a6038bd4586100de29ca66bcde (diff) | |
download | freebsd-ports-gnome-a39090b688a59d94f9efdf040e11f0814584ec92.tar.gz freebsd-ports-gnome-a39090b688a59d94f9efdf040e11f0814584ec92.tar.zst freebsd-ports-gnome-a39090b688a59d94f9efdf040e11f0814584ec92.zip |
- Remove article from COMMENT
- Add LICENSE, WWW
- Respect DOCS option
- Take maintainership
PR: ports/173293
Submitted by: nemysis <nemysis@gmx.ch>
Feature safe: yes
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/cbview/Makefile | 24 | ||||
-rw-r--r-- | graphics/cbview/pkg-descr | 2 |
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/ |