openbsd-ports/net/cnupm/Makefile
2013-03-11 11:35:43 +00:00

33 lines
571 B
Makefile

# $OpenBSD: Makefile,v 1.18 2013/03/11 11:35:45 espie Exp $
COMMENT= IPv4/IPv6 traffic collector
DISTNAME= cnupm-3.11
REVISION= 3
CATEGORIES= net
HOMEPAGE= http://pdp-11.org.ru/~form/cnupm
# BSD
PERMIT_PACKAGE_CDROM= Yes
MASTER_SITES= ${HOMEPAGE}/files/
MAKE_ENV= BINDIR=${TRUEPREFIX}/sbin MANDIR=${TRUEPREFIX}/man/man
CFLAGS+= -DCNUPM_USER=\"_cnupm\"
FLAVORS= static
FLAVOR?=
.if ${FLAVOR:Mstatic}
LDSTATIC= -static
MAKE_ENV+= LDSTATIC=${LDSTATIC}
.else
WANTLIB= c pcap
.endif
post-extract:
@rm ${WRKSRC}/include/sys/tree.h
.include <bsd.port.mk>