mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
46f05bb88c
PR: 111998 Submitted by: Lev Walkin <vlm AT lionet.info> (maintainer) Approved by: clsung (mentor)
45 lines
1015 B
Makefile
45 lines
1015 B
Makefile
# New ports collection makefile for: ipcad
|
|
# Date created: 15 April 2001
|
|
# Whom: Lev Walkin <vlm@lionet.info>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= ipcad
|
|
PORTVERSION= 3.7.3
|
|
PORTREVISION= 1
|
|
CATEGORIES= net-mgmt
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
|
http://ipcad.sourceforge.net/ \
|
|
http://lionet.info/soft/
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= vlm@lionet.info
|
|
COMMENT= IP accounting daemon with Cisco-like RSH and NetFlow export
|
|
|
|
USE_RC_SUBR= ipcad
|
|
SUB_FILES= pkg-message
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
|
|
|
MANCOMPRESSED= no
|
|
MAN5= ipcad.conf.5
|
|
MAN8= ipcad.8
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} >= 700015
|
|
BROKEN= Does not compile on FreeBSD >= 7.0
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|-pthread|${PTHREAD_LIBS}|g ; \
|
|
s|/usr/local|${PREFIX}|g' ${WRKSRC}/configure
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${PREFIX}/bin/ipcad
|
|
${INSTALL_MAN} ${WRKSRC}/ipcad.8 ${MANPREFIX}/man/man8
|
|
${INSTALL_MAN} ${WRKSRC}/ipcad.conf.5 ${MANPREFIX}/man/man5
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.post.mk>
|