44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.29 2016/07/09 13:03:36 wiz 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 # 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"
|