[Midnightbsd-cvs] mports: mports/lang: Add an alternate objective c compiler which uses

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Wed Nov 14 18:18:41 EST 2007


Log Message:
-----------
Add an alternate objective c compiler which uses shell scripts and objective c

Modified Files:
--------------
    mports/lang:
        Makefile (r1.33 -> r1.34)

Added Files:
-----------
    mports/lang/objc:
        Makefile (r1.1)
        distinfo (r1.1)
        pkg-descr (r1.1)
        pkg-plist (r1.1)
    mports/lang/objc/files:
        manpages.mk (r1.1)
        patch-ab (r1.1)
        patch-src_objc_Makefile.in (r1.1)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/lang/Makefile,v
retrieving revision 1.33
retrieving revision 1.34
diff -L lang/Makefile -L lang/Makefile -u -r1.33 -r1.34
--- lang/Makefile
+++ lang/Makefile
@@ -25,6 +25,7 @@
     SUBDIR += nawk
     SUBDIR += nwcc
     SUBDIR += nwcc-devel
+    SUBDIR += objc
     SUBDIR += open-cobol
     SUBDIR += p5-Data-JavaScript
     SUBDIR += p5-Error
--- /dev/null
+++ lang/objc/pkg-descr
@@ -0,0 +1,10 @@
+This is an independent implementation of Objective C - independent
+of Stepstone's, NeXT's, GNU's (Free Software Foundation) or SunSoft's
+Objective C implementation.
+
+Like the GNU compiler, the "objc" grammar is written in YACC.  The lexical
+ananlyzer is written in LEX, and the compiler itself in the Bourne
+shell and in Objective C.  (the optional Objective C link editor is
+written in AWK).
+
+WWW: http://users.pandora.be/stes/compiler.html
--- /dev/null
+++ lang/objc/pkg-plist
@@ -0,0 +1,240 @@
+bin/cvtimport
+bin/objc
+bin/objc1
+bin/postlink
+include/cakit/cakit.h
+include/cakit/ccltn.h
+include/cakit/ccomplex.h
+include/cakit/cfloat.h
+include/cakit/cobject.h
+include/cakit/cseq.h
+include/cakit/fraction.h
+include/cakit/integer.h
+include/cakit/intmodp.h
+include/cakit/matrix.h
+include/cakit/monomial.h
+include/cakit/polynom.h
+include/cakit/symbol.h
+include/cakit/term.h
+include/cakit/vector.h
+include/objcrt/Block.h
+include/objcrt/Exceptn.h
+include/objcrt/Message.h
+include/objcrt/Object.h
+include/objcrt/OutOfMem.h
+include/objcrt/objc.h
+include/objcrt/objcrt.h
+include/objpak/array.h
+include/objpak/ascfiler.h
+include/objpak/badvers.h
+include/objpak/bag.h
+include/objpak/cltn.h
+include/objpak/dictnary.h
+include/objpak/idarray.h
+include/objpak/intarray.h
+include/objpak/notfound.h
+include/objpak/objpak.h
+include/objpak/ocstring.h
+include/objpak/octext.h
+include/objpak/ordcltn.h
+include/objpak/outofbnd.h
+include/objpak/paragrph.h
+include/objpak/point.h
+include/objpak/rectangl.h
+include/objpak/runarray.h
+include/objpak/sequence.h
+include/objpak/set.h
+include/objpak/sortcltn.h
+include/objpak/stack.h
+include/objpak/txtattr.h
+include/objpak/txtstyle.h
+include/objpak/typeinc.h
+include/objpak/unknownt.h
+include/oclib/addrof.h
+include/oclib/arrowxpr.h
+include/oclib/arydecl.h
+include/oclib/assign.h
+include/oclib/bflddecl.h
+include/oclib/binxpr.h
+include/oclib/blockxpr.h
+include/oclib/btincall.h
+include/oclib/casestmt.h
+include/oclib/castxpr.h
+include/oclib/classdef.h
+include/oclib/commaxpr.h
+include/oclib/compdef.h
+include/oclib/compstmt.h
+include/oclib/condxpr.h
+include/oclib/constxpr.h
+include/oclib/contstmt.h
+include/oclib/cppdirec.h
+include/oclib/datadef.h
+include/oclib/decl.h
+include/oclib/def.h
+include/oclib/deref.h
+include/oclib/dfltstmt.h
+include/oclib/dostmt.h
+include/oclib/dotxpr.h
+include/oclib/enumsp.h
+include/oclib/enumtor.h
+include/oclib/expr.h
+include/oclib/exprstmt.h
+include/oclib/forstmt.h
+include/oclib/funbody.h
+include/oclib/funcall.h
+include/oclib/fundecl.h
+include/oclib/fundef.h
+include/oclib/gasmop.h
+include/oclib/gasmstmt.h
+include/oclib/gatrdecl.h
+include/oclib/gattrib.h
+include/oclib/gotostmt.h
+include/oclib/identxpr.h
+include/oclib/ifstmt.h
+include/oclib/indexxpr.h
+include/oclib/initdecl.h
+include/oclib/keywdecl.h
+include/oclib/keywxpr.h
+include/oclib/lblstmt.h
+include/oclib/listxpr.h
+include/oclib/methdef.h
+include/oclib/method.h
+include/oclib/msgxpr.h
+include/oclib/namedecl.h
+include/oclib/node.h
+include/oclib/options.h
+include/oclib/parmdef.h
+include/oclib/parmlist.h
+include/oclib/pfixdecl.h
+include/oclib/pfixxpr.h
+include/oclib/pointer.h
+include/oclib/precdecl.h
+include/oclib/precxpr.h
+include/oclib/relxpr.h
+include/oclib/rtrnstmt.h
+include/oclib/selector.h
+include/oclib/selxpr.h
+include/oclib/shared.h
+include/oclib/sizeof.h
+include/oclib/stardecl.h
+include/oclib/stclass.h
+include/oclib/stmt.h
+include/oclib/structsp.h
+include/oclib/switstmt.h
+include/oclib/symbol.h
+include/oclib/trlunit.h
+include/oclib/type.h
+include/oclib/typeof.h
+include/oclib/unyxpr.h
+include/oclib/util.h
+include/oclib/whilstmt.h
+include/ppi/Array.h
+include/ppi/Assoc.h
+include/ppi/Filer.h
+include/ppi/Graph.h
+include/ppi/ICpak101.h
+include/ppi/IPSequence.h
+include/ppi/IdArray.h
+include/ppi/IntArray.h
+include/ppi/OrdCltn.h
+include/ppi/Sequence.h
+include/ppi/SortCltn.h
+include/ppi/String.h
+include/ppi/StringCl.h
+include/ppi/mivarargs.h
+include/ppi/vectors.h
+lib/_predll.o
+lib/_prelink.o
+lib/cakit.a
+lib/cakitr.a
+lib/objcdlso.ld
+lib/objchelp.txt
+lib/objcrt.a
+lib/objcrtr.a
+lib/objpak.a
+lib/objpakr.a
+%%DOCSDIR%%/examples/Makefile
+%%DOCSDIR%%/examples/Makefile.in
+%%DOCSDIR%%/examples/README
+%%DOCSDIR%%/examples/all.m
+%%DOCSDIR%%/examples/assoc.m
+%%DOCSDIR%%/examples/become.m
+%%DOCSDIR%%/examples/block.m
+%%DOCSDIR%%/examples/blrefcnt.m
+%%DOCSDIR%%/examples/blvar.m
+%%DOCSDIR%%/examples/classvars.m
+%%DOCSDIR%%/examples/delegate.m
+%%DOCSDIR%%/examples/dlopen.m
+%%DOCSDIR%%/examples/during.h
+%%DOCSDIR%%/examples/during.m
+%%DOCSDIR%%/examples/dynclass.m
+%%DOCSDIR%%/examples/esql.em
+%%DOCSDIR%%/examples/except.m
+%%DOCSDIR%%/examples/gdb.m
+%%DOCSDIR%%/examples/howmany.m
+%%DOCSDIR%%/examples/ifExcept.m
+%%DOCSDIR%%/examples/loop.m
+%%DOCSDIR%%/examples/memory.m
+%%DOCSDIR%%/examples/nextinst.m
+%%DOCSDIR%%/examples/poseAs.m
+%%DOCSDIR%%/examples/problem3n1.m
+%%DOCSDIR%%/examples/shlload.m
+%%DOCSDIR%%/examples/signal.m
+%%DOCSDIR%%/examples/sumit.m
+%%DOCSDIR%%/examples/super.m
+%%DOCSDIR%%/examples/tail.m
+%%DOCSDIR%%/examples/timeblock.m
+%%DOCSDIR%%/examples/varscope.m
+%%DOCSDIR%%/html/cakit/BigInt.html
+%%DOCSDIR%%/html/cakit/CAObject.html
+%%DOCSDIR%%/html/cakit/Complex.html
+%%DOCSDIR%%/html/cakit/Float.html
+%%DOCSDIR%%/html/cakit/Fraction.html
+%%DOCSDIR%%/html/cakit/IntegerModp.html
+%%DOCSDIR%%/html/cakit/Matrix.html
+%%DOCSDIR%%/html/cakit/Monomial.html
+%%DOCSDIR%%/html/cakit/Polynomial.html
+%%DOCSDIR%%/html/cakit/Symbol.html
+%%DOCSDIR%%/html/cakit/Term.html
+%%DOCSDIR%%/html/cakit/Vector.html
+%%DOCSDIR%%/html/objcrt/Block.html
+%%DOCSDIR%%/html/objcrt/Exception.html
+%%DOCSDIR%%/html/objcrt/Message.html
+%%DOCSDIR%%/html/objcrt/Object.html
+%%DOCSDIR%%/html/objcrt/OutOfMemory.html
+%%DOCSDIR%%/html/objpak/Array.html
+%%DOCSDIR%%/html/objpak/AsciiFiler.html
+%%DOCSDIR%%/html/objpak/BadVersion.html
+%%DOCSDIR%%/html/objpak/Bag.html
+%%DOCSDIR%%/html/objpak/Cltn.html
+%%DOCSDIR%%/html/objpak/Dictionary.html
+%%DOCSDIR%%/html/objpak/IdArray.html
+%%DOCSDIR%%/html/objpak/IntArray.html
+%%DOCSDIR%%/html/objpak/NotFound.html
+%%DOCSDIR%%/html/objpak/OrdCltn.html
+%%DOCSDIR%%/html/objpak/OutOfBounds.html
+%%DOCSDIR%%/html/objpak/Paragraph.html
+%%DOCSDIR%%/html/objpak/Point.html
+%%DOCSDIR%%/html/objpak/Rectangle.html
+%%DOCSDIR%%/html/objpak/RunArray.html
+%%DOCSDIR%%/html/objpak/Sequence.html
+%%DOCSDIR%%/html/objpak/Set.html
+%%DOCSDIR%%/html/objpak/SortCltn.html
+%%DOCSDIR%%/html/objpak/Stack.html
+%%DOCSDIR%%/html/objpak/String.html
+%%DOCSDIR%%/html/objpak/Text.html
+%%DOCSDIR%%/html/objpak/TextAttribute.html
+%%DOCSDIR%%/html/objpak/TextStyle.html
+%%DOCSDIR%%/html/objpak/TypeInconsistency.html
+%%DOCSDIR%%/html/objpak/UnknownType.html
+ at dirrmtry %%DOCSDIR%%/html/objpak
+ at dirrmtry %%DOCSDIR%%/html/objcrt
+ at dirrmtry %%DOCSDIR%%/html/cakit
+ at dirrmtry %%DOCSDIR%%/html
+ at dirrmtry %%DOCSDIR%%/examples
+ at dirrmtry %%DOCSDIR%%
+ at dirrmtry include/ppi
+ at dirrmtry include/oclib
+ at dirrmtry include/objpak
+ at dirrmtry include/objcrt
+ at dirrmtry include/cakit
--- /dev/null
+++ lang/objc/Makefile
@@ -0,0 +1,50 @@
+# New ports collection makefile for:    objc compiler
+# Date created:         14 Nov 2007
+# Whom:                 Lucas Holt <luke at midnightbsd.org>
+#
+# $MidnightBSD: mports/lang/objc/Makefile,v 1.1 2007/11/14 23:18:39 laffer1 Exp $
+# $FreeBSD: ports/lang/objc/Makefile,v 1.34 2007/11/14 19:39:34 stas Exp $
+#
+
+PORTNAME=	objc
+PORTVERSION=	3.2.8
+CATEGORIES=	lang
+MASTER_SITES=	http://users.pandora.be/stes/
+DISTFILES=	objc-bootstrap-${BOOTVERSION}.tar.gz objc-${PORTVERSION}.tar.gz
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	Portable Object Compiler
+LICENSE=	gpl2
+
+BOOTVERSION=	3.2.8
+
+ALL_TARGET=	default
+MAKE_ENV=	PATH=${WRKDIR}/bin:${PATH}
+GNU_CONFIGURE=	yes
+CONFIGURE_ARGS+=	--build=${ARCH}-portbld-freebsd6.0
+CONFIGURE_ENV=	PATH=${WRKDIR}/bin:${PATH}
+USE_GCC=	3.4
+
+FAKE_MAKEARGS+=	INSTALLDIR=${FAKE_DESTDIR}${PREFIX}
+
+#
+# We need the compiler in run-time
+#
+RUN_DEPENDS+=	${_GCC_PORT_DEPENDS}:${PORTSDIR}/lang/${_GCC_BUILD_DEPENDS}
+
+.include <bsd.port.pre.mk>
+
+pre-configure:
+	cd ${WRKDIR}/${PORTNAME}-bootstrap-${BOOTVERSION};\
+	${CONFIGURE_ENV} ./configure --build=${ARCH}-portbld-freebsd6.0 --prefix=${WRKDIR};${MAKE};${MAKE} install
+
+pre-install:
+	${MKDIR} ${PREFIX}/share/doc/objc
+	${MKDIR} ${PREFIX}/share/doc/objc/examples
+	${MKDIR} ${PREFIX}/share/doc/objc/html
+	${TAR} -cf - -C ${WRKSRC}/examples . | ${TAR} xpf - -C ${PREFIX}/share/doc/objc/examples
+	${TAR} -cf - -C ${WRKSRC}/html . | ${TAR} xpf - -C ${PREFIX}/share/doc/objc/html
+
+.include "${FILESDIR}/manpages.mk"
+
+.include <bsd.port.post.mk>
--- /dev/null
+++ lang/objc/distinfo
@@ -0,0 +1,6 @@
+MD5 (objc-bootstrap-3.2.8.tar.gz) = cc613d3496fff120c807f8dd4b00110f
+SHA256 (objc-bootstrap-3.2.8.tar.gz) = 8b555babf9ad6552b079c8abac34dd0f325aca50032f1af1071e048b43326aa4
+SIZE (objc-bootstrap-3.2.8.tar.gz) = 354774
+MD5 (objc-3.2.8.tar.gz) = a97fcba3a7355ff6f7ea9ebcd408d4f5
+SHA256 (objc-3.2.8.tar.gz) = ae2e7f2aa529bfcbdf9e18660442bea1c20327f5793bbdef16ece89932f72d58
+SIZE (objc-3.2.8.tar.gz) = 886209
--- /dev/null
+++ lang/objc/files/manpages.mk
@@ -0,0 +1,46 @@
+MAN1+=		cvtimport.1
+MAN1+=		objc.1
+MAN1+=		postlink.1
+MAN1+=		vici.1
+MAN3+=		AsciiFiler.3
+MAN3+=		Array.3
+MAN3+=		BigInt.3
+MAN3+=		BadVersion.3
+MAN3+=		Bag.3
+MAN3+=		CAObject.3
+MAN3+=		Block.3
+MAN3+=		Complex.3
+MAN3+=		Cltn.3
+MAN3+=		Dictionary.3
+MAN3+=		Exception.3
+MAN3+=		Float.3
+MAN3+=		Fraction.3
+MAN3+=		IdArray.3
+MAN3+=		IntArray.3
+MAN3+=		IntegerModp.3
+MAN3+=		Matrix.3
+MAN3+=		Message.3
+MAN3+=		Monomial.3
+MAN3+=		NotFound.3
+MAN3+=		Object.3
+MAN3+=		OrdCltn.3
+MAN3+=		OutOfBounds.3
+MAN3+=		OutOfMemory.3
+MAN3+=		Paragraph.3
+MAN3+=		Point.3
+MAN3+=		Polynomial.3
+MAN3+=		Rectangle.3
+MAN3+=		RunArray.3
+MAN3+=		Set.3
+MAN3+=		Sequence.3
+MAN3+=		SortCltn.3
+MAN3+=		Stack.3
+MAN3+=		String.3
+MAN3+=		Symbol.3
+MAN3+=		Term.3
+MAN3+=		Text.3
+MAN3+=		TextAttribute.3
+MAN3+=		TextStyle.3
+MAN3+=		TypeInconsistency.3
+MAN3+=		UnknownType.3
+MAN3+=		Vector.3
--- /dev/null
+++ lang/objc/files/patch-ab
@@ -0,0 +1,11 @@
+--- configure.orig	Sat Jan  8 00:59:34 2000
++++ configure	Sat Jan  8 00:59:44 2000
+@@ -1779,7 +1779,7 @@
+ 	*mwc*)
+ 		DOTSHLIBSUFFIX=".o";;
+ 	*freebsd*)
+-		DOTSHLIBSUFFIX=".so.2.1";;
++		DOTSHLIBSUFFIX=".so.2";;
+ 	*hpux*)
+ 		DOTSHLIBSUFFIX=".sl";;
+ 	*)
--- /dev/null
+++ lang/objc/files/patch-src_objc_Makefile.in
@@ -0,0 +1,11 @@
+--- src/objc/Makefile.in.orig	Mon Nov 13 14:10:19 2006
++++ src/objc/Makefile.in	Mon Nov 13 14:10:49 2006
+@@ -82,7 +82,7 @@
+ 	$(YACC) $*.ym
+ 	-$(CP) $(YTABH) $*.h
+ 	-$(CP) $(YTABC) $*.m
+-	$(OBJC) -c $(MFLAGS) $(IFLAGS) $*.m
++	$(OBJC) -c $(MFLAGS) -Dlint $(IFLAGS) $*.m
+ 	-$(RM) $(YTABC)
+ 	-$(RM) $*.m
+ 


More information about the Midnightbsd-cvs mailing list