mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
06e6677793
remove support for them from bsd.java.mk. As Jikes is not available in Java 1.5 or higher, remove it from bsd.java.mk too (suggested by hq@) and from the ports which used it (only occurences were USE_JIKES=no). Support for the Blackdown VM is also removed, as it is not available in Java 1.5 and higher. Also remove the mapping from Java 1.1-1.4 to Java 1.5+ in bsd.java.mk to detect old, broken ports; therefore bump the minimal value of JAVA_VERSION to 1.5. While here, replace static values of JAVA_VERSION in files/*.in by %%JAVA_VERSION%% . PR: ports/158969 Submitted by: rene Tested on: pointyhat-west -exp
40 lines
1.0 KiB
Makefile
40 lines
1.0 KiB
Makefile
# New ports collection makefile for: sqlitejdbc
|
|
# Date created: 23 June 2008
|
|
# Whom: Lapo Luchini <lapo@lapo.it>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= sqlitejdbc
|
|
PORTVERSION= 056
|
|
PORTREVISION= 1
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSIONSUFFIX= -src
|
|
CATEGORIES= java databases
|
|
MASTER_SITES= http://files.zentus.com/sqlitejdbc/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= lapo@lapo.it
|
|
COMMENT= A Java JDBC driver for SQLite
|
|
|
|
LIB_DEPENDS= sqlite3:${PORTSDIR}/databases/sqlite3
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSIONPREFIX}${DISTVERSION}
|
|
USE_JAVA= yes
|
|
JAVA_VERSION= 1.5+
|
|
USE_GMAKE= yes
|
|
MAKE_ENV= JAVA_HOME="${JAVA_HOME}"
|
|
ALL_TARGET= native
|
|
USE_LDCONFIG= yes
|
|
|
|
PLIST_FILES= %%JAVAJARDIR%%/sqlitejdbc-native.jar lib/libsqlitejdbc.so
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/Makefile
|
|
|
|
do-install:
|
|
${INSTALL_DATA} ${WRKSRC}/build/sqlitejdbc-v${PORTVERSION}-native.jar ${JAVAJARDIR}/sqlitejdbc-native.jar
|
|
${INSTALL_DATA} ${WRKSRC}/build/FreeBSD/libsqlitejdbc.so ${PREFIX}/lib/
|
|
|
|
.include <bsd.port.mk>
|