2018-06-08 21:53:30 +02:00
|
|
|
# $NetBSD: Makefile,v 1.7 2018/06/08 19:53:30 nros Exp $
|
2014-12-30 16:50:28 +01:00
|
|
|
|
2018-06-08 21:53:30 +02:00
|
|
|
DISTNAME= qore-json-module-1.7
|
2014-12-30 16:50:28 +01:00
|
|
|
CATEGORIES= textproc
|
2016-07-20 15:05:12 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=qorelanguage/}
|
2014-12-30 16:50:28 +01:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2016-07-20 15:05:12 +02:00
|
|
|
GITHUB_PROJECT= module-json
|
|
|
|
GITHUB_RELEASE= v${PKGVERSION_NOREV}
|
2014-12-30 16:50:28 +01:00
|
|
|
|
2016-07-20 15:05:12 +02:00
|
|
|
|
2016-08-07 13:44:42 +02:00
|
|
|
MAINTAINER= nros@NetBSD.org
|
2014-12-30 16:50:28 +01:00
|
|
|
COMMENT= JSON module for Qore
|
|
|
|
HOMEPAGE= http://www.qore.org/
|
|
|
|
LICENSE= gnu-lgpl-v2.1 OR mit
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_LIBTOOL= yes
|
2017-10-12 20:38:47 +02:00
|
|
|
USE_LANGUAGES= c c++11
|
2014-12-30 16:50:28 +01:00
|
|
|
USE_TOOLS+= gmake pax
|
|
|
|
PTHREAD_OPTS+= native
|
|
|
|
|
2016-07-20 15:05:12 +02:00
|
|
|
CONFIGURE_ARGS+=--with-libsuffix=""
|
2014-12-30 16:50:28 +01:00
|
|
|
|
|
|
|
#This is needed in order to comply the with MIT license and binary distribution
|
|
|
|
#Install docs
|
|
|
|
INSTALLATION_DIRS+= share/doc/${PKGBASE}
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/COPYING.LGPL \
|
|
|
|
${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/COPYING.MIT \
|
|
|
|
${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
|
|
|
|
cd ${WRKSRC}/docs/ && ${PAX} -wr * \
|
|
|
|
${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
|
|
|
|
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} \
|
|
|
|
${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
|
|
|
|
|
|
|
|
.include "../../lang/qore/module.mk"
|
|
|
|
.include "options.mk"
|
|
|
|
|
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
|
|
.include "../../lang/qore/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|