mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
ea73838b76
Submitted by: sat@cenkes.org
51 lines
1.4 KiB
Makefile
51 lines
1.4 KiB
Makefile
# New ports collection makefile for: sixxs-aiccu
|
|
# Date created: 2004-09-07
|
|
# Whom: Meno Abels <meno.abels@adviser.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= aiccu
|
|
PORTVERSION= 20070115
|
|
CATEGORIES= net ipv6
|
|
MASTER_SITES= http://noc.sixxs.net/archive/sixxs/aiccu/unix/
|
|
PKGNAMEPREFIX= sixxs-
|
|
DISTNAME= aiccu_20070115
|
|
|
|
MAINTAINER= dinoex@FreeBSD.org
|
|
COMMENT= SixXS IPv6 TIC+ tunnel broker heartbeat client
|
|
|
|
USE_RC_SUBR= sixxs-aiccu
|
|
USE_GMAKE= yes
|
|
|
|
CFLAGS+= ${PTHREAD_CFLAGS} -D_REENTRANT
|
|
LDFLAGS+= ${PTHREAD_LIBS}
|
|
MAKE_ARGS+= CC="${CC}" LDFLAGS="${LDFLAGS}"
|
|
WRKSRC= ${WRKDIR}/aiccu
|
|
BUILD_WRKSRC= ${WRKDIR}/aiccu/unix-console
|
|
|
|
PORTDOCS= README
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} \
|
|
-e 's:verbose true:verbose false:' \
|
|
-e 's:daemonize false:daemonize true:' \
|
|
-e 's:automatic false:automatic true:' \
|
|
-e 's:tunnel_id T2995:#tunnel_id TXXXX:' \
|
|
-e 's:ipv4_interface eth0:ipv4_interface sis0:' \
|
|
-e 's:ipv6_interface sixxs:ipv6_interface gif0:' \
|
|
${WRKSRC}/doc/aiccu.conf
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
do-install:
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_PROGRAM} ${WRKSRC}/unix-console/aiccu ${PREFIX}/sbin/sixxs-aiccu
|
|
${INSTALL_DATA} ${WRKSRC}/doc/README ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/doc/aiccu.conf ${PREFIX}/etc/aiccu.conf.sample
|
|
.if !exists(${PREFIX}/etc/aiccu.conf)
|
|
${INSTALL_DATA} ${WRKSRC}/doc/aiccu.conf ${PREFIX}/etc/aiccu.conf
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|