2020-01-18 22:48:19 +01:00
|
|
|
# $NetBSD: Makefile,v 1.8 2020/01/18 21:49:15 jperkin Exp $
|
2014-12-30 16:54:32 +01:00
|
|
|
|
|
|
|
DISTNAME= qore-uuid-module-1.3
|
2020-01-18 22:48:19 +01:00
|
|
|
PKGREVISION= 7
|
2014-12-30 16:54:32 +01:00
|
|
|
CATEGORIES= devel
|
2019-11-03 11:39:04 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=qore/}
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2014-12-30 16:54:32 +01:00
|
|
|
|
|
|
|
MAINTAINER= nros@users.sourceforge.net
|
|
|
|
HOMEPAGE= http://www.qore.org/
|
|
|
|
COMMENT= UUID module for Qore
|
|
|
|
LICENSE= gnu-lgpl-v2.1 OR mit
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_LIBTOOL= yes
|
2017-10-12 20:21:23 +02:00
|
|
|
USE_LANGUAGES= c c++11
|
2014-12-30 16:54:32 +01:00
|
|
|
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/uuid && ${PAX} -wr * \
|
|
|
|
${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
|
|
|
|
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} \
|
|
|
|
${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
|
|
|
|
|
|
|
|
.include "options.mk"
|
|
|
|
|
|
|
|
.include "../../devel/libuuid/buildlink3.mk"
|
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
|
|
.include "../../lang/qore/buildlink3.mk"
|
|
|
|
.include "../../lang/qore/module.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|