blob: 2de517bdadcfd6e0f7a6378cd39c56f39f32e5c9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# $NetBSD: Makefile,v 1.12 2016/09/19 13:22:21 wiedi Exp $
#
DISTNAME= NeTraMet44
PKGNAME= netramet-4.4.20
PKGREVISION= 1
CATEGORIES= security net
MASTER_SITES= # http://foobar.cit.buffalo.edu/nms/NeTraMet/
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= NEtwork TRaffic METer
#LICENSE= GNU EMACS GENERAL PUBLIC LICENSE
MAKE_JOBS_SAFE= no
GNU_CONFIGURE= YES
CONFIGURE_ARGS+=--without-x
MAKE_ENV+= PCAP_LIB=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.libpcap}/lib
INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX}
.include "../../net/libpcap/buildlink3.mk"
CFLAGS.SunOS+= -Du_int64_t=uint64_t
post-patch:
for i in `${FIND} ${WRKSRC} -name Makefile.in -print`; do \
${SED} "s,CFLAGS=,CFLAGS+=,g" $$i > $$i.done; \
${MV} $$i.done $$i; \
done
.include "../../net/libpcap/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|