2012-01-26 03:03:56 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.17 2012/01/26 08:03:57 ajacoutot 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
|
2012-01-26 03:03:56 -05:00
|
|
|
REVISION= 3
|
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/
|
|
|
|
|
2011-06-23 18:50:26 -04:00
|
|
|
MAKE_ENV= BINDIR=${TRUEPREFIX}/sbin MANDIR=${TRUEPREFIX}/man/man
|
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>
|