aboutsummaryrefslogtreecommitdiffstats
path: root/databases/postgis-jdbc
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-08-07 16:47:01 +0800
committermiwi <miwi@FreeBSD.org>2008-08-07 16:47:01 +0800
commit504d06ce13735a89014dcae9415d93b72095e716 (patch)
tree589eef99dac9976aef8875eb415cc2e41eb81013 /databases/postgis-jdbc
parent2edef79ba8ce84aa1342f33e868c8590ef2b5446 (diff)
downloadfreebsd-ports-gnome-504d06ce13735a89014dcae9415d93b72095e716.tar.gz
freebsd-ports-gnome-504d06ce13735a89014dcae9415d93b72095e716.tar.zst
freebsd-ports-gnome-504d06ce13735a89014dcae9415d93b72095e716.zip
- Update to 1.4.0
PR: 125890 Submitted by: Wen heping <wenheping@gmail.com> (maintainer)
Diffstat (limited to 'databases/postgis-jdbc')
-rw-r--r--databases/postgis-jdbc/Makefile35
-rw-r--r--databases/postgis-jdbc/distinfo6
-rw-r--r--databases/postgis-jdbc/pkg-plist10
3 files changed, 10 insertions, 41 deletions
diff --git a/databases/postgis-jdbc/Makefile b/databases/postgis-jdbc/Makefile
index 0b31743fd6dd..360a600e355b 100644
--- a/databases/postgis-jdbc/Makefile
+++ b/databases/postgis-jdbc/Makefile
@@ -6,44 +6,23 @@
#
PORTNAME= postgis-jdbc
-PORTVERSION= 1.3.2
+PORTVERSION= 1.4.0
CATEGORIES= databases java geography
-MASTER_SITES= http://postgis.refractions.net/download/
-DISTNAME= postgis-${PORTVERSION}
+MASTER_SITES= http://www.postgis.org/download/
+DISTFILES= postgis_${PORTVERSION}.jar
MAINTAINER= wenheping@gmail.com
COMMENT= PostGIS spatial data structures for JDBC
-BUILD_DEPENDS= ${JAVALIBDIR}/jts.jar:${PORTSDIR}/math/jts \
- ${JAVALIBDIR}/postgresql.jar:${PORTSDIR}/databases/postgresql-jdbc
-RUN_DEPENDS= ${JAVALIBDIR}/jts.jar:${PORTSDIR}/math/jts \
- ${JAVALIBDIR}/postgresql.jar:${PORTSDIR}/databases/postgresql-jdbc
+RUN_DEPENDS= ${JAVALIBDIR}/postgresql.jar:${PORTSDIR}/databases/postgresql-jdbc
USE_JAVA= yes
JAVA_VERSION= 1.4+
-USE_GMAKE= yes
-MAKE_ARGS= EXAMPLESDIR="${EXAMPLESDIR}" \
- DESTDIR="${JAVAJARDIR}" \
- INSTALL_DATA="${INSTALL_DATA}" \
- JAVAC="${JAVAC}" \
- JAVA="${JAVA}" \
- JAR="${JAR}" \
- CLASSPATH="${JAVALIBDIR}/postgresql.jar:${JAVALIBDIR}/jts.jar" \
- mkinstalldirs="${MKDIR}"
+NO_BUILD= yes
-WRKSRC= ${WRKDIR}/${DISTNAME}/java/jdbc
-
-PORTDOCS= README
+PLIST_FILES= %%JAVAJARDIR%%/postgis_1.4.0.jar
do-install:
- ${INSTALL_DATA} ${WRKSRC}/postgis.jar ${WRKSRC}/postgis_debug.jar \
- ${JAVAJARDIR}
- ${MKDIR} ${EXAMPLESDIR}
- ${INSTALL_DATA} ${WRKSRC}/src/examples/* ${EXAMPLESDIR}
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
- @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
-.endif
+ ${INSTALL_DATA} ${_DISTDIR}postgis_${PORTVERSION}.jar ${JAVAJARDIR}
.include <bsd.port.mk>
diff --git a/databases/postgis-jdbc/distinfo b/databases/postgis-jdbc/distinfo
index 2049c0675846..f5b37f973251 100644
--- a/databases/postgis-jdbc/distinfo
+++ b/databases/postgis-jdbc/distinfo
@@ -1,3 +1,3 @@
-MD5 (postgis-1.3.2.tar.gz) = b0d52c2c23c316fc9884632a80b380a5
-SHA256 (postgis-1.3.2.tar.gz) = 4caed346c72e1b8824afd4b7dd64e78f2b101087a6dd2b917fb5acb44bb997f0
-SIZE (postgis-1.3.2.tar.gz) = 2161660
+MD5 (postgis_1.4.0.jar) = c0ba79571f97ab92ae8485df7a18af96
+SHA256 (postgis_1.4.0.jar) = 6d7d0603a2f64ac9174761ca027925e5170e6e59bdd1eef6f5da68429a1e2735
+SIZE (postgis_1.4.0.jar) = 78179
diff --git a/databases/postgis-jdbc/pkg-plist b/databases/postgis-jdbc/pkg-plist
deleted file mode 100644
index 841da7d3d2d1..000000000000
--- a/databases/postgis-jdbc/pkg-plist
+++ /dev/null
@@ -1,10 +0,0 @@
-%%JAVAJARDIR%%/postgis.jar
-%%JAVAJARDIR%%/postgis_debug.jar
-%%EXAMPLESDIR%%/Test.java
-%%EXAMPLESDIR%%/TestAutoregister.java
-%%EXAMPLESDIR%%/TestBoxes.java
-%%EXAMPLESDIR%%/TestJava2d.java
-%%EXAMPLESDIR%%/TestParser.java
-%%EXAMPLESDIR%%/TestServer.java
-%%EXAMPLESDIR%%/VersionPrinter.java
-@dirrm %%EXAMPLESDIR%%