pkgsrc/devel/mk-configure/Makefile
cheusov 8b69b18544 Update to 0.22.0
Improvements in cross-compilation. The following variables were
     introduced: TOOLDIR, SYSROOT, TOOLCHAIN_PREFIX and
     MACHINE_GNU_PLATFORM.

  PROGS variable was introduced (sf.net bug #3445658).

  Support for Lua submodules was added (e.g. net.socket.lua ->
  net/socket.lua). New variable LUA_MODULES was introduced for this
  purpose.

  MKPIE (Position Independent Executables), USE_SSP (Stack Smashing
  Protection), USE_FORT and USE_RELRO variables were introduced for
  security reasons.

  Variable OBJDIR_<dir> was introduced.

  mkc.subdir.mk and mkc.subprj.mk: Commands associated with targets
  "all", "install", "clean", "cleandir", "depend", "test",
  "installdirs", "uninstall", "errorcheck" and "filelist" in Makefile
  override the standard behaviour.

  MKC_REQUIRE_HEADERS, MKC_REQUIRE_DEFINES, MKC_REQUIRE_TYPES,
  MKC_REQUIRE_VARS, MKC_REQUIRE_MEMBERS, MKC_REQUIRE_FUNCS<n> and
  MKC_REQUIRE_CUSTOM do not change CFLAGS.

  mkc.subdir.mk and mkc.subprj.mk: "cleandir" target takes into
  account CLEANFILES, CLEANDIRS, DISTCLEANFILES and DISTCLEANDIRS
  variables (removes files).

  PCNAME.<lib> variable was introduced in mkc_imp.pkg-config.mk, this
  is a map from library name to pcname (.pc).

  Improvements for SHRTOUT.

  New variable OBJCOPY was introduced.

  Update of the presentation.

  Fix in manual page (sf.net bug #3441610).

  New regression tests (examples).
2012-03-09 18:56:21 +00:00

45 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.7 2012/03/09 18:56:21 cheusov Exp $
#
DISTNAME= mk-configure-0.22.0
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mk-configure/} \
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
PKG_DESTDIR_SUPPORT= user-destdir
USE_LANGUAGES= # no languages
DOC_FILES= README NEWS ChangeLog TODO FAQ COPYRIGHT \
doc/presentation.pdf
MAKE_ENV+= MANDIR=${PREFIX}/${PKGMANDIR} BMAKE=${PREFIX}/bin/bmake
AUTO_MKDIRS= yes
PKGDOCDIR= share/doc/mk-configure
EGDIR= share/examples/mk-configure
post-install:
.for i in ${DOC_FILES}
${INSTALL_DATA} ${WRKSRC}/"${i}" ${DESTDIR}${PREFIX}/${PKGDOCDIR}
.endfor
cp -Rp ${WRKSRC}/examples/* ${DESTDIR}${PREFIX}/${EGDIR}
.include "../../mk/bsd.prefs.mk"
.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
.include "../../mk/bsd.pkg.mk"