summaryrefslogtreecommitdiff
path: root/databases/db4/Makefile
blob: 580470c292f20e5a903391f6568e29d832e3f0c9 (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
# $NetBSD: Makefile,v 1.1.1.1 2002/03/30 05:35:58 uebayasi Exp $

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

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

.if defined(WITH_JAVA) && (${WITH_JAVA} == "YES")
USE_JAVA=	YES
CONFIGURE_ARGS+=	--enable-java
.endif

USE_BUILDLINK_ONLY=	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

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

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

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