1997-03-18 22:53:48 +00:00
|
|
|
# New ports collection makefile for: objc compiler
|
1998-05-16 16:06:58 +00:00
|
|
|
# Version required: 1.8.18
|
|
|
|
# Date created: 16 May 1998
|
1997-03-18 22:53:48 +00:00
|
|
|
# Whom: chuckr@freebsd.org
|
|
|
|
#
|
1999-08-25 06:35:40 +00:00
|
|
|
# $FreeBSD$
|
1997-03-18 22:53:48 +00:00
|
|
|
#
|
|
|
|
|
2000-01-10 06:31:26 +00:00
|
|
|
DISTNAME= objc-3.1.5
|
1997-03-18 22:53:48 +00:00
|
|
|
CATEGORIES= lang
|
1999-03-21 18:16:35 +00:00
|
|
|
MASTER_SITES= http://metalab.unc.edu/pub/Linux/devel/lang/objc/ \
|
2000-02-08 09:29:51 +00:00
|
|
|
http://people.FreeBSD.org/~chuckr/
|
2000-01-10 06:31:26 +00:00
|
|
|
DISTFILES= objc-3.1.5-bootstrap.tar.gz objc-3.1.5.tar.gz
|
1997-03-18 22:53:48 +00:00
|
|
|
|
|
|
|
MAINTAINER= chuckr@freebsd.org
|
|
|
|
|
1999-03-21 13:25:28 +00:00
|
|
|
BUILD_DEPENDS= $(PREFIX)/lib/libgc.a:$(PORTSDIR)/devel/boehm-gc
|
1998-10-14 03:22:32 +00:00
|
|
|
|
1997-03-18 22:53:48 +00:00
|
|
|
HAS_CONFIGURE= yes
|
1998-05-15 02:48:32 +00:00
|
|
|
MAN1= cvtimport.1 objc.1 postlink.1
|
1999-03-21 13:25:28 +00:00
|
|
|
MAN3= Array.3 AsciiFiler.3 Bag.3 Block.3 CAObject.3 Cltn.3 \
|
|
|
|
Complex.3 Dictionary.3 Float.3 Fraction.3 IdArray.3 IntArray.3\
|
2000-01-10 06:31:26 +00:00
|
|
|
BigInt.3 IntegerModp.3 Matrix.3 Message.3 Monomial.3 Object.3\
|
1999-03-21 13:25:28 +00:00
|
|
|
OrdCltn.3 Paragraph.3 Point.3 Polynomial.3 Rectangle.3 \
|
|
|
|
RunArray.3 Set.3 Sequence.3 SortCltn.3 Stack.3 String.3 \
|
|
|
|
Symbol.3 Term.3 Text.3 TextAttribute.3 TextStyle.3 Vector.3
|
|
|
|
|
|
|
|
ALL_TARGET= compiler
|
|
|
|
MAKE_ENV= PATH=$(WRKDIR)/bin:$(PATH)
|
|
|
|
CONFIGURE_ENV= PATH=$(WRKDIR)/bin:$(PATH)
|
2000-01-10 06:31:26 +00:00
|
|
|
CONFIGURE_ARGS= --prefix=$(PREFIX)
|
|
|
|
#CONFIGURE_ARGS= --prefix=$(PREFIX) --gcprefix=$(PREFIX)
|
1998-05-15 02:48:32 +00:00
|
|
|
|
1999-03-21 13:25:28 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
1998-05-15 02:48:32 +00:00
|
|
|
pre-configure:
|
1999-03-21 13:25:28 +00:00
|
|
|
(cd $(WRKDIR)/$(DISTNAME)-bootstrap;./configure --prefix=$(WRKDIR);make;make install)
|
1998-05-15 02:48:32 +00:00
|
|
|
|
|
|
|
post-build:
|
1999-03-21 13:25:28 +00:00
|
|
|
$(ECHO) "Building additional libraries (boehm-gc compatibility)"
|
1999-08-28 03:41:25 +00:00
|
|
|
(cd $(WRKSRC); ${SETENV} PATH=$(WRKDIR)/bin:$(PATH) ./makeLibs)
|
1998-05-15 02:48:32 +00:00
|
|
|
|
1999-03-21 13:25:28 +00:00
|
|
|
pre-install:
|
1998-05-15 02:48:32 +00:00
|
|
|
$(MKDIR) $(PREFIX)/share/doc/objc
|
1999-03-21 13:25:28 +00:00
|
|
|
$(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
|
1997-03-18 22:53:48 +00:00
|
|
|
|
1999-03-21 13:25:28 +00:00
|
|
|
.include <bsd.port.post.mk>
|