wip/mk-configure was added

This commit is contained in:
Aleksey Cheusov 2013-12-08 15:27:53 +00:00 committed by Thomas Klausner
parent a684005aa4
commit 2ec57c70e7
4 changed files with 394 additions and 1 deletions

View file

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.5542 2013/12/07 08:50:42 obache Exp $
# $Id: Makefile,v 1.5543 2013/12/08 15:27:53 cheusov Exp $
COMMENT= WIP pkgsrc packages
@ -1686,6 +1686,7 @@ SUBDIR+= mixmaster
SUBDIR+= mixnet
SUBDIR+= mixxx
#SUBDIR+= mk # not a package
SUBDIR+= mk-configure
SUBDIR+= mkcabal
SUBDIR+= mkcomposecache
SUBDIR+= mkdep

2
mk-configure/DESCR Normal file
View file

@ -0,0 +1,2 @@
mk-configure is a lightweight replacement for GNU autoconf,
written in and for bmake (NetBSD make).

54
mk-configure/Makefile Normal file
View file

@ -0,0 +1,54 @@
# $NetBSD: Makefile,v 1.31 2013/12/08 15:27:53 cheusov Exp $
#
DISTNAME= mk-configure-0.24.5
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
GIT_REPOSITORIES= mk-configure
GIT_REPO.mk-configure= git://github.com/cheusov/mk-configure.git
.include "../../wip/mk/git-package.mk"
USE_LANGUAGES= c
BUILD_TARGET= all all-doc
INSTALL_TARGET= install install-doc
WRKSRC= ${WRKDIR}/mk-configure
MAKE_PROGRAM= ${PREFIX}/bin/bmake
MAKE_ENV+= MANDIR=${PREFIX}/${PKGMANDIR} \
SYSCONFDIR=${PKG_SYSCONFDIR} \
BMAKE=${PREFIX}/bin/bmake
AUTO_MKDIRS= yes
EGDIR= share/examples/mk-configure
TEST_TARGET= test
post-install:
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
.if ${OPSYS} != NetBSD && ${OPSYS} != FreeBSD && ${OPSYS} != OpenBSD && ${OPSYS} != DragonFly && ${OPSYS} != MirBSD
DEPENDS+= bmkdep-[0-9]*:../../devel/bmkdep
.endif
.include "../../mk/bsd.pkg.mk"

336
mk-configure/PLIST Normal file
View file

@ -0,0 +1,336 @@
@comment $NetBSD: PLIST,v 1.22 2013/12/08 15:27:53 cheusov Exp $
bin/mkc_check_common.sh
bin/mkc_check_compiler
bin/mkc_check_custom
bin/mkc_check_decl
bin/mkc_check_funclib
bin/mkc_check_header
bin/mkc_check_prog
bin/mkc_check_sizeof
bin/mkc_check_version
bin/mkc_install
bin/mkc_test_helper
bin/mkc_which
bin/mkcmake
man/man1/mkc_check_custom.1
man/man1/mkc_check_decl.1
man/man1/mkc_check_funclib.1
man/man1/mkc_check_header.1
man/man1/mkc_check_prog.1
man/man1/mkc_check_sizeof.1
man/man1/mkcmake.1
man/man7/mk-configure.7
share/doc/mk-configure/FAQ
share/doc/mk-configure/LICENSE
share/doc/mk-configure/NEWS
share/doc/mk-configure/README
share/doc/mk-configure/TODO
share/examples/mk-configure/Makefile
share/examples/mk-configure/Makefile.inc
share/examples/mk-configure/hello_TARGETS/Makefile
share/examples/mk-configure/hello_TARGETS/Makefile.inc
share/examples/mk-configure/hello_TARGETS/expect.out
share/examples/mk-configure/hello_TARGETS/hello1/Makefile
share/examples/mk-configure/hello_TARGETS/hello1/hello1.c
share/examples/mk-configure/hello_TARGETS/hello1/hello1.pod
share/examples/mk-configure/hello_TARGETS/hello2/Makefile
share/examples/mk-configure/hello_TARGETS/hello2/hello2.c
share/examples/mk-configure/hello_TARGETS/hello2/hello2.pod
share/examples/mk-configure/hello_TARGETS/test.mk
share/examples/mk-configure/hello_calc2/Makefile
share/examples/mk-configure/hello_calc2/expect.out
share/examples/mk-configure/hello_calc2/expressions.txt
share/examples/mk-configure/hello_calc2/lex.l
share/examples/mk-configure/hello_calc2/parser.y
share/examples/mk-configure/hello_calc2/test.mk
share/examples/mk-configure/hello_compilers/Makefile
share/examples/mk-configure/hello_compilers/compiler_test.c
share/examples/mk-configure/hello_compilers/expect.out
share/examples/mk-configure/hello_compilers/test.mk
share/examples/mk-configure/hello_customtests/Makefile
share/examples/mk-configure/hello_customtests/custom_tests/alloca_in_alloca_h.c
share/examples/mk-configure/hello_customtests/custom_tests/alloca_in_stdlib_h.c
share/examples/mk-configure/hello_customtests/custom_tests/cxx_with_templates.cc
share/examples/mk-configure/hello_customtests/custom_tests/shtest
share/examples/mk-configure/hello_customtests/custom_tests/true_is_available
share/examples/mk-configure/hello_customtests/expect.out
share/examples/mk-configure/hello_customtests/hello_customtests.c
share/examples/mk-configure/hello_customtests/test.mk
share/examples/mk-configure/hello_customtests2/Makefile
share/examples/mk-configure/hello_customtests2/expect.out
share/examples/mk-configure/hello_customtests2/hello_customtests2.c
share/examples/mk-configure/hello_customtests2/test.mk
share/examples/mk-configure/hello_cxx/Makefile
share/examples/mk-configure/hello_cxx/expect.out
share/examples/mk-configure/hello_cxx/hello_msg.cc
share/examples/mk-configure/hello_cxx/hello_msg.h
share/examples/mk-configure/hello_cxx/main.cc
share/examples/mk-configure/hello_cxx/test.mk
share/examples/mk-configure/hello_cxxlib/Makefile
share/examples/mk-configure/hello_cxxlib/cxxapp/Makefile
share/examples/mk-configure/hello_cxxlib/cxxapp/cxxapp.cc
share/examples/mk-configure/hello_cxxlib/cxxlib/Makefile
share/examples/mk-configure/hello_cxxlib/cxxlib/hello_msg1.cpp
share/examples/mk-configure/hello_cxxlib/cxxlib/hello_msg2.cpp
share/examples/mk-configure/hello_cxxlib/cxxlib/include/hello_msg.h
share/examples/mk-configure/hello_cxxlib/cxxlib/include/impl/hello_msg1.h
share/examples/mk-configure/hello_cxxlib/cxxlib/include/impl/hello_msg2.h
share/examples/mk-configure/hello_cxxlib/cxxlib/linkme.mk
share/examples/mk-configure/hello_cxxlib/expect.out
share/examples/mk-configure/hello_cxxlib/test.mk
share/examples/mk-configure/hello_dictd/Makefile
share/examples/mk-configure/hello_dictd/Makefile.inc
share/examples/mk-configure/hello_dictd/dict/Makefile
share/examples/mk-configure/hello_dictd/dict/dict.1
share/examples/mk-configure/hello_dictd/dict/dict.c
share/examples/mk-configure/hello_dictd/dictd/Makefile
share/examples/mk-configure/hello_dictd/dictd/dictd.8
share/examples/mk-configure/hello_dictd/dictd/dictd.c
share/examples/mk-configure/hello_dictd/dictfmt/Makefile
share/examples/mk-configure/hello_dictd/dictfmt/dictfmt.1
share/examples/mk-configure/hello_dictd/dictfmt/dictfmt.c
share/examples/mk-configure/hello_dictd/dictzip/Makefile
share/examples/mk-configure/hello_dictd/dictzip/dictzip.1
share/examples/mk-configure/hello_dictd/dictzip/dictzip.c
share/examples/mk-configure/hello_dictd/doc/Makefile
share/examples/mk-configure/hello_dictd/doc/doc.txt
share/examples/mk-configure/hello_dictd/expect.out
share/examples/mk-configure/hello_dictd/libcommon/Makefile
share/examples/mk-configure/hello_dictd/libcommon/iswalnum.c
share/examples/mk-configure/hello_dictd/libcommon/linkme.mk
share/examples/mk-configure/hello_dictd/libcommon/str.c
share/examples/mk-configure/hello_dictd/libdz/Makefile
share/examples/mk-configure/hello_dictd/libdz/dz.c
share/examples/mk-configure/hello_dictd/libdz/export.sym
share/examples/mk-configure/hello_dictd/libdz/linkme.mk
share/examples/mk-configure/hello_dictd/libmaa/Makefile
share/examples/mk-configure/hello_dictd/libmaa/export.sym
share/examples/mk-configure/hello_dictd/libmaa/linkme.mk
share/examples/mk-configure/hello_dictd/libmaa/log.c
share/examples/mk-configure/hello_dictd/libmaa/prime.c
share/examples/mk-configure/hello_dictd/libmaa/set.c
share/examples/mk-configure/hello_dictd/test.mk
share/examples/mk-configure/hello_files/DEBIAN/control
share/examples/mk-configure/hello_files/Makefile
share/examples/mk-configure/hello_files/expect.NetBSD.out
share/examples/mk-configure/hello_files/expect.out
share/examples/mk-configure/hello_files/shell_func.7
share/examples/mk-configure/hello_files/shell_func.texinfo
share/examples/mk-configure/hello_files/shell_func1
share/examples/mk-configure/hello_files/shell_func2
share/examples/mk-configure/hello_files/shell_func3
share/examples/mk-configure/hello_files/test.mk
share/examples/mk-configure/hello_glib2/Makefile
share/examples/mk-configure/hello_glib2/expect.out
share/examples/mk-configure/hello_glib2/hello_glib2.c
share/examples/mk-configure/hello_glib2/test.mk
share/examples/mk-configure/hello_lex/Makefile
share/examples/mk-configure/hello_lex/expect.out
share/examples/mk-configure/hello_lex/hello_lex.l
share/examples/mk-configure/hello_lex/input.txt
share/examples/mk-configure/hello_lex/test.mk
share/examples/mk-configure/hello_lua/Makefile
share/examples/mk-configure/hello_lua/bar.lua
share/examples/mk-configure/hello_lua/baz.c
share/examples/mk-configure/hello_lua/expect.out
share/examples/mk-configure/hello_lua/foo.lua
share/examples/mk-configure/hello_lua/foobar.in
share/examples/mk-configure/hello_lua/test.mk
share/examples/mk-configure/hello_lua2/Makefile
share/examples/mk-configure/hello_lua2/bar.lua
share/examples/mk-configure/hello_lua2/expect.out
share/examples/mk-configure/hello_lua2/foo.lua
share/examples/mk-configure/hello_lua2/foobar
share/examples/mk-configure/hello_lua2/test.mk
share/examples/mk-configure/hello_lua3/Makefile
share/examples/mk-configure/hello_lua3/expect.out
share/examples/mk-configure/hello_lua3/socket_bar.lua
share/examples/mk-configure/hello_lua3/socket_baz.c
share/examples/mk-configure/hello_lua3/socket_foo.lua
share/examples/mk-configure/hello_lua3/test.mk
share/examples/mk-configure/hello_plugins/Makefile
share/examples/mk-configure/hello_plugins/app/Makefile
share/examples/mk-configure/hello_plugins/app/app.c
share/examples/mk-configure/hello_plugins/expect.out
share/examples/mk-configure/hello_plugins/plugin1/Makefile
share/examples/mk-configure/hello_plugins/plugin1/plugin1.c
share/examples/mk-configure/hello_plugins/plugin2/Makefile
share/examples/mk-configure/hello_plugins/plugin2/plugin2.c
share/examples/mk-configure/hello_plugins/test.mk
share/examples/mk-configure/hello_plugins2/Makefile
share/examples/mk-configure/hello_plugins2/app/Makefile
share/examples/mk-configure/hello_plugins2/app/app.c
share/examples/mk-configure/hello_plugins2/expect.out
share/examples/mk-configure/hello_plugins2/plugin1/Makefile
share/examples/mk-configure/hello_plugins2/plugin1/plugin1.c
share/examples/mk-configure/hello_plugins2/plugin2/Makefile
share/examples/mk-configure/hello_plugins2/plugin2/plugin2.c
share/examples/mk-configure/hello_plugins2/test.mk
share/examples/mk-configure/hello_progs/Makefile
share/examples/mk-configure/hello_progs/client.c
share/examples/mk-configure/hello_progs/client_puts.c
share/examples/mk-configure/hello_progs/expect.out
share/examples/mk-configure/hello_progs/server.c
share/examples/mk-configure/hello_progs/server_puts.c
share/examples/mk-configure/hello_progs/test.mk
share/examples/mk-configure/hello_progs2/Makefile
share/examples/mk-configure/hello_progs2/client.c
share/examples/mk-configure/hello_progs2/common.c
share/examples/mk-configure/hello_progs2/expect.out
share/examples/mk-configure/hello_progs2/server.c
share/examples/mk-configure/hello_progs2/test.mk
share/examples/mk-configure/hello_require_tools/Makefile
share/examples/mk-configure/hello_require_tools/fake
share/examples/mk-configure/hello_requirements/Makefile
share/examples/mk-configure/hello_requirements/custom_check1.c
share/examples/mk-configure/hello_requirements/custom_check2.c
share/examples/mk-configure/hello_requirements/expect.out
share/examples/mk-configure/hello_requirements/hello_world.c
share/examples/mk-configure/hello_requirements/test.mk
share/examples/mk-configure/hello_scripts/Makefile
share/examples/mk-configure/hello_scripts/expect.out
share/examples/mk-configure/hello_scripts/hello_world.1
share/examples/mk-configure/hello_scripts/hello_world2
share/examples/mk-configure/hello_scripts/hello_world3
share/examples/mk-configure/hello_scripts/main.c
share/examples/mk-configure/hello_scripts/more_scripts/script1
share/examples/mk-configure/hello_scripts/more_scripts/script2
share/examples/mk-configure/hello_scripts/more_scripts/script3
share/examples/mk-configure/hello_scripts/msg.c
share/examples/mk-configure/hello_scripts/test.mk
share/examples/mk-configure/hello_sizeof/Makefile
share/examples/mk-configure/hello_sizeof/expect.out
share/examples/mk-configure/hello_sizeof/sizeof_test.c
share/examples/mk-configure/hello_sizeof/test.mk
share/examples/mk-configure/hello_strlcpy/Makefile
share/examples/mk-configure/hello_strlcpy/expect.out
share/examples/mk-configure/hello_strlcpy/getline.c
share/examples/mk-configure/hello_strlcpy/hello.c
share/examples/mk-configure/hello_strlcpy/input.in
share/examples/mk-configure/hello_strlcpy/strlcpy.c
share/examples/mk-configure/hello_strlcpy/test.mk
share/examples/mk-configure/hello_subdirs/Makefile
share/examples/mk-configure/hello_subdirs/Makefile.inc
share/examples/mk-configure/hello_subdirs/prog1/Makefile
share/examples/mk-configure/hello_subdirs/prog1/expect.out
share/examples/mk-configure/hello_subdirs/prog1/prog1.awk
share/examples/mk-configure/hello_subdirs/prog1/prog1.c
share/examples/mk-configure/hello_subdirs/prog1/prog1.sh
share/examples/mk-configure/hello_subdirs/prog1/test.mk
share/examples/mk-configure/hello_subdirs/prog2/Makefile
share/examples/mk-configure/hello_subdirs/prog2/expect.out
share/examples/mk-configure/hello_subdirs/prog2/prog2.c
share/examples/mk-configure/hello_subdirs/prog2/test.mk
share/examples/mk-configure/hello_superfs/Makefile
share/examples/mk-configure/hello_superfs/Makefile.inc
share/examples/mk-configure/hello_superfs/docs/LICENSE
share/examples/mk-configure/hello_superfs/docs/Makefile
share/examples/mk-configure/hello_superfs/docs/NEWS
share/examples/mk-configure/hello_superfs/docs/README
share/examples/mk-configure/hello_superfs/expect.out
share/examples/mk-configure/hello_superfs/fsck_superfs/Makefile
share/examples/mk-configure/hello_superfs/fsck_superfs/fsck_superfs.8
share/examples/mk-configure/hello_superfs/fsck_superfs/fsck_superfs.c
share/examples/mk-configure/hello_superfs/mkfs_superfs/Makefile
share/examples/mk-configure/hello_superfs/mkfs_superfs/mkfs_superfs.8
share/examples/mk-configure/hello_superfs/mkfs_superfs/mkfs_superfs.c
share/examples/mk-configure/hello_superfs/test.mk
share/examples/mk-configure/hello_world/COPYRIGHT
share/examples/mk-configure/hello_world/Makefile
share/examples/mk-configure/hello_world/README
share/examples/mk-configure/hello_world/expect.out
share/examples/mk-configure/hello_world/hello_world.c
share/examples/mk-configure/hello_world/test.mk
share/examples/mk-configure/hello_xxzip/Makefile
share/examples/mk-configure/hello_xxzip/expect.out
share/examples/mk-configure/hello_xxzip/test.mk
share/examples/mk-configure/hello_xxzip/tutorial.pod
share/examples/mk-configure/hello_xxzip/xxzip.c
share/examples/mk-configure/hello_xxzip/xxzip.pod
share/examples/mk-configure/hello_yacc/Makefile
share/examples/mk-configure/hello_yacc/calc.y
share/examples/mk-configure/hello_yacc/expect.out
share/examples/mk-configure/hello_yacc/input.txt
share/examples/mk-configure/hello_yacc/test.mk
share/examples/mk-configure/subprojects/Makefile
share/examples/mk-configure/subprojects/expect.out
share/examples/mk-configure/subprojects/hello/Makefile
share/examples/mk-configure/subprojects/hello/hello_subprojects.1.in
share/examples/mk-configure/subprojects/hello/hello_subprojects.c
share/examples/mk-configure/subprojects/hello/hello_subprojects2.in
share/examples/mk-configure/subprojects/hello/test.mk
share/examples/mk-configure/subprojects/libhello1/Makefile
share/examples/mk-configure/subprojects/libhello1/hello1.c
share/examples/mk-configure/subprojects/libhello1/hello1.h
share/examples/mk-configure/subprojects/libhello1/linkme.mk
share/examples/mk-configure/subprojects/libhello2/Makefile
share/examples/mk-configure/subprojects/libhello2/hello2.3
share/examples/mk-configure/subprojects/libhello2/hello2.c
share/examples/mk-configure/subprojects/libhello2/include/hello2.h
share/examples/mk-configure/subprojects/libhello2/linkme.mk
share/examples/mk-configure/subprojects/test.mk
share/examples/mk-configure/subprojects/version.mk
share/examples/mk-configure/tools/Makefile
share/examples/mk-configure/tools/expect.out
share/examples/mk-configure/tools/libs/bar/Makefile
share/examples/mk-configure/tools/libs/bar/bar.c
share/examples/mk-configure/tools/libs/bar/bar.h
share/examples/mk-configure/tools/libs/bar/linkme.mk
share/examples/mk-configure/tools/libs/foo/Makefile
share/examples/mk-configure/tools/libs/foo/foo.c
share/examples/mk-configure/tools/libs/foo/foo.h
share/examples/mk-configure/tools/libs/foo/linkme.mk
share/examples/mk-configure/tools/libs/qux/Makefile
share/examples/mk-configure/tools/libs/qux/linkme.mk
share/examples/mk-configure/tools/libs/qux/qux.c
share/examples/mk-configure/tools/libs/qux/qux.h.in
share/examples/mk-configure/tools/test.mk
share/examples/mk-configure/tools/tools/prog1/Makefile
share/examples/mk-configure/tools/tools/prog1/prog1.c
share/examples/mk-configure/tools/tools/prog2/Makefile
share/examples/mk-configure/tools/tools/prog2/prog2.c
share/examples/mk-configure/tools/tools/prog3/Makefile
share/examples/mk-configure/tools/tools/prog3/prog3.c
share/examples/mk-configure/tools/tools/prog4/Makefile
share/examples/mk-configure/tools/tools/prog4/prog4.c
share/mk-configure/custom/endianess
share/mk-configure/custom/prog_bison
share/mk-configure/custom/prog_flex
share/mk-configure/custom/prog_gawk
share/mk-configure/custom/prog_gm4
share/mkc-mk/configure.mk
share/mkc-mk/mkc.configure.mk
share/mkc-mk/mkc.files.mk
share/mkc-mk/mkc.init.mk
share/mkc-mk/mkc.intexts.mk
share/mkc-mk/mkc.lib.mk
share/mkc-mk/mkc.minitest.mk
share/mkc-mk/mkc.mk
share/mkc-mk/mkc.pkg-config.mk
share/mkc-mk/mkc.prog.mk
share/mkc-mk/mkc.subdir.mk
share/mkc-mk/mkc.subprj.mk
share/mkc-mk/mkc.subprjs.mk
share/mkc-mk/mkc_imp.arch.mk
share/mkc-mk/mkc_imp.dep.mk
share/mkc-mk/mkc_imp.files.mk
share/mkc-mk/mkc_imp.final.mk
share/mkc-mk/mkc_imp.inc.mk
share/mkc-mk/mkc_imp.info.mk
share/mkc-mk/mkc_imp.intexts.mk
share/mkc-mk/mkc_imp.lib.mk
share/mkc-mk/mkc_imp.links.mk
share/mkc-mk/mkc_imp.lua.mk
share/mkc-mk/mkc_imp.man.mk
share/mkc-mk/mkc_imp.mk
share/mkc-mk/mkc_imp.obj.mk
share/mkc-mk/mkc_imp.objdir.mk
share/mkc-mk/mkc_imp.pkg-config.mk
share/mkc-mk/mkc_imp.platform.sys.mk
share/mkc-mk/mkc_imp.pod.mk
share/mkc-mk/mkc_imp.preinit.mk
share/mkc-mk/mkc_imp.prog.mk
share/mkc-mk/mkc_imp.scripts.mk
share/mkc-mk/mkc_imp.subprj.mk
share/mkc-mk/mkc_imp.vars.mk
share/mkc-mk/sys.mk