From f49ee1850c34be14edb099153fec4b8f00d60abd Mon Sep 17 00:00:00 2001
From: Jose V Beneyto <sepen@crux.nu>
Date: Tue, 8 Dec 2009 18:37:12 +0100
Subject: [PATCH] Added Makefile for the project and pkgmk-cross script as
 wrapper of pkgmk to build crosscompiled ports

---
 Makefile    | 16 ++++++++++++++++
 pkgmk-cross | 10 ++++++++++
 2 files changed, 26 insertions(+)
 create mode 100644 Makefile
 create mode 100644 pkgmk-cross

diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..218a110
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,16 @@
+#
+# Makefile
+#
+
+all: src/pkgmk src/pkgmk.conf
+
+src/pkgmk:
+	@make -C src
+
+clean:
+	@make -C src clean
+
+distclean:
+	@make -C src distclean
+
+# End of file
diff --git a/pkgmk-cross b/pkgmk-cross
new file mode 100644
index 0000000..f33b867
--- /dev/null
+++ b/pkgmk-cross
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+TOPDIR="$(cd $(dirname $0); pwd)"
+
+PKGMK=$TOPDIR/src/pkgmk
+PKGMK_CONF=$TOPDIR/src/pkgmk.conf
+
+echo "$PKGMK -cf $PKGMK_CONF" $@
+
+# End of file
-- 
2.45.2