summaryrefslogtreecommitdiff
path: root/lang/oo2c/Makefile
diff options
context:
space:
mode:
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"