1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-09 06:51:44 +00:00
freebsd-ports/java/sqlitejdbc/Makefile
Baptiste Daroussin 7c354b1913 Decommissioning java 1.5 (EOLed since October 2009):
suppress any reference to JAVA_VERSION=	1.5+ (part2)
2012-12-10 13:18:28 +00:00

36 lines
925 B
Makefile

# Created by: 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.6+
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>