aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorAndrej Zverev <az@FreeBSD.org>2013-07-26 10:46:37 +0000
committerAndrej Zverev <az@FreeBSD.org>2013-07-26 10:46:37 +0000
commitb9cf42305004edcd8f6467ced5afa0861a544eff (patch)
tree4e432cd7adf68b48f6abe895819485849ed8f886 /sysutils
parentdc88faa4b21054ab85d3b4f63de8aaf08092d4e0 (diff)
- switch simple inline replacement from perl to sed
and remove where is no need in this anymore. - trim Makefile header Approved by: bapt@ (portmrg@)
Notes
Notes: svn path=/head/; revision=323711
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/colorize/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/sysutils/colorize/Makefile b/sysutils/colorize/Makefile
index 3ea83f26d52f..1796ff2aaa9d 100644
--- a/sysutils/colorize/Makefile
+++ b/sysutils/colorize/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: colorize
-# Date created: 12 June 2001
-# Whom: petef@FreeBSD.org
-#
+# Created by: petef@FreeBSD.org
# $FreeBSD$
-#
PORTNAME= colorize
PORTVERSION= 0.3.4
@@ -22,13 +18,15 @@ WRKSRC= ${WRKDIR}/${DISTNAME:S/_/-/}
NO_BUILD= yes
USE_PERL5= yes
SUB_FILES= pkg-message
+USES= shebangfix
+SHEBANG_FILES= colorize
MAN1= colorize.1
MANCOMPRESSED= yes
post-patch:
- @${PERL} -pi -e "s|/etc/colorizerc|${PREFIX}/etc/colorizerc|; \
- s|#!/usr/bin/perl|#!${PERL}|g" ${WRKSRC}/colorize
+ @${REINPLACE_CMD} -i '' -e 's|/etc/colorizerc|${PREFIX}/etc/colorizerc|' \
+ ${WRKSRC}/colorize
do-install:
@${INSTALL_SCRIPT} ${WRKSRC}/colorize ${PREFIX}/bin