1 |
# $MidnightBSD$ |
2 |
|
3 |
PORTNAME= gawk |
4 |
PORTVERSION= 4.1.3 |
5 |
CATEGORIES= lang |
6 |
MASTER_SITES= GNU |
7 |
|
8 |
MAINTAINER= ports@MidnightBSD.org |
9 |
COMMENT= GNU version of Awk |
10 |
|
11 |
LICENSE= gpl3 |
12 |
|
13 |
LIB_DEPENDS= libsigsegv.so:${PORTSDIR}/devel/libsigsegv |
14 |
|
15 |
OPTIONS_DEFINE= NLS MPFR |
16 |
OPTIONS_SUB= yes |
17 |
NLS_USES= gettext |
18 |
NLS_CONFIGURE_OFF= --disable-nls |
19 |
MPFR_DESC?= Support multiple-precision floating-point computation |
20 |
MPFR_LIB_DEPENDS= libmpfr.so:${PORTSDIR}/math/mpfr |
21 |
MPFR_CONFIGURE_OFF= --without-gmp --without-mpfr |
22 |
|
23 |
INFO= gawk gawkinet |
24 |
|
25 |
GNU_CONFIGURE= yes |
26 |
USES= iconv libtool makeinfo tar:xz |
27 |
CONFIGURE_ARGS= ${ICONV_CONFIGURE_ARG} \ |
28 |
--with-libintl-prefix=${LOCALBASE} \ |
29 |
AWK=${AWK} |
30 |
|
31 |
PLIST_SUB+= VERSION=${PORTVERSION} |
32 |
|
33 |
post-patch: |
34 |
@${RM} -f ${WRKSRC}/doc/*.info |
35 |
@${REINPLACE_CMD} -e 's/ -export-dynamic/ -Wl,--export-dynamic/' \ |
36 |
${WRKSRC}/configure |
37 |
|
38 |
.include <bsd.port.mk> |