2013-03-17 15:05:20 +01:00
|
|
|
# Created by: Andreas Klemm <andreas@klemm.gtn.com>
|
1999-08-25 08:35:40 +02:00
|
|
|
# $FreeBSD$
|
1998-10-21 20:52:03 +02:00
|
|
|
|
2000-04-12 08:21:15 +02:00
|
|
|
PORTNAME= gawk
|
2013-05-15 19:03:17 +02:00
|
|
|
PORTVERSION= 4.1.0
|
1998-10-21 20:52:03 +02:00
|
|
|
CATEGORIES= lang
|
2013-05-15 19:03:17 +02:00
|
|
|
MASTER_SITES= GNU
|
1998-10-21 20:52:03 +02:00
|
|
|
|
2010-12-28 18:59:18 +01:00
|
|
|
MAINTAINER= johans@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= The GNU version of Awk
|
1998-10-21 20:52:03 +02:00
|
|
|
|
2013-12-29 17:00:25 +01:00
|
|
|
LIB_DEPENDS= libsigsegv.so:${PORTSDIR}/devel/libsigsegv
|
2011-07-09 13:27:19 +02:00
|
|
|
|
2013-12-29 17:00:25 +01:00
|
|
|
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= libmpfr.so:${PORTSDIR}/math/mpfr
|
|
|
|
MPFR_CONFIGURE_OFF= --without-gmp --without-mpfr
|
2013-06-29 11:30:23 +02:00
|
|
|
|
2004-07-11 12:30:37 +02:00
|
|
|
INFO= gawk gawkinet
|
|
|
|
|
2011-07-09 13:27:19 +02:00
|
|
|
USE_XZ= true
|
2002-06-09 04:30:34 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2013-09-04 22:01:05 +02:00
|
|
|
USES= iconv
|
|
|
|
CONFIGURE_ARGS= ${ICONV_CONFIGURE_ARG} \
|
2010-04-30 13:50:43 +02:00
|
|
|
--with-libintl-prefix=${LOCALBASE} \
|
|
|
|
AWK=${AWK}
|
2007-03-04 10:53:09 +01:00
|
|
|
|
2013-12-29 17:00:25 +01:00
|
|
|
PLIST_SUB+= VERSION=${PORTVERSION}
|
2013-06-29 11:30:23 +02:00
|
|
|
|
2013-03-17 15:05:20 +01:00
|
|
|
post-patch:
|
2010-09-09 23:51:23 +02:00
|
|
|
@${RM} -f ${WRKSRC}/doc/*.info
|
2013-03-17 15:05:20 +01:00
|
|
|
@${REINPLACE_CMD} -e 's/ -export-dynamic/ -Wl,--export-dynamic/' \
|
|
|
|
${WRKSRC}/configure
|
2010-09-09 23:51:23 +02:00
|
|
|
|
2009-01-05 21:36:33 +01:00
|
|
|
.include <bsd.port.mk>
|