pkgsrc/lang/oo2c/Makefile
jtb 2420d4cc45 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.
2003-05-02 23:32:39 +00:00

31 lines
893 B
Makefile

# $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"