blob: 26ed57b2420477dd4def9f19789741fa255f8b12 (
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
|
# $NetBSD: Makefile,v 1.68 2012/06/02 07:51:04 cheusov Exp $
DISTNAME= m4-1.4.16
PKGREVISION= 3
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU:=m4/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gnu.org/software/m4/
COMMENT= GNU version of UNIX m4 macro language processor
LICENSE= gnu-gpl-v3
PKG_INSTALLATION_TYPES= overwrite pkgviews
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
INFO_FILES= yes
TEST_TARGET= check
CONFIGURE_ARGS+= --program-prefix=g
.include "../../mk/bsd.prefs.mk"
.if ${LOWER_OPSYS} == "aix"
CFLAGS+= -D_LINUX_SOURCE_COMPAT
.endif
AUTO_MKDIRS= yes
post-install:
${INSTALL_DATA} ${WRKSRC}/examples/*.m4 ${DESTDIR}${PREFIX}/share/examples/m4
${LN} -sf ${PREFIX}/bin/gm4 ${DESTDIR}${PREFIX}/gnu/bin/m4
${LN} -sf ${PREFIX}/${PKGMANDIR}/man1/gm4.1 ${DESTDIR}${PREFIX}/gnu/man/man1/m4.1
.include "../../mk/bsd.pkg.mk"
|