blob: 2c9ca6cabd78b5f1bc78b91ca96e48c07f2e026f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# New ports collection makefile for: sqlitejdbc
# Date created: 23 June 2008
# Whom: Lapo Luchini <lapo@lapo.it>
#
# $FreeBSD$
#
PORTNAME= sqlitejdbc
PORTVERSION= 052
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
USE_JAVA= yes
JAVA_VERSION= 1.4+
USE_GMAKE= yes
MAKE_ENV= JAVA_HOME="${JAVA_HOME}"
ALL_TARGET= native
USE_LDCONFIG= yes
PLIST_FILES= %%JAVAJARDIR%%/sqlitejdbc-v${PORTVERSION}-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}/
${INSTALL_DATA} ${WRKSRC}/build/FreeBSD/libsqlitejdbc.so ${PREFIX}/lib/
.include <bsd.port.mk>
|