1 |
laffer1 |
15462 |
# $MidnightBSD$ |
2 |
laffer1 |
669 |
|
3 |
|
|
PORTNAME= gawk |
4 |
laffer1 |
21454 |
PORTVERSION= 4.1.3 |
5 |
laffer1 |
669 |
CATEGORIES= lang |
6 |
laffer1 |
14933 |
MASTER_SITES= GNU |
7 |
laffer1 |
669 |
|
8 |
|
|
MAINTAINER= ports@MidnightBSD.org |
9 |
laffer1 |
21454 |
COMMENT= GNU version of Awk |
10 |
laffer1 |
17324 |
|
11 |
laffer1 |
12032 |
LICENSE= gpl3 |
12 |
laffer1 |
6426 |
|
13 |
laffer1 |
17324 |
LIB_DEPENDS= libsigsegv.so:${PORTSDIR}/devel/libsigsegv |
14 |
laffer1 |
12032 |
|
15 |
laffer1 |
17324 |
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 |
laffer1 |
14933 |
|
23 |
laffer1 |
669 |
INFO= gawk gawkinet |
24 |
|
|
|
25 |
|
|
GNU_CONFIGURE= yes |
26 |
laffer1 |
17324 |
USES= iconv libtool makeinfo tar:xz |
27 |
|
|
CONFIGURE_ARGS= ${ICONV_CONFIGURE_ARG} \ |
28 |
laffer1 |
12032 |
--with-libintl-prefix=${LOCALBASE} \ |
29 |
|
|
AWK=${AWK} |
30 |
|
|
|
31 |
laffer1 |
17324 |
PLIST_SUB+= VERSION=${PORTVERSION} |
32 |
laffer1 |
669 |
|
33 |
laffer1 |
13927 |
post-patch: |
34 |
laffer1 |
12032 |
@${RM} -f ${WRKSRC}/doc/*.info |
35 |
laffer1 |
13927 |
@${REINPLACE_CMD} -e 's/ -export-dynamic/ -Wl,--export-dynamic/' \ |
36 |
|
|
${WRKSRC}/configure |
37 |
laffer1 |
12032 |
|
38 |
|
|
.include <bsd.port.mk> |