blob: ecb22b7202595ac19985903c2f6875934e2a2a13 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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>
|