From 691e1551822a9ebb299da7a987d69e7bc389c996 Mon Sep 17 00:00:00 2001 From: mezz Date: Sat, 29 Jan 2005 21:44:50 +0000 Subject: - Early ready for the future Perl change. s|#!/usr/bin/perl|#!/usr/bin/env perl|g - Add perl5 in CATEGORIES. - Bump PORTREVISION. --- graphics/cbview/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'graphics/cbview') diff --git a/graphics/cbview/Makefile b/graphics/cbview/Makefile index 9bb005a..a33cb86 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) -- cgit v1.1