diff options
author | rh <rh> | 2004-09-24 00:28:01 +0000 |
---|---|---|
committer | rh <rh> | 2004-09-24 00:28:01 +0000 |
commit | d8918d80a36437cf19c88a1041fe4163c3ed2628 (patch) | |
tree | 661ab33b1e4470921b0144b112cdc00e9a9de63c /lang/objc/Makefile | |
parent | 5f5a83c16d019bd0356cb41d83bc1a6f9db3036b (diff) | |
download | pkgsrc-d8918d80a36437cf19c88a1041fe4163c3ed2628.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" |