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
|
2007-09-09 16:25:26 +00:00
|
|
|
PORTVERSION= 3.2.8
|
2007-11-14 19:39:34 +00:00
|
|
|
PORTREVISION= 1
|
2000-04-12 06:21:15 +00:00
|
|
|
CATEGORIES= lang
|
2002-11-30 22:34:35 +00:00
|
|
|
MASTER_SITES= http://users.pandora.be/stes/
|
2005-02-04 15:15:41 +00:00
|
|
|
DISTFILES= objc-bootstrap-${BOOTVERSION}.tar.gz objc-${PORTVERSION}.tar.gz
|
1997-03-18 22:53:48 +00:00
|
|
|
|
2006-11-13 11:23:39 +00:00
|
|
|
MAINTAINER= stas@FreeBSD.org
|
2003-03-07 06:14:21 +00:00
|
|
|
COMMENT= Portable Object Compiler
|
1997-03-18 22:53:48 +00:00
|
|
|
|
2007-09-09 16:25:26 +00:00
|
|
|
BOOTVERSION= 3.2.8
|
2002-12-31 01:18:40 +00:00
|
|
|
|
|
|
|
ALL_TARGET= default
|
2006-07-28 15:38:30 +00:00
|
|
|
MAKE_ENV= PATH=${WRKDIR}/bin:${PATH}
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV= PATH=${WRKDIR}/bin:${PATH}
|
2007-09-09 16:25:26 +00:00
|
|
|
USE_GCC= 3.4
|
1998-05-15 02:48:32 +00:00
|
|
|
|
2007-11-14 23:19:19 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
2007-11-14 19:39:34 +00:00
|
|
|
#
|
|
|
|
# We need the compiler in run-time
|
|
|
|
#
|
2007-11-14 23:19:19 +00:00
|
|
|
.if ${OSVERSION} >= 700042
|
2007-11-14 19:39:34 +00:00
|
|
|
RUN_DEPENDS+= ${_GCC_PORT_DEPENDS}:${PORTSDIR}/lang/${_GCC_BUILD_DEPENDS}
|
2007-11-14 23:19:19 +00:00
|
|
|
.endif
|
1999-03-21 13:25:28 +00:00
|
|
|
|
1998-05-15 02:48:32 +00:00
|
|
|
pre-configure:
|
2006-07-28 15:38:30 +00:00
|
|
|
cd ${WRKDIR}/${PORTNAME}-bootstrap-${BOOTVERSION};\
|
|
|
|
${CONFIGURE_ENV} ./configure --prefix=${WRKDIR};${MAKE};${MAKE} install
|
1998-05-15 02:48:32 +00:00
|
|
|
|
1999-03-21 13:25:28 +00:00
|
|
|
pre-install:
|
2006-07-28 15:38:30 +00:00
|
|
|
${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
|
1997-03-18 22:53:48 +00:00
|
|
|
|
2002-12-31 01:18:40 +00:00
|
|
|
.include "${FILESDIR}/manpages.mk"
|
|
|
|
|
1999-03-21 13:25:28 +00:00
|
|
|
.include <bsd.port.post.mk>
|