2013-07-12 18:32:50 +02:00
|
|
|
# Created by: Nobuhiro Yasutomi <nobu@psrc.isac.co.jp>
|
1999-08-25 07:28:01 +02:00
|
|
|
# $FreeBSD$
|
1995-04-05 10:53:47 +02:00
|
|
|
|
2000-04-11 16:15:53 +02:00
|
|
|
PORTNAME= gawk
|
2001-07-23 05:55:05 +02:00
|
|
|
PORTVERSION= 3.0.6
|
1999-09-08 15:32:25 +02:00
|
|
|
CATEGORIES= japanese lang
|
1996-11-18 11:25:35 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
2001-03-06 18:21:39 +01:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
1995-04-05 10:53:47 +02:00
|
|
|
|
2008-10-13 14:27:20 +02:00
|
|
|
PATCH_SITES= http://www.hinadori.atnifty.com/~wills/program/
|
2001-07-23 05:55:05 +02:00
|
|
|
PATCHFILES= ${PORTNAME}mb115.diff.gz
|
|
|
|
PATCH_DIST_STRIP= -p1
|
|
|
|
|
2009-02-18 06:55:26 +01:00
|
|
|
MAINTAINER= ota@j.email.ne.jp
|
2003-02-20 20:00:52 +01:00
|
|
|
COMMENT= GNU awk + multi-byte extension
|
1995-04-05 10:53:47 +02:00
|
|
|
|
2014-03-20 18:44:44 +01:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2014-06-26 10:41:34 +02:00
|
|
|
USES= makeinfo
|
1999-09-07 04:35:46 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2001-07-23 05:55:05 +02:00
|
|
|
CONFIGURE_ARGS= --enable-bitops --enable-non-decimal-data
|
2013-07-12 18:32:50 +02:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
1995-05-09 00:51:35 +02:00
|
|
|
|
2005-12-04 09:59:04 +01:00
|
|
|
INFO= gawk
|
|
|
|
|
2001-07-23 05:55:05 +02:00
|
|
|
DOCSDIR= ${PREFIX}/share/doc/${PKGBASE}
|
|
|
|
|
2014-07-16 04:29:34 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2014-03-20 18:44:44 +01:00
|
|
|
post-configure:
|
|
|
|
@${REINPLACE_CMD} -E \
|
|
|
|
'/(DEFPATH|sed )/!s,(bin|data|lib|info|man|libexec)dir\),DESTDIR\)$$\(&,g' \
|
|
|
|
${WRKSRC}/Makefile ${WRKSRC}/doc/Makefile ${WRKSRC}/awklib/Makefile
|
|
|
|
|
1999-09-07 04:35:46 +02:00
|
|
|
post-install:
|
2014-03-20 18:44:44 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
(cd ${WRKSRC} && ${INSTALL_DATA} OREADME.MB README.MB ${STAGEDIR}${DOCSDIR})
|
1995-05-09 00:51:35 +02:00
|
|
|
|
1995-04-05 10:53:47 +02:00
|
|
|
.include <bsd.port.mk>
|