pkgsrc/net/cia/Makefile

28 lines
773 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.15 2012/10/23 17:18:14 asau Exp $
DISTNAME= cia-20030922
CATEGORIES= net
2006-08-24 12:13:03 +02:00
MASTER_SITES= http://scheler.de/~matthias/files/
EXTRACT_SUFX= .tar.bz2
2008-05-25 22:49:39 +02:00
OWNER= tron@NetBSD.org
COMMENT= Simple IP accounting software
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}
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}
2005-11-08 16:36:06 +01:00
.include "../../net/libpcap/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"