1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/net-mgmt/ipcad/Makefile
Vanilla I. Shu cc0a21ce81 1: Stagify.
2: use @sample on pkg-plist, bump version.

Approved by:	portmgr@
2014-06-20 09:31:33 +00:00

30 lines
813 B
Makefile

# Created by: Lev Walkin <vlm@lionet.info>
# $FreeBSD$
PORTNAME= ipcad
PORTVERSION= 3.7.3
PORTREVISION= 2
CATEGORIES= net-mgmt
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} \
http://ipcad.sourceforge.net/ \
http://lionet.info/soft/
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
post-patch:
@${REINPLACE_CMD} -e 's|-pthread|${PTHREAD_LIBS}|g ; \
s|/usr/local|${PREFIX}|g; s|pthread_detach|pthread_create|g'\
${WRKSRC}/configure
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/ipcad
${INSTALL_MAN} ${WRKSRC}/ipcad.8 ${STAGEDIR}${MANPREFIX}/man/man8
${INSTALL_MAN} ${WRKSRC}/ipcad.conf.5 ${STAGEDIR}${MANPREFIX}/man/man5
.include <bsd.port.mk>