mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-13 03:03:15 +00:00
65b1a97e74
Submitted by: pointyhat via kris
52 lines
1.2 KiB
Makefile
52 lines
1.2 KiB
Makefile
# Ports collection makefile for: miredo
|
|
# Date created: 2006-08-12
|
|
# Whom: Andreas Kohn <andreas@syndrom23.de>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= miredo
|
|
PORTVERSION= 0.9.8
|
|
CATEGORIES= net ipv6
|
|
MASTER_SITES= http://www.remlab.net/files/miredo/
|
|
|
|
MAINTAINER= andreas@syndrom23.de
|
|
COMMENT= Opensource Teredo (IPv6 tunneling) implementation
|
|
|
|
USE_BZIP2= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --mandir=${MANPREFIX}/man
|
|
USE_GETOPT_LONG= yes
|
|
USE_LDCONFIG= yes
|
|
|
|
MAN1= teredo-mire.1
|
|
MAN5= miredo-server.conf.5 miredo.conf.5 isatapd.conf.5
|
|
MAN8= miredo-server.8 miredo.8 isatapd.8 miredo-checkconf.8
|
|
USE_RC_SUBR= miredo_server miredo isatapd
|
|
|
|
.if !defined(WITHOUT_NLS)
|
|
USE_GETTEXT= yes
|
|
USE_ICONV= yes
|
|
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
CFLAGS="${PTHREAD_CFLAGS}" \
|
|
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
|
|
CONFIGURE_ARGS+= --enable-nls
|
|
PLIST_SUB= NLS=""
|
|
.else
|
|
CONFIGURE_ENV+= LDFLAGS="${PTHREAD_LIBS}"
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
PLIST_SUB= NLS="@comment "
|
|
.endif
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${ARCH} == sparc64
|
|
BROKEN= Does not compile on sparc64
|
|
.endif
|
|
|
|
.if ${OSVERSION} < 500000
|
|
BROKEN= Does not compile on 4.x
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|