aboutsummaryrefslogtreecommitdiffstats
path: root/net/nc6/Makefile
blob: a62c48fdd44938930ac2ed93d7161c14b132bea3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# New ports collection makefile for:   nc6
# Date created:                30 May 2002
# Whom:                        Filippo Natali <filippo@widestore.net>
#
# $FreeBSD$
#

PORTNAME=   nc6
PORTVERSION=    0.5
PORTREVISION=   3
CATEGORIES= net ipv6
MASTER_SITES=   ftp://ftp.deepspace6.net/pub/ds6/sources/nc6/ \
        http://ftp.deepspace6.net/pub/ds6/sources/nc6/

MAINTAINER= filippo.natali@gmail.com
COMMENT=    Netcat clone with IPv6 support

MAN1=   nc6.1
USE_ICONV=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_TARGET=   --target=${ARCH}-unknown-freebsd${OSREL}

.if !defined(WITHOUT_NLS)
USE_GETTEXT=    yes
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif

.include <bsd.port.mk>