1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00
freebsd-ports/net/sixxs-aiccu/Makefile
Tijl Coosemans 3ab1b8443e - Replace security/gnutls with security/gnutls3 and update to 3.2.15
- Bump PORTREVISION on all ports that depend on security/gnutls and
  adjust all ports that depend on security/gnutls3
- Update mail/anubis to version 4.2 which supports gnutls 3.x
- Update mail/libvmime to a development snapshot (recommended by upstream
  developers)

PR:		191274
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2014-07-23 09:54:02 +00:00

59 lines
1.6 KiB
Makefile

# Created by: Meno Abels <meno.abels@adviser.com>
# $FreeBSD$
PORTNAME= aiccu
PORTVERSION= 20070115
PORTREVISION= 4
CATEGORIES= net ipv6
MASTER_SITES= http://www.sixxs.net/archive/sixxs/aiccu/unix/
PKGNAMEPREFIX= sixxs-
DISTNAME= aiccu_20070115
MAINTAINER= ports@FreeBSD.org
COMMENT= SixXS IPv6 TIC+ tunnel broker heartbeat client
LIB_DEPENDS= libgnutls-openssl.so:${PORTSDIR}/security/gnutls
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/doc/LICENSE
USE_RC_SUBR= sixxs-aiccu
USES= gmake
CFLAGS+= ${PTHREAD_CFLAGS} -D_REENTRANT -DAICCU_GNUTLS -I${LOCALBASE}/include
LDFLAGS+= ${PTHREAD_LIBS} -L${LOCALBASE}/lib -lgnutls
MAKE_ARGS+= CC="${CC}" LDFLAGS="${LDFLAGS}"
WRKSRC= ${WRKDIR}/aiccu
BUILD_WRKSRC= ${WRKDIR}/aiccu/unix-console
PORTDOCS= README
OPTIONS_DEFINE= LOG_DAEMON DOCS
LOG_DAEMON_DESC=Log to LOG_DAEMON instead to LOG_LOCAL7
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.options.mk>
.if ${PORT_OPTIONS:MLOG_DAEMON}
do-configure:
@${REINPLACE_CMD} \
-e 's:LOG_LOCAL7:LOG_DAEMON:' \
${WRKSRC}/common/common.c
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/unix-console/aiccu ${STAGEDIR}${PREFIX}/sbin/sixxs-aiccu
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/README ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/aiccu.conf ${STAGEDIR}${PREFIX}/etc/aiccu.conf.sample
.include <bsd.port.mk>