aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorbms <bms@FreeBSD.org>2008-07-30 18:53:53 +0800
committerbms <bms@FreeBSD.org>2008-07-30 18:53:53 +0800
commitbc09ab5ecb4fac85833f3cb4918244a0bffdd222 (patch)
treec509d007bd9d4e555c0d602b7d6b08f41bbec178 /devel
parent71e30cc2a1dc0eaf5335676e9de37b8384d938ba (diff)
downloadfreebsd-ports-gnome-bc09ab5ecb4fac85833f3cb4918244a0bffdd222.tar.gz
freebsd-ports-gnome-bc09ab5ecb4fac85833f3cb4918244a0bffdd222.tar.zst
freebsd-ports-gnome-bc09ab5ecb4fac85833f3cb4918244a0bffdd222.zip
Add new port kBuild: a gmake-based build system used by VirtualBox and others
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/kBuild-devel/Makefile37
-rw-r--r--devel/kBuild-devel/distinfo3
-rw-r--r--devel/kBuild-devel/pkg-descr1
-rw-r--r--devel/kBuild-devel/pkg-plist80
-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
9 files changed, 243 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index c62e91f56735..c9e57d8bd8b0 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -538,6 +538,7 @@
SUBDIR += jude-community
SUBDIR += judy
SUBDIR += k8048
+ SUBDIR += kBuild
SUBDIR += kaptain
SUBDIR += kcachegrind
SUBDIR += kdbg
diff --git a/devel/kBuild-devel/Makefile b/devel/kBuild-devel/Makefile
new file mode 100644
index 000000000000..f8a64914c762
--- /dev/null
+++ b/devel/kBuild-devel/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-devel/distinfo b/devel/kBuild-devel/distinfo
new file mode 100644
index 000000000000..10764616ff88
--- /dev/null
+++ b/devel/kBuild-devel/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-devel/pkg-descr b/devel/kBuild-devel/pkg-descr
new file mode 100644
index 000000000000..e42b9bf5e022
--- /dev/null
+++ b/devel/kBuild-devel/pkg-descr
@@ -0,0 +1 @@
+kBuild is a makefile framework for writing simple makefiles for complex tasks.
diff --git a/devel/kBuild-devel/pkg-plist b/devel/kBuild-devel/pkg-plist
new file mode 100644
index 000000000000..f072904480f9
--- /dev/null
+++ b/devel/kBuild-devel/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%%
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%%