1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/net/nc6/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

31 lines
611 B
Makefile

# Created by: Filippo Natali <filippo@widestore.net>
# $FreeBSD$
PORTNAME= nc6
PORTVERSION= 1.0
PORTREVISION= 2
CATEGORIES= net ipv6
MASTER_SITES= ftp://ftp.deepspace6.net/pub/ds6/sources/nc6/ \
http://ftp.deepspace6.net/pub/ds6/sources/nc6/
MAINTAINER= ports@FreeBSD.org
COMMENT= Netcat clone with IPv6 support
MAN1= nc6.1
USES= iconv
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif
.include <bsd.port.mk>