blob: 02195d4c526aa6f045fed20adf7f830d6a57b777 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# $NetBSD: Makefile,v 1.4 2016/08/07 11:44:43 nros Exp $
DISTNAME= qore-yaml-module-0.5
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_GITHUB:=qorelanguage/}
EXTRACT_SUFX= .tar.bz2
GITHUB_PROJECT= module-yaml
GITHUB_RELEASE= v${PKGVERSION_NOREV}
MAINTAINER= nros@NetBSD.org
COMMENT= Yaml module for Qore
HOMEPAGE= http://www.qore.org/
LICENSE= gnu-lgpl-v2.1 OR mit
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_LANGUAGES= c c++
USE_TOOLS+= gmake pax
PTHREAD_OPTS+= native
CONFIGURE_ARGS+=--with-libsuffix=""
#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 "../../textproc/libyaml/buildlink3.mk"
.include "../../lang/qore/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|