summaryrefslogtreecommitdiff
path: root/lang/qore/Makefile
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2014-12-30 15:39:51 +0000
committerwiz <wiz@pkgsrc.org>2014-12-30 15:39:51 +0000
commit4099b9b928fe8f01f1eb9bb25a7e6912fdc720f6 (patch)
treeb6d3566d9dda2d4912fd9f0198e17fbc8a0d1ab6 /lang/qore/Makefile
parent00c2fd5b0872be3baa7e09befb21e6afe80eef35 (diff)
downloadpkgsrc-4099b9b928fe8f01f1eb9bb25a7e6912fdc720f6.tar.gz
Import qore-0.8.11nb2 as lang/qore, packaged for wip by nros.
Qore is a modular, multi-threaded, SQL-integrated dynamically typed scripting language with optional hard typing and procedural and object-oriented features, powerful and easy-to-use data types, structures, and operators, a clean and easy-to-lean/read syntax.
Diffstat (limited to 'lang/qore/Makefile')
-rw-r--r--lang/qore/Makefile46
1 files changed, 46 insertions, 0 deletions
diff --git a/lang/qore/Makefile b/lang/qore/Makefile
new file mode 100644
index 00000000000..ec82041a154
--- /dev/null
+++ b/lang/qore/Makefile
@@ -0,0 +1,46 @@
+# $NetBSD: Makefile,v 1.1 2014/12/30 15:39:51 wiz Exp $
+
+DISTNAME= qore-0.8.11
+PKGREVISION= 2
+CATEGORIES= lang
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=qore/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= nros@users.sourceforge.net
+COMMENT= Qore programming language
+HOMEPAGE= http://www.qore.org/
+LICENSE= gnu-gpl-v2 OR gnu-lgpl-v2.1 OR mit
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= bison flex gmake pax
+USE_LANGUAGES= c c++
+PTHREAD_OPTS+= native
+FLEX_REQD= 2.5.31
+
+PKGCONFIG_OVERRIDE+= qore.pc.in
+REPLACE_QORE= doxygen/qdx
+
+#This is needed in order to comply the with MIT license and binary distribution
+#Install docs
+licensedir= share/doc/qore/license
+INSTALLATION_DIRS+= ${licensedir}
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/COPYING.GPL ${DESTDIR}${PREFIX}/${licensedir}
+ ${INSTALL_DATA} ${WRKSRC}/COPYING.LGPL ${DESTDIR}${PREFIX}/${licensedir}
+ ${INSTALL_DATA} ${WRKSRC}/COPYING.MIT ${DESTDIR}${PREFIX}/${licensedir}
+ ${INSTALL_DATA} ${WRKSRC}/README-LICENSE ${DESTDIR}${PREFIX}/${licensedir}
+ cd ${WRKSRC}/docs/ && ${PAX} -wr * ${DESTDIR}${PREFIX}/share/doc/qore
+ ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DESTDIR}${PREFIX}/share/doc/qore
+
+.include "application.mk"
+.include "options.mk"
+
+.include "../../archivers/bzip2/buildlink3.mk"
+.include "../../converters/libiconv/buildlink3.mk"
+.include "../../devel/pcre/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../math/mpfr/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"