summaryrefslogtreecommitdiff
path: root/net/miredo/Makefile
blob: 5e255f767964c6d259963c7f7f1d983264212cb6 (plain)
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=	5
CATEGORIES=	net ipv6
MASTER_SITES=	http://www.remlab.net/files/miredo/archive/

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

LICENSE=	GPLv2 # or later
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libJudy.so:${PORTSDIR}/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>