openbsd-ports/net/ipcad/Makefile
sthen 91faa22c52 Where a program with an rc script _requires_ a certain command line
parameter to daemonize, move the parameter from daemon to daemon_flags,
so that the user cannot inadvertently prevent it from daemonizing by
adjusting the flags.

Discussed with ajacoutot and schwarze, this method was suggested
by schwarze@ as a simpler alternative to my diff. ok aja@
2011-12-17 22:01:12 +00:00

40 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.19 2011/12/17 22:01:13 sthen Exp $
# $RuOBSD: Makefile,v 1.1.1.1 2002/04/08 02:46:36 form Exp $
COMMENT= IP accounting daemon simulating Cisco ip accounting
DISTNAME= ipcad-3.7.3
REVISION= 0
CATEGORIES= net
HOMEPAGE= http://sourceforge.net/projects/ipcad/
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c pcap pthread
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ipcad/}
CONFIGURE_STYLE= gnu
USE_GROFF= Yes
NO_REGRESS= Yes
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
perl -pi -e 's:%%SYSCONFDIR%%:${SYSCONFDIR}:' \
${PREFIX}/man/man5/ipcad.conf.5
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ipcad
${INSTALL_DATA} ${WRKDIST}/ipcad.conf.default \
${PREFIX}/share/examples/ipcad/ipcad.conf.default
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ipcad
.for f in AUTHORS BUGS COPYING README
${INSTALL_DATA} ${WRKDIST}/${f} ${PREFIX}/share/doc/ipcad
.endfor
.include <bsd.port.mk>