[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / databases / tdb

File: [cvs.NetBSD.org] / pkgsrc / databases / tdb / Makefile (download)

Revision 1.33, Tue Jul 3 05:03:07 2018 UTC (5 years, 8 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3
Changes since 1.32: +2 -2 lines

extend PYTHON_VERSIONS_ for Python 3.7

# $NetBSD: Makefile,v 1.33 2018/07/03 05:03:07 adam Exp $

DISTNAME=	tdb-1.3.8
CATEGORIES=	databases
MASTER_SITES=	http://www.samba.org/ftp/tdb/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://tdb.samba.org/
COMMENT=	Small database system which uses files to store data
LICENSE=	gnu-gpl-v3

BUILD_DEPENDS+=	libxslt-[0-9]*:../../textproc/libxslt
BUILD_DEPENDS+=	docbook-xsl-[0-9]*:../../textproc/docbook-xsl

# both install tdbtool and tdbdump
CONFLICTS+=	samba<3.6.6nb3

USE_TOOLS+=		gmake
HAS_CONFIGURE=		yes
CONFIGURE_ARGS+=	--disable-python
CONFIGURE_ARGS+=	--mandir=${PREFIX}/${PKGMANDIR}

PKGCONFIG_OVERRIDE=	tdb.pc.in

PYTHON_FOR_BUILD_ONLY=	yes
REPLACE_PYTHON+= buildtools/bin/waf
PYTHON_VERSIONS_INCOMPATIBLE=	34 35 36 37 # not yet ported as of 1.2.12

USE_GCC_RUNTIME=	yes

.include "../../mk/bsd.prefs.mk"

.if ${OPSYS} == "Darwin"
post-build:
	@install_name_tool -id ${PREFIX}/lib/libtdb.dylib \
		${WRKSRC}/bin/default/libtdb.dylib

post-install:
	@install_name_tool -id ${PREFIX}/lib/libtdb.dylib \
		${DESTDIR}${PREFIX}/lib/libtdb.${PKGVERSION_NOREV}.dylib
.endif

.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"