1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/net/miredo/Makefile
Dmitry Marakasov 9f62cf51ed - Use new LIB_DEPENDS syntax
- Convert USE_XZ to USES
- Stagify
- Switch to USES=libtool, drop .la files

Approved by:	portmgr blanket
2014-07-04 07:38:44 +00:00

48 lines
1.0 KiB
Makefile

# Created by: Andreas Kohn <andreas@syndrom23.de>
# $FreeBSD$
PORTNAME= miredo
PORTVERSION= 1.2.6
PORTREVISION= 3
CATEGORIES= net ipv6
MASTER_SITES= http://www.remlab.net/files/miredo/archive/
MAINTAINER= sumikawa@FreeBSD.org
COMMENT= Opensource Teredo (IPv6 tunneling) implementation
LIB_DEPENDS= libJudy.so:${PORTSDIR}/devel/judy
USES= libtool tar:xz
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --localstatedir=/var --enable-examplesdir=$(EXAMPLESDIR)
USE_LDCONFIG= yes
OPTIONS_DEFINE= POLICYTABLE NLS
POLICYTABLE_DESC= Install policy table to support teredo
USE_RC_SUBR= miredo-server miredo
LDFLAGS+= -L${LOCALBASE}/lib
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
USES+= gettext iconv
CONFIGURE_ARGS+= --enable-nls
PLIST_SUB= NLS=""
.else
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB= NLS="@comment "
.endif
post-install:
.if ${PORT_OPTIONS:MPOLICYTABLE}
$(INSTALL_DATA) $(FILESDIR)/ip6addrctl.conf /etc
PLIST_SUB+= POLICYTABLE=""
.else
PLIST_SUB+= POLICYTABLE="@comment "
.endif
.include <bsd.port.mk>