aboutsummaryrefslogtreecommitdiff
path: root/devel/kBuild
diff options
context:
space:
mode:
authorBruce M Simpson <bms@FreeBSD.org>2008-07-30 10:53:53 +0000
committerBruce M Simpson <bms@FreeBSD.org>2008-07-30 10:53:53 +0000
commitdc55107f59f30714485db542cc701d9e02a35ede (patch)
tree47e4b5bd17d0530ffe01e3c3bd4b91416805a979 /devel/kBuild
parent98526b66e6ec99469b2e1e95fbdb8524c86defa5 (diff)
downloadports-dc55107f59f30714485db542cc701d9e02a35ede.tar.gz
ports-dc55107f59f30714485db542cc701d9e02a35ede.zip
Notes
Diffstat (limited to 'devel/kBuild')
-rw-r--r--devel/kBuild/Makefile37
-rw-r--r--devel/kBuild/distinfo3
-rw-r--r--devel/kBuild/pkg-descr1
-rw-r--r--devel/kBuild/pkg-plist80
4 files changed, 121 insertions, 0 deletions
diff --git a/devel/kBuild/Makefile b/devel/kBuild/Makefile
new file mode 100644
index 000000000000..f8a64914c762
--- /dev/null
+++ b/devel/kBuild/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: kbuild
+# Date created: Mon Jul 28 14:34:33 BST 2008
+# Whom: Bruce Simpson
+#
+# $FreeBSD$
+#
+
+PORTNAME= kBuild
+PORTVERSION= 0.1.3
+CATEGORIES= devel
+MASTER_SITES= ftp://ftp.netlabs.org/pub/kbuild/
+DISTNAME= ${PORTNAME}-${PORTVERSION}-src
+
+MAINTAINER= bms@FreeBSD.org
+COMMENT= Makefile framework
+
+# XXX: This case is not handled by USE_AUTOTOOLS as kmk bootstrap involves
+# running these directly.
+BUILD_DEPENDS= automake-1.9:${PORTSDIR}/devel/automake19 \
+ autoconf-2.62:${PORTSDIR}/devel/autoconf262
+
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+
+USE_GMAKE= yes
+
+do-build:
+ cd ${WRKSRC} && ${SETENV} ACLOCAL=aclocal-1.9 AUTOMAKE=automake-1.9 AUTORECONF=autoreconf-2.62 ./kBuild/env.sh --full ${GMAKE} -f bootstrap.gmk
+ cd ${WRKSRC} && ${RM} -rf out
+ cd ${WRKSRC} && ./kBuild/env.sh kmk
+ cd ${WRKSRC} && ./kBuild/env.sh kmk NIX_INSTALL_DIR=${PREFIX} BUILD_TYPE=release -C ${WRKSRC}
+
+do-install:
+ (cd ${WRKSRC}/out/freebsd.${MACHINE_ARCH}/release${PREFIX}/bin && ${COPYTREE_BIN} \* ${PREFIX}/bin)
+ ${MKDIR) ${DATADIR}
+ (cd ${WRKSRC}/out/freebsd.${MACHINE_ARCH}/release${PREFIX}/share/kBuild && ${COPYTREE_SHARE} \* ${DATADIR})
+
+.include <bsd.port.mk>
diff --git a/devel/kBuild/distinfo b/devel/kBuild/distinfo
new file mode 100644
index 000000000000..10764616ff88
--- /dev/null
+++ b/devel/kBuild/distinfo
@@ -0,0 +1,3 @@
+MD5 (kBuild-0.1.3-src.tar.gz) = eef91473ea68e6ea189999ed64cd80a5
+SHA256 (kBuild-0.1.3-src.tar.gz) = 79d085b395b87fdf06d24bbf4e03801b5c35d61c7f41d5b0df6fa0b275b6b1b1
+SIZE (kBuild-0.1.3-src.tar.gz) = 10070233
diff --git a/devel/kBuild/pkg-descr b/devel/kBuild/pkg-descr
new file mode 100644
index 000000000000..e42b9bf5e022
--- /dev/null
+++ b/devel/kBuild/pkg-descr
@@ -0,0 +1 @@
+kBuild is a makefile framework for writing simple makefiles for complex tasks.
diff --git a/devel/kBuild/pkg-plist b/devel/kBuild/pkg-plist
new file mode 100644
index 000000000000..f072904480f9
--- /dev/null
+++ b/devel/kBuild/pkg-plist
@@ -0,0 +1,80 @@
+bin/kmk
+bin/kmk_append
+bin/kmk_cat
+bin/kmk_cp
+bin/kmk_cmp
+bin/kmk_echo
+bin/kmk_md5sum
+bin/kmk_mkdir
+bin/kmk_mv
+bin/kmk_install
+bin/kmk_ln
+bin/kmk_printf
+bin/kmk_redirect
+bin/kmk_rm
+bin/kmk_rmdir
+bin/kmk_test
+bin/kDepIDB
+bin/kmk_gmake
+bin/kmk_sed
+bin/kDepPre
+bin/kObjCache
+bin/kmk_ash
+%%DATADIR%%/footer.kmk
+%%DATADIR%%/header.kmk
+%%DATADIR%%/rules.kmk
+%%DATADIR%%/subfooter.kmk
+%%DATADIR%%/subheader.kmk
+%%DATADIR%%/up.kmk
+%%DATADIR%%/tools/ALP.kmk
+%%DATADIR%%/tools/FLEX.kmk
+%%DATADIR%%/tools/GCC.kmk
+%%DATADIR%%/tools/GCC3.kmk
+%%DATADIR%%/tools/GCC32.kmk
+%%DATADIR%%/tools/GCC3OMF.kmk
+%%DATADIR%%/tools/GCC3PLAIN.kmk
+%%DATADIR%%/tools/GCC4MACHO.kmk
+%%DATADIR%%/tools/GCC64.kmk
+%%DATADIR%%/tools/GXX.kmk
+%%DATADIR%%/tools/GXX3.kmk
+%%DATADIR%%/tools/GXX32.kmk
+%%DATADIR%%/tools/GXX3OMF.kmk
+%%DATADIR%%/tools/GXX3PLAIN.kmk
+%%DATADIR%%/tools/GXX4MACHO.kmk
+%%DATADIR%%/tools/GXX64.kmk
+%%DATADIR%%/tools/MINGW32.kmk
+%%DATADIR%%/tools/NASM.kmk
+%%DATADIR%%/tools/TAR.kmk
+%%DATADIR%%/tools/TARGZ.kmk
+%%DATADIR%%/tools/VAC308.kmk
+%%DATADIR%%/tools/VCC70.kmk
+%%DATADIR%%/tools/VCC80.kmk
+%%DATADIR%%/tools/VCC80AMD64.kmk
+%%DATADIR%%/tools/VCC80X86.kmk
+%%DATADIR%%/tools/WGET.kmk
+%%DATADIR%%/tools/XGCCAMD64LINUX.kmk
+%%DATADIR%%/tools/YASM.kmk
+%%DATADIR%%/tools/ZIP.kmk
+%%DATADIR%%/sdks/DXSDK.kmk
+%%DATADIR%%/sdks/DXSDKAMD64.kmk
+%%DATADIR%%/sdks/DXSDKX86.kmk
+%%DATADIR%%/sdks/LIBSDL.kmk
+%%DATADIR%%/sdks/MACOSX104.kmk
+%%DATADIR%%/sdks/MACOSX104INCS.kmk
+%%DATADIR%%/sdks/MACOSX105.kmk
+%%DATADIR%%/sdks/MACOSX105INCS.kmk
+%%DATADIR%%/sdks/NT4DDK.kmk
+%%DATADIR%%/sdks/W2K3DDK.kmk
+%%DATADIR%%/sdks/W2K3DDKAMD64.kmk
+%%DATADIR%%/sdks/W2K3DDKX86.kmk
+%%DATADIR%%/sdks/W32API.kmk
+%%DATADIR%%/sdks/WIN32SDK.kmk
+%%DATADIR%%/sdks/WIN32SDK2002.kmk
+%%DATADIR%%/sdks/WIN64SDK.kmk
+%%DATADIR%%/sdks/WINPSDK.kmk
+%%DATADIR%%/sdks/WINPSDKINCS.kmk
+%%DATADIR%%/msgstyles/brief.kmk
+@dirrm %%DATADIR%%/tools
+@dirrm %%DATADIR%%/sdks
+@dirrm %%DATADIR%%/msgstyles
+@dirrm %%DATADIR%%