2022-01-27 18:52:03 +01:00
|
|
|
# $NetBSD: Makefile,v 1.10 2022/01/27 17:52:03 nros Exp $
|
2014-12-30 16:43:31 +01:00
|
|
|
|
2022-01-27 18:52:03 +01:00
|
|
|
DISTNAME= qore-openldap-module-1.2
|
2014-12-30 16:43:31 +01:00
|
|
|
CATEGORIES= databases
|
2019-11-02 16:37:59 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=qorelanguage/}
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2016-07-20 15:27:43 +02:00
|
|
|
GITHUB_PROJECT= module-openldap
|
|
|
|
GITHUB_RELEASE= v${PKGVERSION_NOREV}
|
2014-12-30 16:43:31 +01:00
|
|
|
|
2016-08-07 13:44:42 +02:00
|
|
|
MAINTAINER= nros@NetBSD.org
|
2014-12-30 16:43:31 +01:00
|
|
|
COMMENT= Openldap module for Qore
|
|
|
|
HOMEPAGE= http://www.qore.org/
|
|
|
|
LICENSE= gnu-lgpl-v2.1
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_LIBTOOL= yes
|
2017-10-12 20:21:23 +02:00
|
|
|
USE_LANGUAGES= c c++11
|
2014-12-30 16:43:31 +01:00
|
|
|
USE_TOOLS+= gmake pax
|
|
|
|
PTHREAD_OPTS+= native
|
|
|
|
|
2019-11-02 16:37:59 +01:00
|
|
|
CONFIGURE_ARGS+= --with-libsuffix=""
|
2016-07-20 15:27:43 +02:00
|
|
|
|
2014-12-30 16:43:31 +01:00
|
|
|
#install docs
|
|
|
|
INSTALLATION_DIRS+=share/doc/${PKGBASE}
|
|
|
|
post-install:
|
|
|
|
cd ${WRKSRC}/docs/openldap && ${PAX} -wr * \
|
|
|
|
${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
|
|
|
|
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} \
|
|
|
|
${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
|
|
|
|
|
|
|
|
.include "options.mk"
|
|
|
|
|
|
|
|
.include "../../databases/openldap-client/buildlink3.mk"
|
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
|
|
.include "../../lang/qore/buildlink3.mk"
|
|
|
|
.include "../../lang/qore/module.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|