aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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%%