1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/security/sniff/Makefile
Pawel Pekala cfde8ed625 - Respect CC/CFLAGS
- Add LICENSE
- Support staging

PR:		ports/184882
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
2013-12-20 19:31:11 +00:00

31 lines
621 B
Makefile

# Created by: Rick & Samu
# $FreeBSD$
PORTNAME= sniff
PORTVERSION= 1.0
CATEGORIES= security
MASTER_SITES= LOCAL/fenner
MAINTAINER= ports@FreeBSD.org
COMMENT= Program to sniff logins and passwords
LICENSE= GPLv2
GNU_CONFIGURE= yes
PLIST_FILES= sbin/sniff man/man1/sniff.1.gz
post-patch:
@${REINPLACE_CMD} -e \
's|^CC.*|CC=@CC@| ; \
s|^CFLAGS.*|CFLAGS=@CFLAGS@| ; \
s|^PREFIX.*|PREFIX=@PREFIX@|' ${WRKSRC}/Makefile.in
do-install:
(cd ${WRKSRC} && ${INSTALL_PROGRAM} sniff \
${STAGEDIR}${PREFIX}/sbin)
(cd ${WRKSRC} && ${INSTALL_MAN} sniff.1 \
${STAGEDIR}${MANPREFIX}/man/man1)
.include <bsd.port.mk>