pkgsrc/net/cia/Makefile
2012-03-08 10:35:24 +00:00

29 lines
808 B
Makefile

# $NetBSD: Makefile,v 1.14 2012/03/08 10:35:24 hans Exp $
DISTNAME= cia-20030922
CATEGORIES= net
MASTER_SITES= http://scheler.de/~matthias/files/
EXTRACT_SUFX= .tar.bz2
OWNER= tron@NetBSD.org
COMMENT= Simple IP accounting software
PKG_DESTDIR_SUPPORT= user-destdir
DOC_DIR= ${PREFIX}/share/doc/cia
EXAMPLES_DIR= ${PREFIX}/share/examples/cia
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
USE_BSD_MAKEFILE= yes
INSTALLATION_DIRS+= bin ${DOC_DIR} ${EXAMPLES_DIR}
post-install:
${INSTALL_DATA} ${WRKSRC}/doc/README ${DESTDIR}${DOC_DIR}
${INSTALL_DATA} ${WRKSRC}/ipstat/examples/*.cfg ${DESTDIR}${EXAMPLES_DIR}
.include "../../net/libpcap/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"