summaryrefslogtreecommitdiff
path: root/lang/oo2c/Makefile
diff options
context:
space:
mode:
authorjtb <jtb@pkgsrc.org>2003-05-02 23:32:39 +0000
committerjtb <jtb@pkgsrc.org>2003-05-02 23:32:39 +0000
commit2420d4cc45b65b0165ee14a1299792890272f098 (patch)
treebf0365ee08bfe2c4817f12d2aa84fd13285cd339 /lang/oo2c/Makefile
parente2273edc7d17bf9e3af10b675b13c1ed4f1c5431 (diff)
downloadpkgsrc-2420d4cc45b65b0165ee14a1299792890272f098.tar.gz
Initial import of oo2c.
In short, OOC is an Internet based project providing an Oberon-2 development platform. It consists of * an optimizing compiler, * a number of source code and compiler related tools, * a set of standard library modules, and * a reference manual. oo2c is the first complete working compiler of the OOC project. Instead of translating Oberon-2 modules to machine code, it generates code for the most portable assembler in existence: ANSI-C. The compiler was initially intended as a prototype backend for OOC, which could then be used to evaluate and debug the frontend and the optimization modules. However, it is now a full-fledged development system, and among other things, it is being used to develop native code OOC backends.
Diffstat (limited to 'lang/oo2c/Makefile')
-rw-r--r--lang/oo2c/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/lang/oo2c/Makefile b/lang/oo2c/Makefile
new file mode 100644
index 00000000000..5aa00e691c1
--- /dev/null
+++ b/lang/oo2c/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/05/02 23:32:39 jtb Exp $
+
+.if (${MACHINE_ARCH} == "alpha") || (${MACHINE_ARCH} == "sparc64")
+DISTNAME= oo2c_64-2.0.8
+.else
+DISTNAME= oo2c_32-2.0.8
+.endif
+PKGNAME= oo2c-2.0.8
+CATEGORIES= lang
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ooc/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://ooc.sourceforge.net
+COMMENT= Optimizing Oberon-2 Compiler
+
+DEPENDS+= libtool-base-[0-9]*:../../devel/libtool
+DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt
+
+USE_BUILDLINK2= yes
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+USE_LIBTOOL= yes
+
+post-install:
+ cd ${PREFIX}/share/doc/html && ${LN} -sf ${PREFIX}/lib/oo2c/oocdoc/html oo2c
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/emacs/site-lisp
+ cd ${PREFIX}/share/emacs/site-lisp && ${LN} -sf ${PREFIX}/lib/oo2c/emacs oo2c
+
+.include "../../devel/boehm-gc/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"