pkgsrc/devel/m4/Makefile

29 lines
799 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.77 2019/01/22 14:59:03 tnn Exp $
DISTNAME= m4-1.4.18
PKGREVISION= 2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU:=m4/}
MAINTAINER= pkgsrc-users@NetBSD.org
2008-04-27 02:01:56 +02:00
HOMEPAGE= http://www.gnu.org/software/m4/
COMMENT= GNU version of UNIX m4 macro language processor
LICENSE= gnu-gpl-v3
2001-07-14 13:54:12 +02:00
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --program-prefix=g
2016-02-25 13:12:47 +01:00
CONFIGURE_ARGS.Cygwin+= ac_cv_func___fpending=yes
INFO_FILES= yes
TEST_TARGET= check
2016-02-25 13:12:47 +01:00
CFLAGS.AIX+= -D_LINUX_SOURCE_COMPAT
AUTO_MKDIRS= yes
post-install:
2006-11-02 18:59:37 +01:00
${INSTALL_DATA} ${WRKSRC}/examples/*.m4 ${DESTDIR}${PREFIX}/share/examples/m4
2012-12-06 12:38:19 +01:00
${LN} -sf ${PREFIX}/bin/gm4 ${DESTDIR}${PREFIX}/${PKGGNUDIR}bin/m4
${LN} -sf ${PREFIX}/${PKGMANDIR}/man1/gm4.1 ${DESTDIR}${PREFIX}/${PKGGNUDIR}${PKGMANDIR}/man1/m4.1
.include "../../mk/bsd.pkg.mk"