2016-07-09 15:03:30 +02:00
|
|
|
# $NetBSD: Makefile,v 1.29 2016/07/09 13:03:36 wiz Exp $
|
2002-11-29 20:19:12 +01:00
|
|
|
|
2015-11-21 10:42:18 +01:00
|
|
|
DISTNAME= tdb-1.3.8
|
2002-11-29 20:19:12 +01:00
|
|
|
CATEGORIES= databases
|
2012-10-30 14:24:31 +01:00
|
|
|
MASTER_SITES= http://www.samba.org/ftp/tdb/
|
2002-11-29 20:19:12 +01:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2015-01-16 10:31:33 +01:00
|
|
|
HOMEPAGE= http://tdb.samba.org/
|
2002-11-29 20:19:12 +01:00
|
|
|
COMMENT= Small database system which uses files to store data
|
2014-12-04 12:13:25 +01:00
|
|
|
LICENSE= gnu-gpl-v3
|
2002-11-29 20:19:12 +01:00
|
|
|
|
2012-10-31 13:34:28 +01:00
|
|
|
BUILD_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt
|
|
|
|
BUILD_DEPENDS+= docbook-xsl-[0-9]*:../../textproc/docbook-xsl
|
|
|
|
|
2005-04-15 13:45:16 +02:00
|
|
|
# both install tdbtool and tdbdump
|
2012-10-30 14:24:31 +01:00
|
|
|
CONFLICTS+= samba<3.6.6nb3
|
2005-04-15 13:45:16 +02:00
|
|
|
|
2015-01-16 10:31:33 +01:00
|
|
|
USE_TOOLS+= gmake
|
|
|
|
HAS_CONFIGURE= yes
|
2012-10-30 14:24:31 +01:00
|
|
|
CONFIGURE_ARGS+= --disable-python
|
2012-10-31 14:09:48 +01:00
|
|
|
CONFIGURE_ARGS+= --mandir=${PREFIX}/${PKGMANDIR}
|
2002-11-29 20:19:12 +01:00
|
|
|
|
2012-10-30 14:24:31 +01:00
|
|
|
PKGCONFIG_OVERRIDE= tdb.pc.in
|
|
|
|
|
|
|
|
PYTHON_FOR_BUILD_ONLY= yes
|
|
|
|
REPLACE_PYTHON+= buildtools/bin/waf
|
2016-07-09 15:03:30 +02:00
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 34 35 # not yet ported as of 1.2.12
|
2012-10-30 14:24:31 +01:00
|
|
|
|
2014-03-13 12:08:49 +01:00
|
|
|
USE_GCC_RUNTIME= yes
|
|
|
|
|
2016-02-12 15:08:22 +01:00
|
|
|
.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
|
|
|
|
|
2012-10-30 14:24:31 +01:00
|
|
|
.include "../../lang/python/application.mk"
|
2002-11-29 20:19:12 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|