2004-01-06 23:37:03 +00:00
|
|
|
# New ports collection makefile for: icpld
|
|
|
|
# Date created: 04.01.2004
|
|
|
|
# Whom: krion@FreeBSD.org
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= icpld
|
2008-07-29 09:22:03 +00:00
|
|
|
PORTVERSION= 1.1.5
|
2006-05-09 16:36:40 +00:00
|
|
|
CATEGORIES= net ipv6
|
2004-05-30 05:48:49 +00:00
|
|
|
MASTER_SITES= http://www.ibiblio.org/icpld/download/ \
|
2006-05-09 16:36:40 +00:00
|
|
|
http://freebsd.unixfreunde.de/sources/
|
2004-01-06 23:37:03 +00:00
|
|
|
|
2006-06-16 22:17:25 +00:00
|
|
|
MAINTAINER= miwi@FreeBSD.org
|
2004-01-06 23:37:03 +00:00
|
|
|
COMMENT= Internet connection performance logging daemon
|
|
|
|
|
|
|
|
USE_BZIP2= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2009-03-26 14:59:17 +00:00
|
|
|
MAKE_JOBS_SAFE= yes
|
2004-01-06 23:37:03 +00:00
|
|
|
|
|
|
|
MAN1= ${PORTNAME}.1
|
|
|
|
|
2004-03-20 18:00:04 +00:00
|
|
|
PORTDOCS= README
|
|
|
|
PLIST_FILES= bin/icpld etc/icpld.conf.sample etc/rc.d/icpld.sh.sample
|
|
|
|
|
2006-05-09 16:36:40 +00:00
|
|
|
OPTIONS= IPV6 "IPv6 internet support" off \
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if defined(WITH_IPV6)
|
|
|
|
CONFIGURE_ARGS+= --enable-ipv6
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-ipv6
|
|
|
|
.endif
|
|
|
|
|
2004-01-06 23:37:03 +00:00
|
|
|
do-install:
|
2007-08-04 11:41:30 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin
|
2004-01-06 23:37:03 +00:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.1 ${MANPREFIX}/man/man1
|
2007-08-04 11:41:30 +00:00
|
|
|
@${ECHO_MSG} '===> Installing ${PREFIX}/etc/icpld.conf.sample file.'
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/icpld.conf.sample ${PREFIX}/etc
|
|
|
|
@${ECHO_MSG} '===> Installing ${PREFIX}/etc/rc.d/icpld.sh.sample'
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/contrib/icpld.sh.sample ${PREFIX}/etc/rc.d
|
2004-01-06 23:37:03 +00:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
2006-05-09 16:36:40 +00:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
2004-01-06 23:37:03 +00:00
|
|
|
.for i in README
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
2006-05-09 16:36:40 +00:00
|
|
|
.include <bsd.port.post.mk>
|