1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/java/sqlitejdbc/Makefile
Alex Dupre 13789c7d65 Fix build with clang and stagify.
Approved by:	maintainer
2013-10-30 10:03:06 +00:00

37 lines
943 B
Makefile

# Created by: Lapo Luchini <lapo@lapo.it>
# $FreeBSD$
PORTNAME= sqlitejdbc
PORTVERSION= 056
DISTVERSIONPREFIX= v
DISTVERSIONSUFFIX= -src
PORTREVISION= 1
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= libsqlite3.so:${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
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>