blob: e7cbccf31b6c137ee1d1c60eea2d007f987959a5 (
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.13 2019/11/04 21:12:55 rillig 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"
|