openbsd-ports/net/cnupm/Makefile
naddy dbfd750590 Cope with bsd.man.mk changes and install source man pages.
While here, also update some PLISTs, fix PREFIX use, etc.
ok landry@
2011-06-23 22:50:26 +00:00

36 lines
649 B
Makefile

# $OpenBSD: Makefile,v 1.16 2011/06/23 22:50:28 naddy Exp $
COMMENT= IPv4/IPv6 traffic collector
DISTNAME= cnupm-3.11
REVISION= 2
CATEGORIES= net
HOMEPAGE= http://pdp-11.org.ru/~form/cnupm
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= 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>