1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/lang/gawk/Makefile
Alexey Dokuchaev 3fd3e8a2d1 - Update GNU AWK to version 5.1.0
- Switch to smaller .tar.lz distfile

Reported by:	portscout
2020-04-16 09:41:31 +00:00

41 lines
922 B
Makefile

# Created by: Andreas Klemm <andreas@klemm.gtn.com>
# $FreeBSD$
PORTNAME= gawk
PORTVERSION= 5.1.0
CATEGORIES= lang
MASTER_SITES= GNU
MAINTAINER= danfe@FreeBSD.org
COMMENT= GNU version of AWK scripting language
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libsigsegv.so:devel/libsigsegv
OPTIONS_DEFINE= NLS MPFR
OPTIONS_SUB= yes
NLS_USES= gettext
NLS_CONFIGURE_OFF= --disable-nls
MPFR_DESC?= Support multiple-precision floating-point computation
MPFR_LIB_DEPENDS= libgmp.so:math/gmp libmpfr.so:math/mpfr
MPFR_CONFIGURE_OFF= --without-gmp --without-mpfr
INFO= gawk gawkinet gawkworkflow
GNU_CONFIGURE= yes
USES= iconv libtool makeinfo readline tar:lz
CONFIGURE_ARGS= ${ICONV_CONFIGURE_ARG} \
--with-libintl-prefix=${LOCALBASE} \
AWK=${AWK}
INSTALL_TARGET= install-strip
TEST_TARGET= check
PLIST_SUB+= VERSION=${PORTVERSION}
post-patch:
@${RM} ${WRKSRC}/doc/*.info
.include <bsd.port.mk>