summaryrefslogtreecommitdiff
path: root/graphics/qore-opengl-module/Makefile
diff options
context:
space:
mode:
authorwiz <wiz>2014-12-30 15:57:09 +0000
committerwiz <wiz>2014-12-30 15:57:09 +0000
commitc0a42021aedb32ba1a17d8ad9cd12db9f149166b (patch)
tree9d529d6c03a47bf8b3d7929203ac3c164108076d /graphics/qore-opengl-module/Makefile
parent5ea5927cff29f205e45edd4718f11f3ede0018d5 (diff)
downloadpkgsrc-c0a42021aedb32ba1a17d8ad9cd12db9f149166b.tar.gz
Import qore-opengl-module-0.0.3nb4 as graphics/qore-opengl-module,
packaged for wip by nros. Opengl module for Qore. This module provides Opengl language bindings for Qore.
Diffstat (limited to 'graphics/qore-opengl-module/Makefile')
-rw-r--r--graphics/qore-opengl-module/Makefile36
1 files changed, 36 insertions, 0 deletions
diff --git a/graphics/qore-opengl-module/Makefile b/graphics/qore-opengl-module/Makefile
new file mode 100644
index 00000000000..6e5a2f4eab3
--- /dev/null
+++ b/graphics/qore-opengl-module/Makefile
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1 2014/12/30 15:57:09 wiz Exp $
+
+DISTNAME= qore-opengl-module-0.0.3
+PKGREVISION= 4
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=qore/}
+
+MAINTAINER= nros@users.sourceforge.net
+HOMEPAGE= http://www.qore.org/
+COMMENT= OpenGL Qore bindings
+LICENSE= gnu-lgpl-v2.1
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_LANGUAGES= c c++
+USE_TOOLS+= autoconf automake gmake
+PTHREAD_OPTS+= native
+
+pre-configure:
+ set -e; cd ${WRKSRC}; \
+ aclocal; autoheader; automake -a --foreign -i; autoconf
+
+CONFIGURE_ARGS+=--with-opengl=${BUILDLINK_PREFIX.MesaLib}
+
+INSTALLATION_DIRS+= share/doc/${PKGBASE}
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/docs/opengl-module-doc.html \
+ ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
+
+.include "options.mk"
+
+.include "../../graphics/glu/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../lang/qore/buildlink3.mk"
+.include "../../lang/qore/module.mk"
+.include "../../mk/bsd.pkg.mk"