Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Dec 2012 18:25:15 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r308163 - head/graphics/cbview
Message-ID:  <201212031825.qB3IPFpg002538@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Mon Dec  3 18:25:14 2012
New Revision: 308163
URL: http://svnweb.freebsd.org/changeset/ports/308163

Log:
  - Remove article from COMMENT
  - Add LICENSE, WWW
  - Respect DOCS option
  - Take maintainership
  
  PR:		ports/173293
  Submitted by:	nemysis <nemysis@gmx.ch>
  Feature safe:	yes

Modified:
  head/graphics/cbview/Makefile
  head/graphics/cbview/pkg-descr

Modified: head/graphics/cbview/Makefile
==============================================================================
--- head/graphics/cbview/Makefile	Mon Dec  3 17:39:39 2012	(r308162)
+++ head/graphics/cbview/Makefile	Mon Dec  3 18:25:14 2012	(r308163)
@@ -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>

Modified: head/graphics/cbview/pkg-descr
==============================================================================
--- head/graphics/cbview/pkg-descr	Mon Dec  3 17:39:39 2012	(r308162)
+++ head/graphics/cbview/pkg-descr	Mon Dec  3 18:25:14 2012	(r308163)
@@ -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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212031825.qB3IPFpg002538>