aboutsummaryrefslogtreecommitdiff
path: root/security/sniff
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2009-07-14 07:13:29 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2009-07-14 07:13:29 +0000
commit928b99dfab2c9ba8a99f3e9fc46e0e64f28dea3a (patch)
tree8a37a336d69d12d8a9a48c7e762d55db3d793bbf /security/sniff
parent79e834f92a7b74b4b8d9068c5ce346b1a248b695 (diff)
downloadports-928b99dfab2c9ba8a99f3e9fc46e0e64f28dea3a.tar.gz
ports-928b99dfab2c9ba8a99f3e9fc46e0e64f28dea3a.zip
- Fix build with custom PREFIX
while here some minor cleanups Reported by: QATty
Notes
Notes: svn path=/head/; revision=237761
Diffstat (limited to 'security/sniff')
-rw-r--r--security/sniff/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/security/sniff/Makefile b/security/sniff/Makefile
index 455676fd6af9..5e60882a549b 100644
--- a/security/sniff/Makefile
+++ b/security/sniff/Makefile
@@ -8,19 +8,19 @@
PORTNAME= sniff
PORTVERSION= 1.0
CATEGORIES= security
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= fenner
+MASTER_SITES= LOCAL/fenner
MAINTAINER= ports@FreeBSD.org
COMMENT= Program to sniff logins and passwords
MAN1= sniff.1
-PLIST_FILES= sbin/sniff
+
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= configure
+PLIST_FILES= sbin/sniff
+
post-patch:
- @${REINPLACE_CMD} -e 's|PREFIX=|PREFIX?=|g' \
- ${WRKSRC}/Makefile.in
+ @${REINPLACE_CMD} -e 's|PREFIX=/usr/local|PREFIX=${PREFIX}|g' ${WRKSRC}/Makefile.in
.include <bsd.port.mk>