From a39090b688a59d94f9efdf040e11f0814584ec92 Mon Sep 17 00:00:00 2001 From: pawel Date: Mon, 3 Dec 2012 18:25:14 +0000 Subject: - Remove article from COMMENT - Add LICENSE, WWW - Respect DOCS option - Take maintainership PR: ports/173293 Submitted by: nemysis Feature safe: yes --- graphics/cbview/Makefile | 24 ++++++++++++++---------- graphics/cbview/pkg-descr | 2 ++ 2 files changed, 16 insertions(+), 10 deletions(-) (limited to 'graphics') 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 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 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/ -- cgit