blob: b77918f1d044dc2e82b21d9089dce098b9e5fd45 (
plain)
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# $NetBSD: Makefile,v 1.73 2020/08/24 07:52:03 wiz Exp $
DISTNAME= gawk-5.1.0
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_GNU:=gawk/}
EXTRACT_SUFX= .tar.xz
MAINTAINER= bouyer@NetBSD.org
HOMEPAGE= https://www.gnu.org/software/gawk/gawk.html
COMMENT= GNU awk
LICENSE= gnu-gpl-v3
CONFLICTS= ja-gawk-[0-9]*
USE_LIBTOOL= yes
USE_PKGLOCALEDIR= yes
USE_TOOLS+= msgfmt msgmerge xgettext
GNU_CONFIGURE= yes
TEST_TARGET= check
INFO_FILES= yes
MAKE_ENV+= PKGLOCALEDIR=${PKGLOCALEDIR}
LDFLAGS.IRIX+= -lgen
CPPFLAGS.OSF1+= -D_OSF_SOURCE
.include "../../mk/bsd.prefs.mk"
.include "options.mk"
.if !empty(MACHINE_PLATFORM:MDarwin-*-x86_64)
CFLAGS+= -Dvm_region=vm_region_64
.endif
.if !empty(MACHINE_PLATFORM:MDarwin-[0-8].*-powerpc)
# ld does not have -rpath
CONFIGURE_ARGS+= --disable-rpath
.endif
PLIST_VARS+= extension
.if "${OPSYS}" != "MirBSD"
PLIST.extension= yes
.endif
INSTALLATION_DIRS+= ${PKGGNUDIR}bin ${PKGGNUDIR}${PKGMANDIR}/man1
post-install:
${LN} -fs ${PREFIX}/bin/gawk ${DESTDIR}${PREFIX}/${PKGGNUDIR}bin/awk
${LN} -fs ${PREFIX}/${PKGMANDIR}/man1/gawk.1 ${DESTDIR}${PREFIX}/${PKGGNUDIR}${PKGMANDIR}/man1/awk.1
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/gmp/buildlink3.mk"
.include "../../math/mpfr/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|