1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00
freebsd-ports/net/net6/Makefile
Baptiste Daroussin 062ed8d36f Convert from WITHOUT_NLS to PORT_OPTIONS:MNLS
While here do some conversion to new options framework
2013-05-06 10:22:41 +00:00

36 lines
710 B
Makefile

# Created by: Andreas Kohn <andreas@syndrom23.de>
# $FreeBSD$
PORTNAME= net6
PORTVERSION= 1.3.14
PORTREVISION= 1
CATEGORIES= net devel
MASTER_SITES= http://releases.0x539.de/net6/
MAINTAINER= ports@FreeBSD.org
COMMENT= Network access framework for IPv4/IPv6
LICENSE= GPLv2
LIB_DEPENDS= sigc-2.0.0:${PORTSDIR}/devel/libsigc++20 \
gnutls.26:${PORTSDIR}/security/gnutls
USES= pathfix pkgconfig
USE_AUTOTOOLS= libtool
MAKE_JOBS_SAFE= yes
USE_LDCONFIG= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
PLIST_SUB+= NLS=""
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif
.include <bsd.port.mk>