9fe277feed
for wip by nros. Plugin for the Qore programming language that provides conversion from native Qore data to YAML strings.
40 lines
1.1 KiB
Makefile
40 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.1 2014/12/30 15:52:04 wiz Exp $
|
|
|
|
DISTNAME= qore-yaml-module-0.4
|
|
PKGREVISION= 4
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=qore/}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= nros@users.sourceforge.net
|
|
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
|
|
|
|
#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"
|