freebsd-ports/lang/gawk/Makefile
Johan van Selst 7e1ec50106 - Update GNU awk to 4.0.1
- Remove patch for configure script (fixed upstream)

Feature safe:	yes
2012-03-31 11:32:31 +00:00

41 lines
809 B
Makefile

# 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= 4.0.1
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= gawk
MAINTAINER= johans@FreeBSD.org
COMMENT= The GNU version of Awk
LIB_DEPENDS= sigsegv:${PORTSDIR}/devel/libsigsegv
INFO= gawk gawkinet
USE_XZ= true
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
post-extract:
@${RM} -f ${WRKSRC}/doc/*.info
.include <bsd.port.mk>