aboutsummaryrefslogtreecommitdiffstats
path: root/security/snort-rep
diff options
context:
space:
mode:
authoraz <az@FreeBSD.org>2013-07-26 18:46:37 +0800
committeraz <az@FreeBSD.org>2013-07-26 18:46:37 +0800
commit425a912423003f8cf48eb9dc516a4d77b8a20cf2 (patch)
tree4e432cd7adf68b48f6abe895819485849ed8f886 /security/snort-rep
parent1079766f17b5d6a4c7cf98bd67a211c4e64e0017 (diff)
downloadfreebsd-ports-gnome-425a912423003f8cf48eb9dc516a4d77b8a20cf2.tar.gz
freebsd-ports-gnome-425a912423003f8cf48eb9dc516a4d77b8a20cf2.tar.zst
freebsd-ports-gnome-425a912423003f8cf48eb9dc516a4d77b8a20cf2.zip
- switch simple inline replacement from perl to sed
and remove where is no need in this anymore. - trim Makefile header Approved by: bapt@ (portmrg@)
Diffstat (limited to 'security/snort-rep')
-rw-r--r--security/snort-rep/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/security/snort-rep/Makefile b/security/snort-rep/Makefile
index 69946f4f2c64..2cf38d4c0019 100644
--- a/security/snort-rep/Makefile
+++ b/security/snort-rep/Makefile
@@ -12,10 +12,8 @@ COMMENT= A Snort reporting tool that can produce text or HTML from logs
USE_PERL5= yes
MAN1= snort-rep.1
-
-post-patch:
- @${PERL} -pi -e "s|#!/usr/bin/perl|#!${PERL}|" \
- ${WRKSRC}/snort-rep ${WRKSRC}/snort-rep-mail
+USES= shebangfix
+SHEBANG_FILES= snort-rep snort-rep-mail
do-build:
cd ${BUILD_WRKSRC} ; pod2man --lax snort-rep > snort-rep.1