summaryrefslogtreecommitdiff
path: root/databases/postgis-jdbc/files/patch-Makefile
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2004-06-30 03:51:48 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2004-06-30 03:51:48 +0000
commit7699b253306cad248ce7c6ea1bdff68b051ad4a5 (patch)
treed4b7b0bf53c37865f84811c09446881707c52ea7 /databases/postgis-jdbc/files/patch-Makefile
parent- Update to version 3.0.0 (diff)
Add postgis-jdbc 0.8.2, postGIS spatial data structures for JDBC.
PR: ports/68322 Submitted by: Sam Lawrance <boris@brooknet.com.au>
Notes
Notes: svn path=/head/; revision=112576
Diffstat (limited to 'databases/postgis-jdbc/files/patch-Makefile')
-rw-r--r--databases/postgis-jdbc/files/patch-Makefile51
1 files changed, 51 insertions, 0 deletions
diff --git a/databases/postgis-jdbc/files/patch-Makefile b/databases/postgis-jdbc/files/patch-Makefile
new file mode 100644
index 000000000000..d657301bc048
--- /dev/null
+++ b/databases/postgis-jdbc/files/patch-Makefile
@@ -0,0 +1,51 @@
+diff -urN ../jdbc.orig/Makefile ./Makefile
+--- ../jdbc.orig/Makefile Fri Jun 25 18:11:45 2004
++++ ./Makefile Fri Jun 25 18:12:52 2004
+@@ -1,15 +1,21 @@
+ JAVAC = javac
+ JAVA = java
+ JAR = jar
+-CLASSPATH = ../../../src/interfaces/jdbc/jars/postgresql.jar:.
++CLASSPATH = $(JAVAJARDIR)/postgresql.jar:.
+
+ all: ogis \
+ pgobjs \
+- test
++ test \
++ jar
+
+ jar:
+ $(JAR) -cf postgis.jar org/postgis/*.java org/postgis/*.class README
+
++install:
++ $(INSTALL_DATA) postgis.jar $(JAVAJARDIR)
++ [ -d $(EXAMPLESDIR) ] || mkdir $(EXAMPLESDIR) || exit -1
++ $(INSTALL_DATA) examples/Test.java examples/TestServer.java $(EXAMPLESDIR)
++
+ ogis:
+ $(JAVAC) -classpath $(CLASSPATH) \
+ org/postgis/Geometry.java \
+@@ -20,19 +26,21 @@
+ org/postgis/LinearRing.java \
+ org/postgis/Polygon.java \
+ org/postgis/MultiPolygon.java
++ touch ogis
+
+
+ pgobjs:
+ $(JAVAC) -classpath $(CLASSPATH) \
+ org/postgis/PGgeometry.java \
+ org/postgis/PGbox3d.java
++ touch pgobjs
+
+ test:
+ $(JAVAC) -classpath $(CLASSPATH) examples/Test.java
+ $(JAVA) -classpath $(CLASSPATH) examples/Test
+-
++ touch test
+
+ jtest:
+ $(JAVAC) -classpath $(CLASSPATH) examples/TestServer.java
+ $(JAVA) -classpath $(CLASSPATH) examples/TestServer
+-
++ touch jtest