1997-03-18 22:53:48 +00:00
|
|
|
# New ports collection makefile for: objc compiler
|
1998-05-16 16:06:58 +00:00
|
|
|
# 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-04-12 06:21:15 +00:00
|
|
|
PORTNAME= objc
|
|
|
|
PORTVERSION= 3.1.5
|
|
|
|
CATEGORIES= lang
|
2000-06-23 13:22:00 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SUNSITE} \
|
2000-06-29 07:03:02 +00:00
|
|
|
${MASTER_SITE_LOCAL}
|
|
|
|
MASTER_SITE_SUBDIR= devel/lang/objc 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
|
|
|
|
2000-04-12 06:21:15 +00:00
|
|
|
MAINTAINER= chuckr@freebsd.org
|
1997-03-18 22:53:48 +00:00
|
|
|
|
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
|
2000-06-07 22:37:42 +00:00
|
|
|
MAN1= cvtimport.1 objc.1 postlink.1 vici.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:
|
2000-06-23 13:22:00 +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
|
2000-06-23 13:22:00 +00: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 22:53:48 +00:00
|
|
|
|
1999-03-21 13:25:28 +00:00
|
|
|
.include <bsd.port.post.mk>
|