2007-09-15 18:36:51 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.11 2007/09/15 22:36:52 merdely Exp $
|
2004-05-13 02:52:36 -04:00
|
|
|
|
2007-09-15 18:36:51 -04:00
|
|
|
COMMENT= IPv4/IPv6 traffic collector
|
2004-05-13 02:52:36 -04:00
|
|
|
|
2006-01-06 11:39:26 -05:00
|
|
|
DISTNAME= cnupm-3.11
|
2006-09-24 15:02:46 -04:00
|
|
|
PKGNAME= ${DISTNAME}p0
|
2004-05-13 02:52:36 -04:00
|
|
|
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/cat
|
2004-12-08 04:18:14 -05:00
|
|
|
CFLAGS+= -DCNUPM_USER=\"_cnupm\"
|
2004-05-13 02:52:36 -04:00
|
|
|
|
|
|
|
FLAVORS= static
|
|
|
|
FLAVOR?=
|
|
|
|
|
|
|
|
.if ${FLAVOR:Mstatic}
|
|
|
|
LDSTATIC= -static
|
|
|
|
MAKE_ENV+= LDSTATIC=${LDSTATIC}
|
2004-12-15 19:31:20 -05:00
|
|
|
.else
|
|
|
|
WANTLIB= c pcap
|
2004-05-13 02:52:36 -04:00
|
|
|
.endif
|
|
|
|
|
2004-05-17 07:34:06 -04:00
|
|
|
post-extract:
|
|
|
|
@rm ${WRKSRC}/include/sys/tree.h
|
2004-05-13 02:52:36 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|