aboutsummaryrefslogtreecommitdiffstats
path: root/lang/objc/Makefile
diff options
context:
space:
mode:
authorchuckr <chuckr@FreeBSD.org>1997-03-19 06:53:48 +0800
committerchuckr <chuckr@FreeBSD.org>1997-03-19 06:53:48 +0800
commit7966fcdc3973a7b7524c8344e779269a293ef99e (patch)
tree56da2a6a37c896f80a0b93f702770135b17194de /lang/objc/Makefile
parentd6ecf332a87f20f3e7761d5c4273e9da7a8d1d63 (diff)
downloadfreebsd-ports-gnome-7966fcdc3973a7b7524c8344e779269a293ef99e.tar.gz
freebsd-ports-gnome-7966fcdc3973a7b7524c8344e779269a293ef99e.tar.zst
freebsd-ports-gnome-7966fcdc3973a7b7524c8344e779269a293ef99e.zip
New port, objc, an Objective C compiler.
Diffstat (limited to 'lang/objc/Makefile')
-rw-r--r--lang/objc/Makefile36
1 files changed, 36 insertions, 0 deletions
diff --git a/lang/objc/Makefile b/lang/objc/Makefile
new file mode 100644
index 000000000000..ecb22b720259
--- /dev/null
+++ b/lang/objc/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: objc compiler
+# Version required: 1.12
+# Date created: 14 March 1997
+# Whom: chuckr@freebsd.org
+#
+# $Id$
+#
+
+DISTNAME= objc
+PKGNAME= objc-1.1.12
+CATEGORIES= lang
+MASTER_SITES= http://www.can.nl/~stes/Software/
+
+MAINTAINER= chuckr@freebsd.org
+
+HAS_CONFIGURE= yes
+
+SYSNAME!= uname -r
+
+.if ${SYSNAME} == "3.0-CURRENT"
+DISTFILES= objc1.1.12-i386-unknown-freebsd3.0.tar.gz
+WRKSRC= $(WRKDIR)/objc1.1.12-i386-unknown-freebsd3.0
+.elif ${SYSNAME} == "2.2-RELEASE"
+DISTFILES= objc1.1.12-i386-unknown-freebsd2.2.tar.gz
+WRKSRC= $(WRKDIR)/objc1.1.12-i386-unknown-freebsd2.2
+.elif ${SYSNAME} == "2.1.7-RELEASE"
+DISTFILES= objc1.1.12-i386-unknown-freebsd2.1.7.tar.gz
+WRKSRC= $(WRKDIR)/objc1.1.12-i386-unknown-freebsd2.1.7
+.else
+BROKEN= Only suppports current, 2.2, and 2.1.7. Sorry!
+.endif
+
+MAKE_ENV= env OBJCDIR=${WRKSRC} CFLAGS=-O
+CONFIGURE_ENV= OBJCC="env OBJCDIR=$(WRKSRC) $(WRKSRC)/bin/objc -q -g -noI -noLibs" CFLAGS=-O
+
+.include <bsd.port.mk>