diff options
author | rh <rh@pkgsrc.org> | 2004-09-24 00:28:01 +0000 |
---|---|---|
committer | rh <rh@pkgsrc.org> | 2004-09-24 00:28:01 +0000 |
commit | d9b82d400a9defa53527b2ff3cfd7d584f14f7e0 (patch) | |
tree | 661ab33b1e4470921b0144b112cdc00e9a9de63c /lang/objc/Makefile | |
parent | aed38a18ae3f890e8e514c99259e463e4d3a92fe (diff) | |
download | pkgsrc-d9b82d400a9defa53527b2ff3cfd7d584f14f7e0.tar.gz |
Initial import of objc-3.2.5, a Portable Object Compiler for translating
Objective-C to C plus an associated class library.
Diffstat (limited to 'lang/objc/Makefile')
-rw-r--r-- | lang/objc/Makefile | 39 |
1 files changed, 39 insertions, 0 deletions
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" |