6f6fbe4bdf
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead PR: 157936 Submitted by: myself Exp-runs by: pav Approved by: pav
53 lines
1.1 KiB
Makefile
53 lines
1.1 KiB
Makefile
# Ports collection makefile for: miredo
|
|
# Date created: 2006-08-12
|
|
# Whom: Andreas Kohn <andreas@syndrom23.de>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= miredo
|
|
PORTVERSION= 1.2.2
|
|
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= Judy.1:${PORTSDIR}/devel/judy
|
|
|
|
USE_BZIP2= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --localstatedir=/var
|
|
USE_LDCONFIG= yes
|
|
|
|
OPTIONS= POLICYTABLE "Install policy table to support teredo" off
|
|
|
|
MAN1= teredo-mire.1
|
|
MAN5= miredo-server.conf.5 miredo.conf.5
|
|
MAN8= miredo-server.8 miredo.8 miredo-checkconf.8
|
|
USE_RC_SUBR= miredo_server miredo
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
.if !defined(WITHOUT_NLS)
|
|
USE_GETTEXT= yes
|
|
USE_ICONV= yes
|
|
CONFIGURE_ARGS+= --enable-nls
|
|
PLIST_SUB= NLS=""
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
PLIST_SUB= NLS="@comment "
|
|
.endif
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-install:
|
|
.if defined(WITH_POLICYTABLE)
|
|
$(INSTALL_DATA) $(FILESDIR)/ip6addrctl.conf /etc
|
|
PLIST_SUB+= POLICYTABLE=""
|
|
.else
|
|
PLIST_SUB+= POLICYTABLE="@comment "
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|