summaryrefslogtreecommitdiff
path: root/security/snort-rep/Makefile
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 /security/snort-rep/Makefile
parentFix build with recent binutils (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@)
Diffstat (limited to 'security/snort-rep/Makefile')
-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