36 lines
691 B
Makefile
36 lines
691 B
Makefile
# $OpenBSD: Makefile,v 1.6 2004/12/16 00:31:20 alek Exp $
|
|
|
|
COMMENT= "IPv4/IPv6 traffic collector"
|
|
|
|
DISTNAME= cnupm-3.7.1
|
|
CATEGORIES= net
|
|
|
|
HOMEPAGE= http://pdp-11.org.ru/~form/cnupm
|
|
MAINTAINER= Alexander Yurchenko <grange@openbsd.org>
|
|
|
|
# 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
|
|
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>
|