pkgsrc/devel/mk-configure/Makefile
cheusov 0f5067e313 Update to version 0.30.0
Variables MKC_{CHECK,REQUIRE}_HEADER_FILES were introduced.

  Improvements and addons to regression tests.

  Improvements and minor fixes in mkc_check_{header,decl,funclib,sizeof}
  This may fix checking failure if -Werror=strict-prototyping
      is passed to CFLAGS.

  OBJDIR_<project> is now set correctly if MAKEOBJDIRPREFIX is set.
2018-03-07 10:05:17 +00:00

53 lines
1.4 KiB
Makefile

# $NetBSD: Makefile,v 1.24 2018/03/07 10:05:17 cheusov Exp $
#
DISTNAME= mk-configure-0.30.0
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mk-configure/}
MASTER_SITES+= http://mova.org/~cheusov/pub/mk-configure/
MAINTAINER= cheusov@NetBSD.org
HOMEPAGE= http://sourceforge.net/projects/mk-configure
COMMENT= Lightweight but powerful replacement for GNU autotools
LICENSE= modified-bsd
DEPENDS+= bmake-[0-9]*:../../devel/bmake
USE_LANGUAGES= c
BUILD_TARGET= all all-doc
INSTALL_TARGET= install install-doc
MAKE_PROGRAM= ${PREFIX}/bin/bmake
MAKE_ENV+= MANDIR=${PREFIX}/${PKGMANDIR} \
SYSCONFDIR=${PKG_SYSCONFDIR} \
BMAKE=${PREFIX}/bin/bmake
MAKE_FLAGS= PROG.awk=${AWK:Q}
AUTO_MKDIRS= yes
EGDIR= share/examples/mk-configure
TEST_TARGET= test
post-install:
cp -Rp ${WRKSRC}/examples/* ${DESTDIR}${PREFIX}/${EGDIR}
cp ${WRKSRC}/presentation/*.pdf ${DESTDIR}${PREFIX}/share/doc/mk-configure
.include "../../mk/bsd.prefs.mk"
CHECK_PERMS_SKIP= */foobar.in */hello_world3.in */prog1.awk.in
.if ${OPSYS} == SunOS && exists(/usr/xpg4/bin/awk)
REPLACE_INTERPRETER+= awk
REPLACE.awk.old= /usr/bin/awk
REPLACE.awk.new= /usr/xpg4/bin/awk
REPLACE_FILES.awk= mkc_check_version
.endif
.if ${OPSYS} != NetBSD && ${OPSYS} != FreeBSD && ${OPSYS} != OpenBSD && ${OPSYS} != DragonFly && ${OPSYS} != MirBSD
DEPENDS+= bmkdep-[0-9]*:../../devel/bmkdep
.endif
.include "../../mk/bsd.pkg.mk"