mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-09 06:51:44 +00:00
8fa14934e7
Based on PR: 44832 Submitted by: Miguel Mendez <flynn@energyhq.homeip.net>
46 lines
1.5 KiB
Makefile
46 lines
1.5 KiB
Makefile
# New ports collection makefile for: objc compiler
|
|
# Date created: 16 May 1998
|
|
# Whom: chuckr@freebsd.org
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= objc
|
|
PORTVERSION= 3.1.32
|
|
CATEGORIES= lang
|
|
MASTER_SITES= http://users.pandora.be/stes/
|
|
DISTFILES= objc-bootstrap-${PORTVERSION}.tar.gz objc-${PORTVERSION}.tar.gz
|
|
|
|
MAINTAINER= chuckr@freebsd.org
|
|
|
|
#BUILD_DEPENDS= $(PREFIX)/lib/libgc.a:$(PORTSDIR)/devel/boehm-gc
|
|
|
|
HAS_CONFIGURE= yes
|
|
MAN1= cvtimport.1 objc.1 postlink.1 vici.1
|
|
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\
|
|
BigInt.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)
|
|
#CONFIGURE_ARGS= --prefix=$(PREFIX) --gcprefix=$(PREFIX)
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
pre-configure:
|
|
(cd $(WRKDIR)/${PORTNAME}-bootstrap-$(PORTVERSION);./configure --prefix=$(WRKDIR);${MAKE};${MAKE} install)
|
|
|
|
pre-install:
|
|
$(MKDIR) $(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.post.mk>
|