mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-10 10:31:20 +02:00
create bsd12 branch
This commit is contained in:
32
java/postgresql-jdbc/Makefile
Normal file
32
java/postgresql-jdbc/Makefile
Normal file
@@ -0,0 +1,32 @@
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
PORTNAME= postgresql
|
||||
PORTVERSION= 9.2.1004
|
||||
DISTVERSIONSUFFIX=.src
|
||||
CATEGORIES= databases java
|
||||
MASTER_SITES= http://jdbc.postgresql.org/download/
|
||||
PKGNAMESUFFIX= -jdbc
|
||||
DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}-${DISTVERSION:C/.([0-9][0-9][0-9]*)/-\1/g}${DISTVERSIONSUFFIX}
|
||||
|
||||
MAINTAINER= pgsql@FreeBSD.org
|
||||
COMMENT= The Java JDBC implementation for PostgreSQL
|
||||
|
||||
DIST_SUBDIR= postgresql
|
||||
|
||||
USE_ANT= yes
|
||||
USE_JAVA= yes
|
||||
NO_ARCH= yes
|
||||
|
||||
PLIST_FILES= %%JAVAJARDIR%%/postgresql.jar
|
||||
SUB_FILES= pkg-message
|
||||
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} 's,/usr/local/pgsql/share/java,${JAVAJARDIR},' ${WRKSRC}/README
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/jars/postgresql.jar ${STAGEDIR}${JAVAJARDIR}/postgresql.jar
|
||||
|
||||
.include <bsd.port.mk>
|
||||
#EOF
|
||||
2
java/postgresql-jdbc/distinfo
Normal file
2
java/postgresql-jdbc/distinfo
Normal file
@@ -0,0 +1,2 @@
|
||||
SHA256 (postgresql/postgresql-jdbc-9.2-1004.src.tar.gz) = eeadff0d830cd19a4f52a9489748a7126b0c1d4863bf9a5d65618158dfc6ae68
|
||||
SIZE (postgresql/postgresql-jdbc-9.2-1004.src.tar.gz) = 1842921
|
||||
14
java/postgresql-jdbc/files/patch-build-xml
Normal file
14
java/postgresql-jdbc/files/patch-build-xml
Normal file
@@ -0,0 +1,14 @@
|
||||
--- build.xml.orig 2013-10-31 14:48:34.000000000 +0100
|
||||
+++ build.xml 2014-06-09 08:19:22.000000000 +0200
|
||||
@@ -221,10 +221,7 @@
|
||||
|
||||
<target name="compile" depends="prepare,check_versions,driver">
|
||||
|
||||
- <available classname="org.postgresql.Driver" property="old.driver.present" />
|
||||
- <fail message="Old driver was detected on classpath or in jre/lib/ext, please remove and try again." if="old.driver.present" />
|
||||
-
|
||||
- <javac classpath="${srcdir}" srcdir="${srcdir}" destdir="${builddir}" debug="${debug}" source="${java.specification.version}">
|
||||
+ <javac includeAntRuntime="no" classpath="${srcdir}" srcdir="${srcdir}" destdir="${builddir}" debug="${debug}">
|
||||
<patternset refid="jdbc.version.src.pattern"/>
|
||||
</javac>
|
||||
</target>
|
||||
5
java/postgresql-jdbc/files/pkg-message.in
Normal file
5
java/postgresql-jdbc/files/pkg-message.in
Normal file
@@ -0,0 +1,5 @@
|
||||
PostgreSQL JDBC support installed!
|
||||
|
||||
postgresql.jar resides in
|
||||
%%JAVAJARDIR%%/postgresql.jar
|
||||
Add this to your CLASSPATH!
|
||||
4
java/postgresql-jdbc/pkg-descr
Normal file
4
java/postgresql-jdbc/pkg-descr
Normal file
@@ -0,0 +1,4 @@
|
||||
This is the official implementation of JDBC, the Java Database
|
||||
Connectivity API, for accessing PostgreSQL databases from Java.
|
||||
|
||||
WWW: http://jdbc.postgresql.org/
|
||||
Reference in New Issue
Block a user