1997-03-18 22:53:48 +00:00
|
|
|
# New ports collection makefile for: objc compiler
|
|
|
|
# Version required: 1.12
|
|
|
|
# Date created: 14 March 1997
|
|
|
|
# Whom: chuckr@freebsd.org
|
|
|
|
#
|
1997-03-25 10:32:44 +00:00
|
|
|
# $Id: Makefile,v 1.2 1997/03/25 08:17:43 obrien Exp $
|
1997-03-18 22:53:48 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= objc
|
|
|
|
PKGNAME= objc-1.1.12
|
|
|
|
CATEGORIES= lang
|
|
|
|
MASTER_SITES= http://www.can.nl/~stes/Software/
|
|
|
|
|
|
|
|
MAINTAINER= chuckr@freebsd.org
|
|
|
|
|
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
|
1997-03-25 10:32:44 +00:00
|
|
|
SYSNAME!= uname -r | /usr/bin/sed -e 's/-.*$$//g'
|
1997-03-18 22:53:48 +00:00
|
|
|
|
1997-03-25 10:32:44 +00:00
|
|
|
.if ${SYSNAME} == "3.0"
|
1997-03-18 22:53:48 +00:00
|
|
|
DISTFILES= objc1.1.12-i386-unknown-freebsd3.0.tar.gz
|
|
|
|
WRKSRC= $(WRKDIR)/objc1.1.12-i386-unknown-freebsd3.0
|
1997-03-25 10:32:44 +00:00
|
|
|
.elif ${SYSNAME} == "2.2"
|
1997-03-18 22:53:48 +00:00
|
|
|
DISTFILES= objc1.1.12-i386-unknown-freebsd2.2.tar.gz
|
|
|
|
WRKSRC= $(WRKDIR)/objc1.1.12-i386-unknown-freebsd2.2
|
1997-03-25 10:32:44 +00:00
|
|
|
.elif (${SYSNAME} == "2.1.7" || ${SYSNAME} == "2.1.6" || ${SYSNAME} == "2.1.5")
|
1997-03-18 22:53:48 +00:00
|
|
|
DISTFILES= objc1.1.12-i386-unknown-freebsd2.1.7.tar.gz
|
|
|
|
WRKSRC= $(WRKDIR)/objc1.1.12-i386-unknown-freebsd2.1.7
|
|
|
|
.else
|
1997-03-25 08:17:43 +00:00
|
|
|
BROKEN= Only suppports FreeBSD current, 2.2, and 2.1.{7,6,5}. Sorry!
|
1997-03-18 22:53:48 +00:00
|
|
|
.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>
|