aboutsummaryrefslogtreecommitdiffstats
path: root/lang/objc/Makefile
diff options
context:
space:
mode:
authorchuckr <chuckr@FreeBSD.org>1999-03-21 21:25:28 +0800
committerchuckr <chuckr@FreeBSD.org>1999-03-21 21:25:28 +0800
commit270ea28d56d83ffb36892ab439ad0d529e3d21b7 (patch)
tree7d5e313fc208864932040ef7298abbc8eeec97b6 /lang/objc/Makefile
parent54153efa53d2e570c8494a2cd4995ead16cc1072 (diff)
downloadfreebsd-ports-gnome-270ea28d56d83ffb36892ab439ad0d529e3d21b7.tar.gz
freebsd-ports-gnome-270ea28d56d83ffb36892ab439ad0d529e3d21b7.tar.zst
freebsd-ports-gnome-270ea28d56d83ffb36892ab439ad0d529e3d21b7.zip
Update objc to version 2.2.15. Right now is does static libs only,
but I'm still working on it, and I think I'll get it to do shared libs soon.
Diffstat (limited to 'lang/objc/Makefile')
-rw-r--r--lang/objc/Makefile45
1 files changed, 25 insertions, 20 deletions
diff --git a/lang/objc/Makefile b/lang/objc/Makefile
index 5932b7963102..c05e61bf45ad 100644
--- a/lang/objc/Makefile
+++ b/lang/objc/Makefile
@@ -3,41 +3,46 @@
# Date created: 16 May 1998
# Whom: chuckr@freebsd.org
#
-# $Id: Makefile,v 1.7 1998/05/16 16:06:49 chuckr Exp $
+# $Id: Makefile,v 1.8 1998/10/14 03:22:32 jseger Exp $
#
-DISTNAME= objc-1.8.18
+DISTNAME= objc-2.2.15
CATEGORIES= lang
MASTER_SITES= http://www.can.nl/~stes/Software/
-DISTFILES= objc-1.8.18.tar.gz bootstrap-1.8.17.tar.gz
+DISTFILES= objc-2.2.15-bootstrap.tar.gz objc-2.2.15.tar.gz
MAINTAINER= chuckr@freebsd.org
-BROKEN_ELF= yes
+BUILD_DEPENDS= $(PREFIX)/lib/libgc.a:$(PORTSDIR)/devel/boehm-gc
HAS_CONFIGURE= yes
MAN1= cvtimport.1 objc.1 postlink.1
-MAN3= AsciiFiler.3 Array.3 CAObject.3 Bag.3 Block.3 Complex.3 \
- Cltn.3 Dictionary.3 Float.3 Fraction.3 IdArray.3 IntArray.3 \
- Integer.3 IntegerModp.3 Matrix.3 Monomial.3 Object.3 \
- OrdCltn.3 Point.3 Polynomial.3 Rectangle.3 Sequence.3 Set.3 \
- SortCltn.3 Stack.3 String.3 Symbol.3 Term.3 Vector.3
-
-BUILD_DEPENDS= $(PREFIX)/lib/libgc.a:$(PORTSDIR)/devel/boehm-gc
-
-ALL_TARGET= default cakit objcplus bootstrap
-MAKE_ENV= PATH=$(WRKDIR)/bootstrap/bin:$(PATH)
-CONFIGURE_ENV= PATH=$(WRKDIR)/bootstrap/bin:$(PATH)
+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\
+ Integer.3 IntegerModp.3 Matrix.3 Message.3 Monomial.3 Object.3\
+ 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)
CONFIGURE_ARGS= --prefix=$(PREFIX) --gcprefix=$(PREFIX)
+.include <bsd.port.pre.mk>
+
pre-configure:
- (cd $(WRKDIR)/bootstrap;./configure --prefix=$(WRKDIR)/bootstrap --gcprefix=$(PREFIX);$(MKDIR) $(WRKDIR)/bootstrap/bin;make default install)
+ (cd $(WRKDIR)/$(DISTNAME)-bootstrap;./configure --prefix=$(WRKDIR);make;make install)
post-build:
- (cd $(WRKSRC); env PATH=$(WRKDIR)/bootstrap/bin:$(PATH) OBJCDIR=$(WRKSRC) ./moreLibs -boehm)
+ $(ECHO) "Building additional libraries (boehm-gc compatibility)"
+ (cd $(WRKSRC); env PATH=$(WRKDIR)/bin:$(PATH) ./makeLibs)
-post-install:
+pre-install:
$(MKDIR) $(PREFIX)/share/doc/objc
- $(INSTALL_DATA) $(WRKSRC)/manual.html $(PREFIX)/share/doc/objc
+ $(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
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>