From d9b82d400a9defa53527b2ff3cfd7d584f14f7e0 Mon Sep 17 00:00:00 2001 From: rh Date: Fri, 24 Sep 2004 00:28:01 +0000 Subject: Initial import of objc-3.2.5, a Portable Object Compiler for translating Objective-C to C plus an associated class library. --- lang/objc/Makefile | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 lang/objc/Makefile (limited to 'lang/objc/Makefile') diff --git a/lang/objc/Makefile b/lang/objc/Makefile new file mode 100644 index 00000000000..111d78f4add --- /dev/null +++ b/lang/objc/Makefile @@ -0,0 +1,39 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/09/24 00:28:01 rh Exp $ +# + +DISTNAME= objc-3.2.5 +CATEGORIES= lang +MASTER_SITES= http://users.pandora.be/stes/ +DISTFILES= ${DIST_BS}${EXTRACT_SUFX} ${DISTNAME}${EXTRACT_SUFX} + +MAINTAINER= tech-pkg@NetBSD.org +HOMEPAGE= http://users.pandora.be/stes/compiler.html +COMMENT= Portable Object Compiler + +DIST_BS= objc-bootstrap-3.1.33 +WRKSRC_BS= ${WRKDIR}/${DIST_BS} + +CONFIGURE_DIRS= ${WRKSRC_BS} ${WRKSRC} +PREPEND_PATH+= ${WRKSRC_BS} +ALL_TARGET= default + +USE_GNU_TOOLS+= lex +USE_BUILDLINK3= yes +USE_PKGLOCALEDIR= yes +GNU_CONFIGURE= yes + +pre-configure: + ${ECHO} >> ${WRKSRC_BS}/configure \ + '${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${BUILD_MAKE_FLAGS} -f ${MAKEFILE} ${ALL_TARGET}' + +post-extract: + ${RM} -rf `${FIND} ${WRKSRC} -name CVS -type d` + +post-configure: + ${LN} -s . ${WRKSRC_BS}/bin + ${SED} < ${WRKSRC_BS}/objc > ${WRKDIR}/oc.tmp \ + -e 's|${PREFIX}|${WRKSRC_BS}|g' + ${MV} ${WRKDIR}/oc.tmp ${WRKSRC_BS}/objc + ${CHMOD} +x ${WRKSRC_BS}/objc + +.include "../../mk/bsd.pkg.mk" -- cgit v1.2.3