2004-10-03 02:12:51 +02:00
|
|
|
# $NetBSD: Makefile,v 1.16 2004/10/03 00:13:18 tv Exp $
|
2001-07-28 19:49:00 +02:00
|
|
|
|
2001-11-30 12:58:31 +01:00
|
|
|
DISTNAME= db-3.3.11
|
|
|
|
PKGNAME= java-db3-3.11.2
|
2004-10-03 02:12:51 +02:00
|
|
|
PKGREVISION= 1
|
2003-08-23 17:16:36 +02:00
|
|
|
CATEGORIES= databases java
|
2001-11-30 12:58:31 +01:00
|
|
|
MASTER_SITES= http://www.sleepycat.com/update/3.3.11/
|
2001-07-28 19:49:00 +02:00
|
|
|
|
2004-04-25 00:46:08 +02:00
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
2001-07-28 19:49:00 +02:00
|
|
|
HOMEPAGE= http://www.sleepycat.com/
|
2001-07-28 19:50:41 +02:00
|
|
|
COMMENT= Java interface to Sleepycat Software's Berkeley DB version 3
|
2001-07-28 19:49:00 +02:00
|
|
|
|
2001-10-23 13:55:57 +02:00
|
|
|
PATCH_SITES= ${MASTER_SITES}
|
2001-11-30 12:58:31 +01:00
|
|
|
PATCHFILES= patch.3.3.11.1 patch.3.3.11.2
|
2001-10-23 13:55:57 +02:00
|
|
|
PATCH_DIST_ARGS= -d ${WRKSRC}/.. --forward --quiet
|
|
|
|
|
|
|
|
DISTINFO_FILE?= ${.CURDIR}/../db3/distinfo
|
|
|
|
PATCHDIR?= ${.CURDIR}/../db3/patches
|
2001-07-28 19:49:00 +02:00
|
|
|
|
2002-10-13 11:32:49 +02:00
|
|
|
JAVAC= ${PKG_JAVA_HOME}/bin/javac
|
|
|
|
JAR= ${PKG_JAVA_HOME}/bin/jar
|
2001-07-28 19:49:00 +02:00
|
|
|
JAVACABS= ${JAVAC}
|
|
|
|
|
2004-01-20 13:07:06 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/build_unix
|
2004-07-02 14:52:52 +02:00
|
|
|
USE_BUILDLINK3= yes
|
2001-07-28 19:49:00 +02:00
|
|
|
USE_LIBTOOL= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_SCRIPT= ../dist/configure
|
|
|
|
|
|
|
|
CONFIGURE_ARGS+= --program-transform-name=s,db_,db3_,
|
|
|
|
CONFIGURE_ARGS+= --includedir=${PREFIX}/include/db3
|
|
|
|
CONFIGURE_ARGS+= --enable-shared
|
|
|
|
CONFIGURE_ARGS+= --enable-java
|
|
|
|
CONFIGURE_ENV+= JAVAC="${JAVAC}"
|
|
|
|
CONFIGURE_ENV+= JAVACABS="${JAVACABS}"
|
|
|
|
CONFIGURE_ENV+= JAR="${JAR}"
|
2002-10-13 11:32:49 +02:00
|
|
|
|
|
|
|
CPPFLAGS+= ${BUILDLINK_CPPFLAGS.${PKG_JVM}}
|
|
|
|
|
2001-07-28 19:49:00 +02:00
|
|
|
ALL_TARGET= libdb3_java.la java
|
|
|
|
INSTALL_TARGET= install_java
|
|
|
|
|
2004-07-02 14:52:52 +02:00
|
|
|
.include "../../databases/db3/buildlink3.mk"
|
2002-12-26 21:52:09 +01:00
|
|
|
.include "../../mk/java-vm.mk"
|
2001-07-28 19:49:00 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|