aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/gawk/Makefile
blob: d124e7b0983cbd4c020c8417ba86ea67535a79b8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# New ports collection makefile for:    gawk+mb
# Date created:     5 April 1995
# Whom:         Nobuhiro Yasutomi <nobu@psrc.isac.co.jp>
#
# $FreeBSD$
#

PORTNAME=   gawk
PORTVERSION=    3.0.6
CATEGORIES= japanese lang
MASTER_SITES=   ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}

PATCH_SITES=    http://www.hinadori.dyn.to/~wills/program/
PATCHFILES= ${PORTNAME}mb115.diff.gz
PATCH_DIST_STRIP=   -p1

MAINTAINER= ports@FreeBSD.org
COMMENT=    GNU awk + multi-byte extension

GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --enable-bitops --enable-non-decimal-data

INFO=       gawk

MAN1=       gawk.1 igawk.1

DOCSDIR=    ${PREFIX}/share/doc/${PKGBASE}

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/OREADME.MB ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README.MB ${DOCSDIR}
.endif

.include <bsd.port.mk>