summaryrefslogtreecommitdiff
path: root/databases/jdbc-postgresql/Makefile
blob: ed07b8e2653614259c02039a261d753c59e619c5 (plain)
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
38
39
40
41
42
43
44
45
# $NetBSD: Makefile,v 1.6 2001/02/16 14:17:27 wiz Exp $
#

DISTNAME=		postgresql-7.0.3
PKGNAME=		jdbc-${DISTNAME}
WRKSRC=			${WRKDIR}/${DISTNAME}/src/interfaces/jdbc
CATEGORIES=		databases
MASTER_SITES=		ftp://ftp.PostgreSQL.org/pub/ \
			ftp://ftp.sunsite.auc.dk/mirrors/www.postgresql.org/pub/ \
			ftp://ftp.jaist.ac.jp/pub/dbms/postgres95/

MAINTAINER=		jwise@netbsd.org
HOMEPAGE=		http://www.PostgreSQL.ORG/
COMMENT=		100% Java JDBC driver for PostgreSQL

# No, we don't depend on postgresql.  This code base stands alone.

# checksum shared distfile, since we need not have built postgresql
MD5_FILE=		${PKGSRCDIR}/databases/postgresql/files/md5

.include "../../mk/bsd.prefs.mk"

USE_GMAKE=
USE_JAVA=
NO_CONFIGURE=
ALL_TARGET=		jdbc1 doc
CLASSPATH:=		${CLASSPATH}:.

HELP_FILES=		README README_6.3 Implementation CHANGELOG

do-install:
	${MKDIR} ${PREFIX}/lib/java
	${INSTALL_DATA} ${WRKSRC}/postgresql.jar ${PREFIX}/lib/java
	${MKDIR} ${PREFIX}/share/examples/java/jdbc-postgresql
	${INSTALL_DATA} ${WRKSRC}/example/*.java ${PREFIX}/share/examples/java/jdbc-postgresql
	${MKDIR} ${PREFIX}/share/doc/java/jdbc-postgresql
	${MKDIR} ${PREFIX}/share/doc/java/jdbc-postgresql/api
.for X in ${HELP_FILES}
	${INSTALL_DATA} ${WRKSRC}/${X} ${PREFIX}/share/doc/java/jdbc-postgresql
.endfor
	${INSTALL_DATA} ${WRKSRC}/*.html ${PREFIX}/share/doc/java/jdbc-postgresql/api

.include "../../mk/bsd.pkg.mk"

EXTRACT_CMD += ${DISTNAME}/src/interfaces/jdbc