1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/lang/objc/Makefile
Pav Lucistnik 38eb8c5339 - Mark MAKE_JOBS_UNSAFE
Reported by:	pointyhat
2009-11-20 22:53:09 +00:00

49 lines
1.2 KiB
Makefile

# New ports collection makefile for: objc compiler
# Date created: 16 May 1998
# Whom: chuckr@freebsd.org
#
# $FreeBSD$
#
PORTNAME= objc
PORTVERSION= 3.2.8
PORTREVISION= 1
CATEGORIES= lang
MASTER_SITES= http://users.telenet.be/stes/
DISTFILES= objc-bootstrap-${BOOTVERSION}.tar.gz objc-${PORTVERSION}.tar.gz
MAINTAINER= stas@FreeBSD.org
COMMENT= Portable Object Compiler
BOOTVERSION= 3.2.8
ALL_TARGET= default
MAKE_ENV= PATH=${WRKDIR}/bin:${PATH}
GNU_CONFIGURE= yes
CONFIGURE_ENV= PATH=${WRKDIR}/bin:${PATH}
USE_GCC= 3.4
MAKE_JOBS_UNSAFE= yes
.include <bsd.port.pre.mk>
#
# We need the compiler in run-time
#
.if ${OSVERSION} >= 700042
RUN_DEPENDS+= ${_GCC_PORT_DEPENDS}:${PORTSDIR}/lang/${_GCC_BUILD_DEPENDS}
.endif
pre-configure:
cd ${WRKDIR}/${PORTNAME}-bootstrap-${BOOTVERSION};\
${CONFIGURE_ENV} ./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 "${FILESDIR}/manpages.mk"
.include <bsd.port.post.mk>