[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / databases / qore-freetds-module

File: [cvs.NetBSD.org] / pkgsrc / databases / qore-freetds-module / Makefile (download)

Revision 1.22, Wed Oct 26 10:31:19 2022 UTC (3 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2022Q4-base, pkgsrc-2022Q4, HEAD
Changes since 1.21: +2 -2 lines

*: bump PKGREVISION for libunistring shlib major bump

# $NetBSD: Makefile,v 1.22 2022/10/26 10:31:19 wiz Exp $

DISTNAME=	qore-sybase-modules-1.1
PKGNAME=	${DISTNAME:S/sybase-modules/freetds-module/}
PKGREVISION=	2
CATEGORIES=	databases
MASTER_SITES=	${MASTER_SITE_GITHUB:=qorelanguage/}
EXTRACT_SUFX=	.tar.bz2
GITHUB_PROJECT=	module-sybase
GITHUB_RELEASE=	v${PKGVERSION_NOREV}

MAINTAINER=	nros@NetBSD.org
HOMEPAGE=	http://www.qore.org/
COMMENT=	Freetds DB driver for qore
LICENSE=	gnu-lgpl-v2.1

GNU_CONFIGURE=	yes
USE_LIBTOOL=	yes
USE_LANGUAGES=	c c++11
USE_TOOLS+=	pax
PTHREAD_OPTS+=	require

CONFIGURE_ARGS+=	--with-sybase=no
CONFIGURE_ARGS+=	--with-libsuffix=""

INSTALLATION_DIRS+=     share/doc/${PKGBASE}
post-install:
	cd ${WRKSRC}/docs/sybase && ${PAX} -wr * \
		${DESTDIR}${PREFIX}/share/doc/${PKGBASE}

.include "options.mk"

.include "../../databases/freetds/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../lang/qore/buildlink3.mk"
.include "../../lang/qore/module.mk"
.include "../../mk/bsd.pkg.mk"