aboutsummaryrefslogtreecommitdiff
path: root/net/miredo/Makefile
blob: bff5c03eb6641e4febe33d87bd336efc2f6b7bf0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Created by: Andreas Kohn <andreas@syndrom23.de>
# $FreeBSD$

PORTNAME=	miredo
PORTVERSION=	1.2.6
PORTREVISION=	6
CATEGORIES=	net
MASTER_SITES=	http://www.remlab.net/files/miredo/archive/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Opensource Teredo (IPv6 tunneling) implementation

LICENSE=	GPLv2+
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libJudy.so:devel/judy

USES=		libtool localbase tar:xz
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--localstatedir=/var --enable-examplesdir=${EXAMPLESDIR}
USE_LDCONFIG=	yes
INSTALL_TARGET=	install-strip

USE_RC_SUBR=	miredo-server miredo

OPTIONS_DEFINE=	POLICYTABLE NLS
OPTIONS_SUB=	yes

NLS_USES=		gettext iconv
NLS_CONFIGURE_ENABLE=	nls
POLICYTABLE_DESC=	Install policy table to support teredo

post-install-POLICYTABLE-on:
	${INSTALL_DATA} ${FILESDIR}/ip6addrctl.conf /etc

.include <bsd.port.mk>