2001-04-17 20:06:49 +02:00
|
|
|
# New ports collection makefile for: ipcad
|
|
|
|
# Date created: 15 April 2001
|
2005-11-22 00:14:48 +01:00
|
|
|
# Whom: Lev Walkin <vlm@lionet.info>
|
2001-04-17 20:06:49 +02:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= ipcad
|
2007-04-23 05:16:13 +02:00
|
|
|
PORTVERSION= 3.7.3
|
2006-02-20 03:48:34 +01:00
|
|
|
PORTREVISION= 1
|
2004-02-23 05:42:13 +01:00
|
|
|
CATEGORIES= net-mgmt
|
2009-08-22 04:23:49 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} \
|
|
|
|
http://ipcad.sourceforge.net/ \
|
2004-08-07 08:54:09 +02:00
|
|
|
http://lionet.info/soft/
|
2009-08-22 02:32:25 +02:00
|
|
|
|
2004-04-06 13:56:39 +02:00
|
|
|
MAINTAINER= vlm@lionet.info
|
2007-04-23 05:16:13 +02:00
|
|
|
COMMENT= IP accounting daemon with Cisco-like RSH and NetFlow export
|
2001-04-17 20:06:49 +02:00
|
|
|
|
2006-02-20 03:48:34 +01:00
|
|
|
USE_RC_SUBR= ipcad
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
|
|
|
|
2001-05-24 16:34:55 +02:00
|
|
|
MANCOMPRESSED= no
|
2006-02-20 03:48:34 +01:00
|
|
|
MAN5= ipcad.conf.5
|
|
|
|
MAN8= ipcad.8
|
2004-04-06 13:56:39 +02:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|-pthread|${PTHREAD_LIBS}|g ; \
|
2008-03-26 19:03:41 +01:00
|
|
|
s|/usr/local|${PREFIX}|g; s|pthread_detach|pthread_create|g'\
|
|
|
|
${WRKSRC}/configure
|
2001-05-24 16:34:55 +02:00
|
|
|
|
2001-04-17 20:06:49 +02:00
|
|
|
post-install:
|
2003-04-12 20:56:16 +02:00
|
|
|
@${STRIP_CMD} ${PREFIX}/bin/ipcad
|
2006-02-20 03:48:34 +01:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/ipcad.8 ${MANPREFIX}/man/man8
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/ipcad.conf.5 ${MANPREFIX}/man/man5
|
2003-04-12 20:56:16 +02:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
2001-04-17 20:06:49 +02:00
|
|
|
|
2008-03-26 19:03:41 +01:00
|
|
|
.include <bsd.port.mk>
|