2007-01-15 21:48:02 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.29 2007/01/16 02:48:02 kurt Exp $
|
2006-11-01 17:26:28 -05:00
|
|
|
|
|
|
|
COMMENT-java= "Java bindings for Berkeley DB, revision ${REVISION}"
|
2003-12-08 12:37:52 -05:00
|
|
|
|
|
|
|
REVISION= 4
|
2004-01-14 14:50:15 -05:00
|
|
|
VERSION= ${REVISION}.2.52
|
2006-11-25 17:54:27 -05:00
|
|
|
PKGNAME= ${DISTNAME}p11
|
|
|
|
PKGNAME-main= ${DISTNAME}p11
|
2007-01-15 21:48:02 -05:00
|
|
|
PKGNAME-java= db-java-${VERSION}p3
|
2005-01-23 05:28:07 -05:00
|
|
|
DBLIBDIR= lib/db4
|
2006-10-28 07:19:20 -04:00
|
|
|
SHARED_LIBS += db 4.2 # .0.0
|
|
|
|
SHARED_LIBS += db_cxx 5.0 # .0.0
|
2006-11-01 17:26:28 -05:00
|
|
|
SHARED_LIBS += db_java 4.2 # .0.0
|
2006-10-28 07:19:20 -04:00
|
|
|
SHARED_LIBS += db_tcl 4.2 # .0.0
|
2003-12-08 12:37:52 -05:00
|
|
|
|
2006-10-18 07:05:55 -04:00
|
|
|
MASTER_SITES0= ${HOMEPAGE}db/update/${VERSION}/
|
2004-02-26 20:10:03 -05:00
|
|
|
PATCHFILES= patch.${VERSION}.1:0 \
|
|
|
|
patch.${VERSION}.2:0
|
2003-12-08 12:37:52 -05:00
|
|
|
|
2004-01-14 14:50:15 -05:00
|
|
|
CONFIGURE_STYLE=gnu
|
|
|
|
|
2003-12-08 12:37:52 -05:00
|
|
|
DEST_SUBDIR= ${REVISION}
|
2004-11-22 11:59:29 -05:00
|
|
|
WANTLIB= c
|
2003-12-08 12:37:52 -05:00
|
|
|
|
2006-11-04 07:27:19 -05:00
|
|
|
PSEUDO_FLAVORS= java
|
2006-11-02 07:26:37 -05:00
|
|
|
FLAVOR?=
|
|
|
|
|
2006-11-25 17:54:27 -05:00
|
|
|
RUN_DEPENDS-java= :db-${REVISION}.*:databases/db/v${REVISION} \
|
|
|
|
${MODJAVA_RUN_DEPENDS}
|
|
|
|
WANTLIB-java=
|
|
|
|
|
2006-11-04 07:27:19 -05:00
|
|
|
.if ${FLAVOR:L:Mjava}
|
2006-11-01 17:26:28 -05:00
|
|
|
MULTI_PACKAGES+=-java
|
|
|
|
CONFIGURE_ARGS+=--enable-java
|
|
|
|
MODULES+= java
|
2006-11-02 23:50:39 -05:00
|
|
|
MODJAVA_VER= 1.3+
|
|
|
|
MODJAVA_JRERUN= Yes
|
2006-11-01 17:26:28 -05:00
|
|
|
CONFIGURE_ENV+= JAVAC=${JAVA_HOME}/bin/javac \
|
|
|
|
JAR=${JAVA_HOME}/bin/jar \
|
|
|
|
JAVA=${JAVA_HOME}/bin/java
|
|
|
|
MAKE_FLAGS+= DBJVERSION=${LIBdb_java_VERSION}
|
|
|
|
.endif
|
|
|
|
|
2003-12-08 12:37:52 -05:00
|
|
|
.include <bsd.port.mk>
|