aboutsummaryrefslogtreecommitdiffstats
path: root/lang/gawk/Makefile
blob: 0688a6003c4bbb22ebf21b0ed88f8415c7d2076c (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
34
35
36
# New ports collection makefile for:    gawk
# Date created:     Mi  21 Okt 1998 13:53:18 CEST
# Whom:         Andreas Klemm <andreas@klemm.gtn.com>
#
# $FreeBSD$

PORTNAME=   gawk
PORTVERSION=    3.1.7
PORTREVISION=   1
CATEGORIES= lang
MASTER_SITES=   ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= gawk

MAINTAINER= krion@FreeBSD.org
COMMENT=    The GNU version of Awk

INFO=       gawk gawkinet

GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --with-libiconv-prefix=${LOCALBASE} \
        --with-libintl-prefix=${LOCALBASE} \
        AWK=${AWK}

MAN1=       gawk.1 igawk.1 pgawk.1

PLIST_SUB=  VERSION=${PORTVERSION}

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

.include <bsd.port.mk>