2015-10-11 12:56:43 +02:00
|
|
|
# $NetBSD: Makefile,v 1.18 2015/10/11 10:56:43 tron Exp $
|
2000-07-16 19:14:38 +02:00
|
|
|
|
2003-09-22 13:27:58 +02:00
|
|
|
DISTNAME= cia-20030922
|
2013-02-06 20:30:54 +01:00
|
|
|
PKGREVISION= 1
|
2000-07-16 19:14:38 +02:00
|
|
|
CATEGORIES= net
|
2015-06-07 13:06:43 +02:00
|
|
|
MASTER_SITES= https://zhadum.org.uk/~tron/files/
|
2000-07-16 19:14:38 +02:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
2015-10-11 12:56:43 +02:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2003-07-21 19:10:16 +02:00
|
|
|
COMMENT= Simple IP accounting software
|
2000-07-16 19:14:38 +02:00
|
|
|
|
|
|
|
DOC_DIR= ${PREFIX}/share/doc/cia
|
|
|
|
EXAMPLES_DIR= ${PREFIX}/share/examples/cia
|
2010-02-11 21:27:45 +01:00
|
|
|
|
2012-03-08 11:35:24 +01:00
|
|
|
CFLAGS.SunOS+= -DETHERTYPE_PPPOE=ETHERTYPE_PPPOES
|
|
|
|
CFLAGS.SunOS+= -Du_int64_t=uint64_t -Du_int32_t=uint32_t
|
|
|
|
CFLAGS.SunOS+= -Du_int16_t=uint16_t -Du_int8_t=uint8_t
|
|
|
|
|
2010-02-11 21:27:45 +01:00
|
|
|
USE_BSD_MAKEFILE= yes
|
|
|
|
|
|
|
|
INSTALLATION_DIRS+= bin ${DOC_DIR} ${EXAMPLES_DIR}
|
2000-07-16 19:14:38 +02:00
|
|
|
|
|
|
|
post-install:
|
2010-02-11 21:27:45 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/README ${DESTDIR}${DOC_DIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/ipstat/examples/*.cfg ${DESTDIR}${EXAMPLES_DIR}
|
2000-07-16 19:14:38 +02:00
|
|
|
|
2005-11-08 16:36:06 +01:00
|
|
|
.include "../../net/libpcap/buildlink3.mk"
|
2000-07-16 19:14:38 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|