svn commit: r308163 - head/graphics/cbview
Pawel Pekala
pawel at FreeBSD.org
Mon Dec 3 18:25:15 UTC 2012
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 at 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 at FreeBSD.org
-COMMENT= A viewer/converter for CBR/CBZ comic book archives
+MAINTAINER= nemysis at 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/
More information about the svn-ports-head
mailing list