1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
freebsd-ports/java/sqlitejdbc/Makefile
2021-04-06 16:31:07 +02:00

34 lines
885 B
Makefile

# Created by: Lapo Luchini <lapo@lapo.it>
PORTNAME= sqlitejdbc
PORTVERSION= 056
DISTVERSIONPREFIX= v
DISTVERSIONSUFFIX= -src
PORTREVISION= 2
CATEGORIES= java databases
MASTER_SITES= http://files.zentus.com/sqlitejdbc/
MAINTAINER= lapo@lapo.it
COMMENT= Java JDBC driver for SQLite
LIB_DEPENDS= libsqlite3.so:databases/sqlite3
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSIONPREFIX}${DISTVERSION}
USE_JAVA= yes
USES= gmake tar:tgz
MAKE_ENV= JAVA_HOME="${JAVA_HOME}"
ALL_TARGET= native
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 \
${STAGEDIR}${JAVAJARDIR}/sqlitejdbc-native.jar
${INSTALL_DATA} ${WRKSRC}/build/FreeBSD/libsqlitejdbc.so \
${STAGEDIR}${PREFIX}/lib/
.include <bsd.port.mk>