aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--graphics/cbview/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/graphics/cbview/Makefile b/graphics/cbview/Makefile
index 9bb005a70da3..a33cb863e66a 100644
--- a/graphics/cbview/Makefile
+++ b/graphics/cbview/Makefile
@@ -7,8 +7,8 @@
PORTNAME= cbview
PORTVERSION= 0.06
-PORTREVISION= 1
-CATEGORIES= graphics
+PORTREVISION= 2
+CATEGORIES= graphics perl5
MASTER_SITES= http://elvine.org/code/cbview/
MAINTAINER= mezz@FreeBSD.org
@@ -21,10 +21,15 @@ RUN_DEPENDS= unrar:${PORTSDIR}/archivers/unrar \
NO_BUILD= yes
USE_X_PREFIX= yes
+USE_REINPLACE= yes
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= COPYING Changes INSTALL README TODO
+post-patch:
+ @${REINPLACE_CMD} -e 's|perl -w|env perl -w|g' \
+ ${WRKSRC}/${PORTNAME}
+
do-install:
@${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
.ifndef (NOPORTDOCS)