1997-03-18 17:53:48 -05:00
|
|
|
# New ports collection makefile for: objc compiler
|
1998-05-16 12:06:58 -04:00
|
|
|
# Date created: 16 May 1998
|
1997-03-18 17:53:48 -05:00
|
|
|
# Whom: chuckr@freebsd.org
|
|
|
|
#
|
1999-08-25 02:35:40 -04:00
|
|
|
# $FreeBSD$
|
1997-03-18 17:53:48 -05:00
|
|
|
#
|
|
|
|
|
2000-04-12 02:21:15 -04:00
|
|
|
PORTNAME= objc
|
|
|
|
PORTVERSION= 3.1.5
|
|
|
|
CATEGORIES= lang
|
2000-06-23 09:22:00 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SUNSITE} \
|
2000-06-29 03:03:02 -04:00
|
|
|
${MASTER_SITE_LOCAL}
|
|
|
|
MASTER_SITE_SUBDIR= devel/lang/objc chuckr
|
2000-01-10 01:31:26 -05:00
|
|
|
DISTFILES= objc-3.1.5-bootstrap.tar.gz objc-3.1.5.tar.gz
|
1997-03-18 17:53:48 -05:00
|
|
|
|
2000-04-12 02:21:15 -04:00
|
|
|
MAINTAINER= chuckr@freebsd.org
|
1997-03-18 17:53:48 -05:00
|
|
|
|
1999-03-21 08:25:28 -05:00
|
|
|
BUILD_DEPENDS= $(PREFIX)/lib/libgc.a:$(PORTSDIR)/devel/boehm-gc
|
1998-10-13 23:22:32 -04:00
|
|
|
|
1997-03-18 17:53:48 -05:00
|
|
|
HAS_CONFIGURE= yes
|
2000-06-07 18:37:42 -04:00
|
|
|
MAN1= cvtimport.1 objc.1 postlink.1 vici.1
|
1999-03-21 08:25:28 -05: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 01:31:26 -05:00
|
|
|
BigInt.3 IntegerModp.3 Matrix.3 Message.3 Monomial.3 Object.3\
|
1999-03-21 08:25:28 -05: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 01:31:26 -05:00
|
|
|
CONFIGURE_ARGS= --prefix=$(PREFIX)
|
|
|
|
#CONFIGURE_ARGS= --prefix=$(PREFIX) --gcprefix=$(PREFIX)
|
1998-05-14 22:48:32 -04:00
|
|
|
|
1999-03-21 08:25:28 -05:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
1998-05-14 22:48:32 -04:00
|
|
|
pre-configure:
|
2000-06-23 09:22:00 -04:00
|
|
|
(cd $(WRKDIR)/$(DISTNAME)-bootstrap;./configure --prefix=$(WRKDIR);${MAKE};${MAKE} install)
|
1998-05-14 22:48:32 -04:00
|
|
|
|
|
|
|
post-build:
|
1999-03-21 08:25:28 -05:00
|
|
|
$(ECHO) "Building additional libraries (boehm-gc compatibility)"
|
1999-08-27 23:41:25 -04:00
|
|
|
(cd $(WRKSRC); ${SETENV} PATH=$(WRKDIR)/bin:$(PATH) ./makeLibs)
|
1998-05-14 22:48:32 -04:00
|
|
|
|
1999-03-21 08:25:28 -05:00
|
|
|
pre-install:
|
1998-05-14 22:48:32 -04:00
|
|
|
$(MKDIR) $(PREFIX)/share/doc/objc
|
1999-03-21 08:25:28 -05:00
|
|
|
$(MKDIR) $(PREFIX)/share/doc/objc/examples
|
|
|
|
$(MKDIR) $(PREFIX)/share/doc/objc/html
|
2000-06-23 09:22:00 -04:00
|
|
|
${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 17:53:48 -05:00
|
|
|
|
1999-03-21 08:25:28 -05:00
|
|
|
.include <bsd.port.post.mk>
|