summaryrefslogtreecommitdiff
path: root/devel/libFoundation-examples
diff options
context:
space:
mode:
authorrh <rh@pkgsrc.org>2009-04-18 02:27:21 +0000
committerrh <rh@pkgsrc.org>2009-04-18 02:27:21 +0000
commit95b7e74fc2a4f77d3f9a8ad9dce4b7edc978362d (patch)
tree2307a6b4a462825ec3bc794813ee54807a0cc26f /devel/libFoundation-examples
parent60ceaa314f25732644f6d20a119290a1fe06038c (diff)
downloadpkgsrc-95b7e74fc2a4f77d3f9a8ad9dce4b7edc978362d.tar.gz
Initial import of libFoundation-examples-1.1.7.168. This package contains
the split-out examples from libFoundation.
Diffstat (limited to 'devel/libFoundation-examples')
-rw-r--r--devel/libFoundation-examples/DESCR7
-rw-r--r--devel/libFoundation-examples/Makefile31
-rw-r--r--devel/libFoundation-examples/PLIST2
-rw-r--r--devel/libFoundation-examples/distinfo6
-rw-r--r--devel/libFoundation-examples/patches/patch-aa13
5 files changed, 59 insertions, 0 deletions
diff --git a/devel/libFoundation-examples/DESCR b/devel/libFoundation-examples/DESCR
new file mode 100644
index 00000000000..39828753834
--- /dev/null
+++ b/devel/libFoundation-examples/DESCR
@@ -0,0 +1,7 @@
+ This package contains example programs, such as 'Defaults' for
+libFoundation.
+
+ LibFoundation is a library mostly conform to the OpenStep Foundation API
+specification, that is, it includes Objective-C classes and methods
+handling memory management, collections, basic file-input/output, handling
+of URLs, etc.
diff --git a/devel/libFoundation-examples/Makefile b/devel/libFoundation-examples/Makefile
new file mode 100644
index 00000000000..7fc062d1e37
--- /dev/null
+++ b/devel/libFoundation-examples/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/04/18 02:28:36 rh Exp $
+#
+DISTNAME= libFoundation-1.1.7-r168
+PKGNAME= ${DISTNAME:S/-/-examples-/:S/-r/./}
+CATEGORIES= devel gnustep
+MASTER_SITES= http://download.opengroupware.org/nightly/sources/releases/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://www.opengroupware.org/en/devs/thirdparty/libFoundation/
+COMMENT= Library implementing the OpenStep Foundation API
+
+LICENSE= libFoundation-license
+
+.include "../../devel/libFoundation/common.mk"
+
+INSTALL_DIRS= examples
+MAKE_FLAGS= GNUSTEP_TARGET_DIR="${WRKSRC}/examples"
+
+SUBST_FILES.gnustep_installation_dir+= examples/GNUmakefile
+
+LIBF_HOST_OS= ${GNUSTEP_HOST:C/.*-//}
+
+PLIST_SUBST+= GNUSTEP_HOST_CPU=${GNUSTEP_HOST_CPU:Q}
+PLIST_SUBST+= LIBF_HOST_OS=${LIBF_HOST_OS}
+
+pre-build:
+ ${MKDIR} ${WRKSRC}/examples/GNU
+
+.include "../../devel/libFoundation/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/libFoundation-examples/PLIST b/devel/libFoundation-examples/PLIST
new file mode 100644
index 00000000000..5c509d3eaec
--- /dev/null
+++ b/devel/libFoundation-examples/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/04/18 02:28:36 rh Exp $
+bin/Defaults
diff --git a/devel/libFoundation-examples/distinfo b/devel/libFoundation-examples/distinfo
new file mode 100644
index 00000000000..d02b77ebafb
--- /dev/null
+++ b/devel/libFoundation-examples/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/04/18 02:28:36 rh Exp $
+
+SHA1 (libFoundation-1.1.7-r168.tar.gz) = ddd1a732b19fb802e4b7cfac3e1248b26c1c1576
+RMD160 (libFoundation-1.1.7-r168.tar.gz) = 73beb75f1bdc983ce9b17348cc7437800b442070
+Size (libFoundation-1.1.7-r168.tar.gz) = 563456 bytes
+SHA1 (patch-aa) = 3af8ec986350df9ce435ddda634034a4cba382f0
diff --git a/devel/libFoundation-examples/patches/patch-aa b/devel/libFoundation-examples/patches/patch-aa
new file mode 100644
index 00000000000..52a62f8c0aa
--- /dev/null
+++ b/devel/libFoundation-examples/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2009/04/18 02:28:36 rh Exp $
+
+--- GNUmakefile.orig 2009-04-18 11:56:31.000000000 +1000
++++ GNUmakefile
+@@ -38,7 +38,7 @@ GNUSTEP_INSTALLATION_DOMAIN = SYSTEM
+ include $(GNUSTEP_MAKEFILES)/common.make
+ include ./Version
+
+-SUBPROJECTS = Foundation Resources examples
++SUBPROJECTS = examples
+
+ include $(GNUSTEP_MAKEFILES)/aggregate.make
+