2004-12-15 19:31:20 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.11 2004/12/16 00:31:22 alek Exp $
|
2002-04-28 22:45:16 -04:00
|
|
|
# $RuOBSD: Makefile,v 1.1.1.1 2002/04/08 02:46:36 form Exp $
|
|
|
|
|
|
|
|
COMMENT= "IP accounting daemon simulating Cisco ip accounting"
|
|
|
|
|
2004-03-31 02:53:08 -05:00
|
|
|
DISTNAME= ipcad-3.4.4
|
2002-04-28 22:45:16 -04:00
|
|
|
CATEGORIES= net
|
2004-03-31 02:53:08 -05:00
|
|
|
HOMEPAGE= http://sourceforge.net/projects/ipcad/
|
2002-08-02 12:22:39 -04:00
|
|
|
|
2002-12-22 19:03:57 -05:00
|
|
|
MAINTAINER= Alexander Yurchenko <grange@openbsd.org>
|
2002-04-28 22:45:16 -04:00
|
|
|
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-12-15 19:31:20 -05:00
|
|
|
WANTLIB= c pcap pthread
|
2002-04-28 22:45:16 -04:00
|
|
|
|
2004-03-31 02:53:08 -05:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ipcad/}
|
2002-04-28 22:45:16 -04:00
|
|
|
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
|
2002-10-27 20:38:44 -05:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2002-04-28 22:45:16 -04:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/ipcad ${PREFIX}/sbin
|
|
|
|
${INSTALL_MAN} ${WRKBUILD}/ipcad.8 ${PREFIX}/man/man8
|
|
|
|
${INSTALL_MAN} ${WRKBUILD}/ipcad.conf.5 ${PREFIX}/man/man5
|
2002-08-02 12:22:39 -04:00
|
|
|
perl -pi -e 's:%%SYSCONFDIR%%:${SYSCONFDIR}:' \
|
|
|
|
${PREFIX}/man/man5/ipcad.conf.5
|
2002-04-28 22:45:16 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ipcad
|
|
|
|
${INSTALL_DATA} ${WRKDIST}/ipcad.conf \
|
|
|
|
${PREFIX}/share/examples/ipcad/ipcad.conf.sample
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ipcad
|
2004-03-31 02:53:08 -05:00
|
|
|
.for f in AUTHORS BUGS COPYING README
|
2002-04-28 22:45:16 -04:00
|
|
|
${INSTALL_DATA} ${WRKDIST}/${f} ${PREFIX}/share/doc/ipcad
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|