summaryrefslogtreecommitdiff
path: root/databases/db4/Makefile
blob: 05422798ebc3536f1fe74549bd31a2466e43fb36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# $NetBSD: Makefile,v 1.4 2002/12/31 15:44:28 jlam Exp $

DISTNAME=	db-4.0.14
PKGNAME=	db4-4.0.14
CATEGORIES=	databases
MASTER_SITES=	http://www.sleepycat.com/update/snapshot/

MAINTAINER=	dolemite@wuli.nu
HOMEPAGE=	http://www.sleepycat.com/
COMMENT=	Sleepycat Software's Berkeley DB version 4

USE_BUILDLINK2=		yes
USE_CXX=		yes
USE_LIBTOOL=		yes
LIBTOOL_OVERRIDE=	${WRKDIR}/${DISTNAME}/build_unix/libtool
GNU_CONFIGURE=		yes
CONFIGURE_SCRIPT=	../dist/configure

CONFIGURE_ARGS+=	--enable-rpc
CONFIGURE_ARGS+=        --program-transform-name=s,db_,db4_,
CONFIGURE_ARGS+=        --includedir=${PREFIX}/include/db4
CONFIGURE_ARGS+=	--enable-cxx
CONFIGURE_ARGS+=	--enable-shared

.if defined(WITH_JAVA) && (${WITH_JAVA} == "YES")
CONFIGURE_ARGS+=	--enable-java
.  include "../../mk/java-vm.mk"
.endif

WRKSRC=			${WRKDIR}/${DISTNAME}/build_unix

post-install:
	${CHOWN} -R ${BINOWN}:${BINGRP} ${PREFIX}/share/doc/db4

.include "../../mk/bsd.pkg.mk"