freebsd-ports/java/sqlitejdbc/Makefile
Mathieu Arnold a9dcad2fff Remove ${PORTSDIR}/ from dependencies, categories h, i, j, k, and l.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:08:37 +00:00

36 lines
916 B
Makefile

# Created by: Lapo Luchini <lapo@lapo.it>
# $FreeBSD$
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
JAVA_VERSION= 1.6+
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>