summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorrh <rh@pkgsrc.org>2005-10-01 04:18:47 +0000
committerrh <rh@pkgsrc.org>2005-10-01 04:18:47 +0000
commitb97772dd2ab30ba55c5c0eaa7f382edcb8cab869 (patch)
treef9451f9ac1481d79b364d3ee61f4fa552a716b81 /devel
parent668f0614d6bfa445e30c683b5ace13cffad26bcc (diff)
downloadpkgsrc-b97772dd2ab30ba55c5c0eaa7f382edcb8cab869.tar.gz
Initial import of gnustep-objc-lf2-2.95.3.88, an Objective-C base library
required by libFoundation.
Diffstat (limited to 'devel')
-rw-r--r--devel/gnustep-objc-lf2/DESCR7
-rw-r--r--devel/gnustep-objc-lf2/Makefile23
-rw-r--r--devel/gnustep-objc-lf2/PLIST18
-rw-r--r--devel/gnustep-objc-lf2/buildlink3.mk22
-rw-r--r--devel/gnustep-objc-lf2/distinfo7
-rw-r--r--devel/gnustep-objc-lf2/patches/patch-aa66
-rw-r--r--devel/gnustep-objc-lf2/patches/patch-ab13
7 files changed, 156 insertions, 0 deletions
diff --git a/devel/gnustep-objc-lf2/DESCR b/devel/gnustep-objc-lf2/DESCR
new file mode 100644
index 00000000000..960e3dcedd5
--- /dev/null
+++ b/devel/gnustep-objc-lf2/DESCR
@@ -0,0 +1,7 @@
+ This is a specific GCC/GNUstep objective C runtime required by sope,
+OpenGroupware.org, and libFoundation.
+
+ The runtime is modeled after the NeXT Objective C runtime. That is, most
+functions have semantics as it is known from the NeXT. The names, however,
+have changed. All runtime API functions have names of lowercase letters
+and underscores as opposed to the `traditional' mixed case names.
diff --git a/devel/gnustep-objc-lf2/Makefile b/devel/gnustep-objc-lf2/Makefile
new file mode 100644
index 00000000000..9b6eb09b017
--- /dev/null
+++ b/devel/gnustep-objc-lf2/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/10/01 04:18:47 rh Exp $
+#
+
+DISTNAME= gnustep-objc-lf2.95.3-r88
+PKGNAME= ${DISTNAME:S/.9/-2.9/:S/-r/./}
+CATEGORIES= devel gnustep
+MASTER_SITES= ftp://ftp.opengroupware.org/sources/releases/ \
+ http://download.opengroupware.org/nightly/sources/releases/
+
+MAINTAINER= tech-pkg@NetBSD.org
+HOMEPAGE= http://sope.opengroupware.org/en/build/thirdparty.html\#gstep_objc
+COMMENT= Objective-C library required for libFoundation
+
+WRKSRC= ${WRKDIR}/libobjc-lf2
+USE_TOOLS+= gmake
+
+do-configure:
+ ${MKDIR} ${WRKSRC}/config/${GNUSTEP_HOST_CPU}
+ [ -e ${WRKSRC}/config/${GNUSTEP_HOST_CPU}/${LOWER_OPSYS} ] || \
+ ${LN} -s linux-gnu ${WRKSRC}/config/${GNUSTEP_HOST_CPU}/${LOWER_OPSYS}
+
+.include "../../devel/gnustep-make/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/gnustep-objc-lf2/PLIST b/devel/gnustep-objc-lf2/PLIST
new file mode 100644
index 00000000000..309292d8c24
--- /dev/null
+++ b/devel/gnustep-objc-lf2/PLIST
@@ -0,0 +1,18 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/10/01 04:18:47 rh Exp $
+share/GNUstep/System/Library/Headers/objc_lf2/Object.h
+share/GNUstep/System/Library/Headers/objc_lf2/Protocol.h
+share/GNUstep/System/Library/Headers/objc_lf2/encoding.h
+share/GNUstep/System/Library/Headers/objc_lf2/hash.h
+share/GNUstep/System/Library/Headers/objc_lf2/objc-api.h
+share/GNUstep/System/Library/Headers/objc_lf2/objc-decls.h
+share/GNUstep/System/Library/Headers/objc_lf2/objc-list.h
+share/GNUstep/System/Library/Headers/objc_lf2/objc-mem.h
+share/GNUstep/System/Library/Headers/objc_lf2/objc.h
+share/GNUstep/System/Library/Headers/objc_lf2/sarray.h
+share/GNUstep/System/Library/Headers/objc_lf2/thr.h
+share/GNUstep/System/Library/Headers/objc_lf2/typedstream.h
+share/GNUstep/System/Library/Libraries/libobjc_lf2.so
+share/GNUstep/System/Library/Libraries/libobjc_lf2.so.2.95.3
+@comment in devel/gnustep-make: @dirrm share/GNUstep/System/Library/Libraries
+@dirrm share/GNUstep/System/Library/Headers/objc_lf2
+@comment in devel/gnustep-make: @dirrm share/GNUstep/System/Library/Headers
diff --git a/devel/gnustep-objc-lf2/buildlink3.mk b/devel/gnustep-objc-lf2/buildlink3.mk
new file mode 100644
index 00000000000..36126abb595
--- /dev/null
+++ b/devel/gnustep-objc-lf2/buildlink3.mk
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2005/10/01 04:18:47 rh Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+GNUSTEP_OBJC_LF2_BUILDLINK3_MK:= ${GNUSTEP_OBJC_LF2_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= gnustep-objc-lf2
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngnustep-objc-lf2}
+BUILDLINK_PACKAGES+= gnustep-objc-lf2
+
+.if !empty(GNUSTEP_OBJC_LF2_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.gnustep-objc-lf2+= gnustep-objc-lf2>=2.95.3.88
+BUILDLINK_PKGSRCDIR.gnustep-objc-lf2?= ../../devel/gnustep-objc-lf2
+BUILDLINK_TRANSFORM.gnustep-objc-lf2?= -e "s|Headers/objc_lf2/|Headers/objc/|g"
+BUILDLINK_TRANSFORM+= l:objc:objc_lf2
+.endif # GNUSTEP_OBJC_LF2_BUILDLINK3_MK
+
+.include "../../devel/gnustep-make/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/devel/gnustep-objc-lf2/distinfo b/devel/gnustep-objc-lf2/distinfo
new file mode 100644
index 00000000000..f7f56d3f05e
--- /dev/null
+++ b/devel/gnustep-objc-lf2/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/10/01 04:18:47 rh Exp $
+
+SHA1 (gnustep-objc-lf2.95.3-r88.tar.gz) = a69bae2cac8716d5547c210de7485ce57e401f68
+RMD160 (gnustep-objc-lf2.95.3-r88.tar.gz) = 623476a5d0475333702d14c91605d5247bb3e2dc
+Size (gnustep-objc-lf2.95.3-r88.tar.gz) = 101538 bytes
+SHA1 (patch-aa) = 6eb4a67e96ac51abe71a8cd4e79718f178e295d5
+SHA1 (patch-ab) = 6e5e5d8df08d86da0eeba79a93bdc6fbca32b2a0
diff --git a/devel/gnustep-objc-lf2/patches/patch-aa b/devel/gnustep-objc-lf2/patches/patch-aa
new file mode 100644
index 00000000000..542e5a5a544
--- /dev/null
+++ b/devel/gnustep-objc-lf2/patches/patch-aa
@@ -0,0 +1,66 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/10/01 04:18:47 rh Exp $
+
+--- GNUmakefile.orig 2005-01-24 03:35:34.000000000 +1000
++++ GNUmakefile
+@@ -26,11 +26,11 @@
+ include $(GNUSTEP_MAKEFILES)/common.make
+
+ PACKAGE_NAME=skyrix-objc
+-VERSION=lf2.95.3
++VERSION=2.95.3
+
+ GNUSTEP_INSTALLATION_DIR = $(GNUSTEP_SYSTEM_ROOT)
+
+-LIBRARY_NAME = libobjc
++LIBRARY_NAME = libobjc_lf2
+
+ # dce, decosf1, irix, mach, os2, posix, pthreads, single, solaris, vxworks
+ THREADING = single
+@@ -47,7 +47,7 @@ GC_HEADER_FILES = \
+ gc_typed.h \
+ weakpointer.h \
+
+-libobjc_HEADER_FILES = \
++libobjc_lf2_HEADER_FILES = \
+ objc-decls.h \
+ Object.h \
+ Protocol.h \
+@@ -62,13 +62,13 @@ libobjc_HEADER_FILES = \
+ typedstream.h \
+ # NXConstStr.h \
+
+-libobjc_OBJC_FILES = \
++libobjc_lf2_OBJC_FILES = \
+ Object.m \
+ Protocol.m \
+ linking.m \
+ # NXConstStr.m \
+
+-libobjc_C_FILES = \
++libobjc_lf2_C_FILES = \
+ globals.c \
+ archive.c \
+ class.c \
+@@ -97,10 +97,10 @@ ADDITIONAL_CPPFLAGS += \
+
+ ADDITIONAL_CFLAGS += -O2 -Wall
+
+-libobjc_HEADER_FILES_DIR = .
+-libobjc_HEADER_FILES_INSTALL_DIR = /objc
++libobjc_lf2_HEADER_FILES_DIR = .
++libobjc_lf2_HEADER_FILES_INSTALL_DIR = /objc_lf2
+
+-libobjc_DLL_DEF = libobjc.def
++libobjc_lf2_DLL_DEF = libobjc.def
+
+ ifeq ($(THREADING), single)
+ ADDITIONAL_CPPFLAGS += -DOBJC_WITHOUT_THREADING
+@@ -109,7 +109,7 @@ endif
+ ifeq ($(gc), yes)
+ ADDITIONAL_CPPFLAGS += -DOBJC_WITH_GC=1 -DGC_DEBUG=1
+ ADDITIONAL_CPPFLAGS += -DDEBUG_OBJC_GC=0
+-libobjc_LIBRARIES_DEPEND_UPON += -lgc
++libobjc_lf2_LIBRARIES_DEPEND_UPON += -lgc
+
+ ifeq ($(THREADING), solaris)
+ ADDITIONAL_CPPFLAGS += -DSOLARIS_THREADS
diff --git a/devel/gnustep-objc-lf2/patches/patch-ab b/devel/gnustep-objc-lf2/patches/patch-ab
new file mode 100644
index 00000000000..8090d068d80
--- /dev/null
+++ b/devel/gnustep-objc-lf2/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2005/10/01 04:18:47 rh Exp $
+
+--- GNUmakefile.postamble.orig 2005-01-24 03:35:34.000000000 +1000
++++ GNUmakefile.postamble
+@@ -19,7 +19,7 @@ after-install::
+ for file in $(GC_HEADER_FILES) __done; do \
+ if [ $$file != __done ]; then \
+ $(INSTALL_DATA) $(GC_HEADER_FILES_DIR)/$$file \
+- $(GNUSTEP_HEADERS)$(libobjc_HEADER_FILES_INSTALL_DIR)/$$file ; \
++ $(GNUSTEP_HEADERS)$(libobjc_lf2_HEADER_FILES_INSTALL_DIR)/$$file ; \
+ fi; \
+ done;
+