Revert "debug; set -x to config"
[aiccu.git] / freebsd / Makefile
blob31f729934413d1da86937e01c6f2be53b65b1484
1 # New ports collection makefile for: sixxs-aiccu
2 # Date created: 2004-09-09
3 # Initial FreeBSD port by: Meno Abels <meno.abels@adviser.com>
4 # Comments for this port please to the SixXS staff <info@sixxs.net>
6 ## $FreeBSD: /repoman/r/pcvs/ports/net/sixxs-aiccu/Makefile,v 1.1 2005/03/14 17:47:07 vs Exp $
9 #PORTNAME= sixxs-aiccu
10 PORTVERSION= 20070107
11 CATEGORIES= net ipv6
12 MASTER_SITES= http://www.sixxs.net/archive/sixxs/aiccu/unix/
13 DISTNAME= aiccu_20070107
15 # Maintainer of the FreeBSD port, but always copy: info@sixxs.net
16 MAINTAINER= meno.abels@adviser.com
17 COMMENT= IPv6 Tunnel Broker client capable of configuring using TIC, static, AYIYA and heartbeat tunnels
19 USE_RC_SUBR= sixxs-aiccu
20 USE_GMAKE= yes
21 CFLAGS+= ${PTHREAD_CFLAGS}
22 LDFLAGS+= ${PTHREAD_LIBS}
23 MAKE_ARGS= CC="${CC}"
24 MAKE_ENV= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
25 WRKSRC= ${WRKDIR}/aiccu
26 BUILD_WRKSRC= ${WRKDIR}/aiccu/unix-console
28 PORTDOCS= README
30 # FreeBSD doesn't use named interfaces, thus default to gif0
31 pre-build:
32 @${SED} \
33 -e 's:ipv6_interface sixxs:ipv6_interface gif0:' \
34 ${WRKSRC}/doc/aiccu.conf > ${WRKDIR}/aiccu.conf
36 do-install:
37 @${MKDIR} ${DOCSDIR} ${EXAMPLESDIR}
38 ${INSTALL_PROGRAM} ${WRKSRC}/unix-console/aiccu ${PREFIX}/sbin/sixxs-aiccu
39 ${INSTALL_DATA} ${WRKSRC}/doc/README ${DOCSDIR}
40 ${INSTALL_DATA} ${WRKSRC}/doc/LICENSE ${DOCSDIR}
41 ${INSTALL_DATA} ${WRKSRC}/doc/aiccu.conf ${EXAMPLESDIR}
42 ${INSTALL_DATA} ${WRKDIR}/aiccu.conf ${PREFIX}/etc/aiccu.conf.sample
44 .include <bsd.port.mk>