241b722760
Add $OpenBSD$ to p5-SNMP-Info/Makefile (ok kili@, simon@)
40 lines
1020 B
Makefile
40 lines
1020 B
Makefile
# $OpenBSD: Makefile,v 1.14 2007/09/15 22:36:52 merdely Exp $
|
|
|
|
COMMENT= active packet sniffer
|
|
|
|
DISTNAME= angst-0.4b
|
|
PKGNAME= ${DISTNAME}p0
|
|
CATEGORIES= net
|
|
|
|
HOMEPAGE= http://angst.sourceforge.net/
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=angst/} \
|
|
${MASTER_SITE_PACKETSTORM:=sniffers/angst/}
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
WANTLIB= c pcap
|
|
|
|
LIB_DEPENDS= lib/libnet-1.0/net.=0:libnet-1.0*:net/libnet/1.0
|
|
|
|
ALL_TARGET= angst
|
|
|
|
MAKE_FLAGS= CC="${CC}" CFLAGS="${CFLAGS}" \
|
|
DEFINE="`libnet-config-1.0 --defines`" \
|
|
INCLUDE="-I${LOCALBASE}/include/libnet-1.0" \
|
|
LIBS="`libnet-config-1.0 --libs` -lpcap"
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/angst ${PREFIX}/sbin
|
|
${INSTALL_MAN} ${WRKSRC}/angst.8 ${PREFIX}/man/man8/angst.8
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/angst
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/angst
|
|
${INSTALL_DATA} ${WRKSRC}/ChangeLog ${PREFIX}/share/doc/angst
|
|
|
|
.include <bsd.port.mk>
|