aboutsummaryrefslogtreecommitdiff
path: root/graphics/openjump/Makefile
diff options
context:
space:
mode:
authorJason Helfman <jgh@FreeBSD.org>2012-03-27 17:22:09 +0000
committerJason Helfman <jgh@FreeBSD.org>2012-03-27 17:22:09 +0000
commitf1339de2b461afb7d165a0fe2a6d728322fd896b (patch)
treece3772edae089e5eee97187ea359c02e8345c30a /graphics/openjump/Makefile
parent538f91ed11febc05e254fa2cbdf8c1d16612d8e4 (diff)
downloadports-f1339de2b461afb7d165a0fe2a6d728322fd896b.tar.gz
ports-f1339de2b461afb7d165a0fe2a6d728322fd896b.zip
Notes
Diffstat (limited to 'graphics/openjump/Makefile')
-rw-r--r--graphics/openjump/Makefile49
1 files changed, 34 insertions, 15 deletions
diff --git a/graphics/openjump/Makefile b/graphics/openjump/Makefile
index 956ec666327c..2dbebb1adeaa 100644
--- a/graphics/openjump/Makefile
+++ b/graphics/openjump/Makefile
@@ -5,23 +5,49 @@
# $FreeBSD$
#
-PORTNAME= openjump
-PORTVERSION= 1.4.2
+PORTNAME= OpenJUMP
+PORTVERSION= 1.5.1
CATEGORIES= graphics java geography
MASTER_SITES= SF/jump-pilot/OpenJUMP/${PORTVERSION}
-DISTNAME= ${PORTNAME}-bin-${PORTVERSION}
+DISTNAME= ${PORTNAME}-${PORTVERSION}-r${PLUS_REV}-PLUS
MAINTAINER= rhurlin@gwdg.de
COMMENT= An open source GIS software written in Java
+LICENSE= BSD CLEARTHOUGHT CPL ECW GPLv2 GPLv3 JAIDL JDOM JYTHON LGPL21 LGPL3
+LICENSE_COMB= multi
+
+LICENSE_NAME_CLEARTHOUGHT= Clearthought Software License
+LICENSE_FILE_CLEARTHOUGHT= ${WRKSRC}/licenses/clearthought-2.0.txt
+LICENSE_PERMS_CLEARTHOUGHT= auto-accept
+
+LICENSE_NAME_CPL= Common Public License v1.0
+LICENSE_FILE_CPL= ${WRKSRC}/licenses/cpl-1.0.txt
+LICENSE_PERMS_CPL= auto-accept
+
+LICENSE_NAME_ECW= EARTH RESOURCE MAPPING
+LICENSE_FILE_ECW= ${WRKSRC}/licenses/ecw\ license.txt
+LICENSE_PERMS_ECW= auto-accept
+
+LICENSE_NAME_JAIDL= Java Advanced Imaging Distribution License
+LICENSE_FILE_JAIDL= ${WRKSRC}/licenses/jdl-jai.pdf
+LICENSE_PERMS_JAIDL= auto-accept
+
+LICENSE_NAME_JDOM= JDOM Project License
+LICENSE_FILE_JDOM= ${WRKSRC}/licenses/jdom_license.txt
+LICENSE_PERMS_JDOM= auto-accept
+
+LICENSE_NAME_JYTHON= The Jython License
+LICENSE_FILE_JYTHON= ${WRKSRC}/licenses/jython_license.txt
+LICENSE_PERMS_JYTHON= auto-accept
+
TARGET_DIR= ${PREFIX}/${PORTNAME}
USE_JAVA= yes
JAVA_VERSION= 1.5+
USE_ZIP= yes
NO_BUILD= yes
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-
-.include <bsd.port.pre.mk>
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-r${PLUS_REV}-PLUS
+PLUS_REV= 2721
do-install:
@${ECHO_CMD} "---> Installing JAR files"
@@ -29,12 +55,10 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/lib/*.jar ${TARGET_DIR}/lib
${MKDIR} ${TARGET_DIR}/lib/ext
@cd ${WRKSRC}/lib/ext && ${COPYTREE_SHARE} . ${TARGET_DIR}/lib/ext
- @${RM} ${PREFIX}/openjump/lib/ext/*.dll
@${ECHO_MSG} "Installing startup script"
${MKDIR} ${TARGET_DIR}/bin
${INSTALL_SCRIPT} ${WRKSRC}/bin/oj_linux.sh ${TARGET_DIR}/bin/openjump
- ${LN} -sf ${PREFIX}/openjump/bin/openjump ${PREFIX}/bin/openjump
- ${INSTALL_DATA} ${WRKSRC}/bin/workbench-properties.xml ${TARGET_DIR}/bin/
+ ${LN} -sf ${PREFIX}/${PORTNAME}/bin/openjump ${PREFIX}/bin/openjump
${INSTALL_DATA} ${WRKSRC}/bin/default-plugins.xml ${TARGET_DIR}/bin/
${INSTALL_DATA} ${WRKSRC}/bin/log4j.xml ${TARGET_DIR}/bin/
@@ -43,13 +67,8 @@ do-install:
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/Changes.txt ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/licenses/apache_license.txt ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/licenses/cpl-1.0.txt ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/licenses/jdom_license.txt ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/licenses/jmath_license.txt ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/licenses/jython_license.txt ${DOCSDIR}
.else
@${ECHO_MSG} "---> Skipping documentation"
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>