1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/graphics/openjump/Makefile
Richard Gallamore 723fc8fc65 * Updated to 1.11
* Sorted Uses section

Changelog: https://sourceforge.net/projects/jump-pilot/files/OpenJUMP/1.11

PR:		220748
Submitted by:	Rainer Hurling <rhurlin@gwdg.de> (maintainer)
Reviewed by:	matthew (mentor)
Approved by:	matthew (mentor)
Differential Revision:	https://reviews.freebsd.org/D11694
2017-07-22 19:26:37 +00:00

74 lines
2.5 KiB
Makefile

# Created by: Wen Heping <wenheping@gmail.com>
# $FreeBSD$
PORTNAME= OpenJUMP
PORTVERSION= 1.11
CATEGORIES= graphics java geography
MASTER_SITES= SF/jump-pilot/OpenJUMP/${PORTVERSION}
DISTNAME= ${PORTNAME}-Portable-${PORTVERSION}-r${PLUS_REV}-PLUS
MAINTAINER= rhurlin@gwdg.de
COMMENT= Open source GIS software written in Java
LICENSE= BSD3CLAUSE 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
### Desktop Entries ???
USES= zip
USE_JAVA= yes
JAVA_VERSION= 1.7+
NO_BUILD= yes
NO_ARCH= yes
TARGET_DIR= ${STAGEDIR}${PREFIX}/${PORTNAME}
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-r${PLUS_REV}-PLUS
PLUS_REV= 5434
do-install:
@${ECHO_CMD} "---> Installing JAR files"
${MKDIR} ${TARGET_DIR}/lib
${INSTALL_DATA} ${WRKSRC}/lib/*.jar ${TARGET_DIR}/lib
${MKDIR} ${TARGET_DIR}/lib/ext
@cd ${WRKSRC}/lib/ext && ${COPYTREE_SHARE} . ${TARGET_DIR}/lib/ext
${MKDIR} ${TARGET_DIR}/lib/native
${INSTALL_DATA} ${WRKSRC}/lib/native/jecw-0.0.7.jar ${TARGET_DIR}/lib/native
${MKDIR} ${TARGET_DIR}/lib/icons
@cd ${WRKSRC}/lib/icons && ${COPYTREE_SHARE} . ${TARGET_DIR}/lib/icons
@${ECHO_MSG} "---> Installing startup script"
${MKDIR} ${TARGET_DIR}/bin
${INSTALL_SCRIPT} ${WRKSRC}/bin/oj_linux.sh ${TARGET_DIR}/bin/openjump
${LN} -sf ${PREFIX}/${PORTNAME}/bin/openjump ${STAGEDIR}${PREFIX}/bin/openjump
${INSTALL_DATA} ${WRKSRC}/bin/default-plugins.xml ${TARGET_DIR}/bin/
${INSTALL_DATA} ${WRKSRC}/bin/log4j.xml ${TARGET_DIR}/bin/
${INSTALL_DATA} ${WRKSRC}/readme.txt ${TARGET_DIR}/bin/
@${ECHO_MSG} "---> Installing documentation"
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/Changes.txt ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>