0cab39e98e
MAJOR CHANGES: mkc.configure.mk: New: MKC_CHECK_MEMBERS, mechanism for checking for structure members. Regression tests for this new feature. Man page update for mkc_check_decl. See the documentation for MKC_CHECK_MEMBERS in configure.mk file. Fix: HAVE_FUNCN.funcname.dir.header_h -> HAVE_FUNCN.funcname.dir_header_h New: Support for HAVE_VAR.varname.dir_header_h (dir/header.h!) New: Support for HAVE_DEFINE.defname.dir_header.h (dir/header.h!) New: MKC_COMMON_DEFINES.`uname -s`, e.g. MKC_COMMON_DEFINES.NetBSD, MKC_COMMON_DEFINES.Linux etc. "install-dirs" now work fully correctly, i.e. creates all required directories. New variable DPLIBS for listing -llibs for linking. Use DPLIBS instead of LDADD for linking with local libraries. See examples/8/hello/Makefile. mkc_check_decl: workaround for buggy ksh and FreeBSD /bin/sh.
33 lines
807 B
Makefile
33 lines
807 B
Makefile
# $NetBSD: Makefile,v 1.8 2009/05/31 12:54:30 cheusov Exp $
|
|
#
|
|
|
|
DISTNAME= mk-configure-0.10.0
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mk-configure/} \
|
|
http://mova.org/~cheusov/pub/mk-configure/
|
|
|
|
MAINTAINER= vle@gmx.net
|
|
HOMEPAGE= http://sourceforge.net/projects/mk-configure
|
|
COMMENT= Lightweight but powerful replacement for GNU autotools
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
USE_LANGUAGES= # no languages
|
|
USE_BSD_MAKEFILE= yes
|
|
|
|
DOC_FILES= README NEWS ChangeLog TODO
|
|
|
|
MAKE_ENV+= MKCATPAGES=no
|
|
|
|
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.pkg.mk"
|