diff options
author | Pawel Pekala <pawel@FreeBSD.org> | 2013-11-07 16:53:33 +0000 |
---|---|---|
committer | Pawel Pekala <pawel@FreeBSD.org> | 2013-11-07 16:53:33 +0000 |
commit | 323968769141247b40b4b99f2c3b39f1b042ff17 (patch) | |
tree | 4e720818c1917c5df5c1eece17b6b00f9aadb47e /science/jmol | |
parent | ecacb8b7b79aae11c7936521215672fa9a872620 (diff) | |
download | ports-323968769141247b40b4b99f2c3b39f1b042ff17.tar.gz ports-323968769141247b40b4b99f2c3b39f1b042ff17.zip |
Notes
Diffstat (limited to 'science/jmol')
-rw-r--r-- | science/jmol/Makefile | 74 | ||||
-rw-r--r-- | science/jmol/distinfo | 4 | ||||
-rw-r--r-- | science/jmol/files/jmol.in | 3 | ||||
-rw-r--r-- | science/jmol/pkg-plist | 57 |
4 files changed, 26 insertions, 112 deletions
diff --git a/science/jmol/Makefile b/science/jmol/Makefile index 596d814a63a0..ce37c18e44aa 100644 --- a/science/jmol/Makefile +++ b/science/jmol/Makefile @@ -2,9 +2,9 @@ # $FreeBSD$ PORTNAME= jmol -PORTVERSION= 12.2.23 +PORTVERSION= 13.2.3 CATEGORIES= science java -MASTER_SITES= SF/${PORTNAME}/Jmol/Version%2012.2/Version%20${PORTVERSION}:source1 \ +MASTER_SITES= SF/${PORTNAME}/Jmol/Version%2013.2/Version%20${PORTVERSION}:source1 \ http://jmol.svn.sourceforge.net/viewvc/jmol/trunk/Jmol/selfSignedCertificate/:source2 DISTFILES= Jmol-${PORTVERSION}-full.tar.gz:source1 \ selfSignedCertificate.cer:source2 \ @@ -12,44 +12,20 @@ DISTFILES= Jmol-${PORTVERSION}-full.tar.gz:source1 \ EXTRACT_ONLY= Jmol-${PORTVERSION}-full.tar.gz MAINTAINER= ports@FreeBSD.org -COMMENT= An Open-Source Java Viewer for Chemical Structures in 3D +COMMENT= Open-source Java viewer for chemical structures in 3D USE_JAVA= yes -JAVA_VERSION= 1.6+ -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} -JMOL_FILES= Jmol.jar JmolApplet.jar JmolApplet0.jar \ - JmolApplet0_Console.jar \ - JmolApplet0_Minimize.jar \ - JmolApplet0_Popup.jar \ - JmolApplet0_ReadersCifPdb.jar JmolApplet0_ReadersMolXyz.jar \ - JmolApplet0_ReadersMore.jar JmolApplet0_ReadersXml.jar \ - JmolApplet0_ShapeBio.jar JmolApplet0_ShapeSpecial.jar \ - JmolApplet0_ShapeSurface.jar \ - JmolApplet0_Smiles.jar JmolApplet0_Symmetry.jar \ - JmolData.jar - -JMOL_FILES_EXT= Jmol.js -SIGN_DIR= ${WRKSRC}/selfSignedCertificate - -.if !defined(WITHOUT_COMPILE) +JAVA_VERSION= 1.7+ USE_ANT= yes ALL_TARGET= all -.if !defined(NOPORTDOCS) -ALL_TARGET= main -.endif -.else -NO_BUILD= yes -.endif -NO_STAGE= yes -.include <bsd.port.pre.mk> +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +SIGN_DIR= ${WRKSRC}/selfSignedCertificate +SUB_FILES= ${PORTNAME} + +OPTIONS_DEFINE= DOCS -pre-fetch: - @${ECHO_MSG} "" - @${ECHO_MSG} "You may use the following build options:" - @${ECHO_MSG} "" - @${ECHO_MSG} " WITHOUT_COMPILE=yes Install the pre-compiled .jar file" - @${ECHO_MSG} "" +DESKTOP_ENTRIES="Jmol" "" "" "${PORTNAME}" "" false post-extract: @${MKDIR} ${SIGN_DIR} @@ -57,28 +33,10 @@ post-extract: @${CP} ${DISTDIR}/selfSignedCertificate.store ${SIGN_DIR} do-install: -.for j in ${JMOL_FILES_EXT} - ${INSTALL_DATA} ${WRKSRC}/${j} ${JAVAJARDIR} -.endfor - -.if !defined(WITHOUT_COMPILE) -.for j in ${JMOL_FILES} - ${INSTALL_DATA} ${WRKSRC}/build/${j} ${JAVAJARDIR} -.endfor - ${INSTALL_DATA} ${WRKSRC}/build/JmolApplet0_i18n_*.jar ${JAVAJARDIR} -.else -.for j in ${JMOL_FILES} - ${INSTALL_DATA} ${WRKSRC}/${j} ${JAVAJARDIR} -.endfor - ${INSTALL_DATA} ${WRKSRC}/build/JmolApplet0_i18n_*.jar ${JAVAJARDIR} -.endif - -.if !defined(NOPORTDOCS) - @${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..." - @cd ${WRKSRC}/doc && ${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/{} \; - @cd ${WRKSRC}/doc && ${FIND} . -type f -exec \ - ${INSTALL_DATA} {} ${DOCSDIR}/{} \; - @${ECHO_MSG} " [DONE]" -.endif + ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + (cd ${WRKSRC}/build && ${INSTALL_DATA} Jmol.jar JmolData.jar \ + JmolLib.jar ${STAGEDIR}${JAVAJARDIR}) + (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) -.include <bsd.port.post.mk> +.include <bsd.port.mk> +.undef MAKE_ARGS diff --git a/science/jmol/distinfo b/science/jmol/distinfo index 4705ed8800f1..56123ab65a1a 100644 --- a/science/jmol/distinfo +++ b/science/jmol/distinfo @@ -1,5 +1,5 @@ -SHA256 (Jmol-12.2.23-full.tar.gz) = 97778f1c488870433c12e3fc728cd80fa59167ac093dec9399cf7e4f7b4924a6 -SIZE (Jmol-12.2.23-full.tar.gz) = 29491696 +SHA256 (Jmol-13.2.3-full.tar.gz) = c5835015ddaebd90c286fbfd55938b6995046481c117a0cd20c7f369f61ba70f +SIZE (Jmol-13.2.3-full.tar.gz) = 116255368 SHA256 (selfSignedCertificate.cer) = 0fa14fd5f21593a328ba4439ac17b3b507969d71a2734e392239b83ae8ec2920 SIZE (selfSignedCertificate.cer) = 735 SHA256 (selfSignedCertificate.store) = 81b69722530d94dc599ce79382a3386cce518baa7ab79fbb530d13483b51bed5 diff --git a/science/jmol/files/jmol.in b/science/jmol/files/jmol.in new file mode 100644 index 000000000000..fb623448f1d7 --- /dev/null +++ b/science/jmol/files/jmol.in @@ -0,0 +1,3 @@ +#!/bin/sh + +exec java -Djmol.home="%%JAVAJARDIR%%" -jar "%%JAVAJARDIR%%/Jmol.jar" "$@" diff --git a/science/jmol/pkg-plist b/science/jmol/pkg-plist index b50073c02bdf..ea343f042e5e 100644 --- a/science/jmol/pkg-plist +++ b/science/jmol/pkg-plist @@ -1,3 +1,4 @@ +bin/jmol %%PORTDOCS%%%%DOCSDIR%%/JmolAppletGuide.html %%PORTDOCS%%%%DOCSDIR%%/JmolDevelopersGuide.html %%PORTDOCS%%%%DOCSDIR%%/JmolUserGuide/ch01.html @@ -16,7 +17,7 @@ %%PORTDOCS%%%%DOCSDIR%%/JmolUserGuide/ch04.html %%PORTDOCS%%%%DOCSDIR%%/JmolUserGuide/index.html %%PORTDOCS%%%%DOCSDIR%%/docbook-xml-4.4.zip -%%PORTDOCS%%%%DOCSDIR%%/docbook-xsl-1.75.2.tar.gz +%%PORTDOCS%%%%DOCSDIR%%/docbook-xsl-1.76.1.tar.gz %%PORTDOCS%%%%DOCSDIR%%/ibm.license.html %%PORTDOCS%%%%DOCSDIR%%/jcfl-1.2.6-source.tar.gz %%PORTDOCS%%%%DOCSDIR%%/jpegEncoder.license @@ -35,6 +36,7 @@ %%PORTDOCS%%%%DOCSDIR%%/source/JmolHistoryToHtml.xsl %%PORTDOCS%%%%DOCSDIR%%/source/JmolHistory_fr.xml %%PORTDOCS%%%%DOCSDIR%%/source/JmolHistory_nl.xml +%%PORTDOCS%%%%DOCSDIR%%/source/JmolHistory_ro.xml %%PORTDOCS%%%%DOCSDIR%%/source/applet/browsers.docbook.xml %%PORTDOCS%%%%DOCSDIR%%/source/applet/browsers_fr.docbook.xml %%PORTDOCS%%%%DOCSDIR%%/source/applet/hardware.docbook.xml @@ -57,6 +59,7 @@ %%PORTDOCS%%%%DOCSDIR%%/source/history/changes.xml %%PORTDOCS%%%%DOCSDIR%%/source/history/changes_fr.xml %%PORTDOCS%%%%DOCSDIR%%/source/history/changes_nl.xml +%%PORTDOCS%%%%DOCSDIR%%/source/history/changes_ro.xml %%PORTDOCS%%%%DOCSDIR%%/source/history/contributors.xml %%PORTDOCS%%%%DOCSDIR%%/source/po/JmolAppletGuide.de.po %%PORTDOCS%%%%DOCSDIR%%/source/po/JmolAppletGuide.pot @@ -72,58 +75,8 @@ %%PORTDOCS%%%%DOCSDIR%%/source/xml2po.sh %%PORTDOCS%%%%DOCSDIR%%/splash.ai %%JAVAJARDIR%%/Jmol.jar -%%JAVAJARDIR%%/Jmol.js -%%JAVAJARDIR%%/JmolApplet.jar -%%JAVAJARDIR%%/JmolApplet0.jar -%%JAVAJARDIR%%/JmolApplet0_Console.jar -%%JAVAJARDIR%%/JmolApplet0_Minimize.jar -%%JAVAJARDIR%%/JmolApplet0_Popup.jar -%%JAVAJARDIR%%/JmolApplet0_ReadersCifPdb.jar -%%JAVAJARDIR%%/JmolApplet0_ReadersMolXyz.jar -%%JAVAJARDIR%%/JmolApplet0_ReadersMore.jar -%%JAVAJARDIR%%/JmolApplet0_ReadersXml.jar -%%JAVAJARDIR%%/JmolApplet0_ShapeBio.jar -%%JAVAJARDIR%%/JmolApplet0_ShapeSpecial.jar -%%JAVAJARDIR%%/JmolApplet0_ShapeSurface.jar -%%JAVAJARDIR%%/JmolApplet0_Symmetry.jar -%%JAVAJARDIR%%/JmolApplet0_Smiles.jar %%JAVAJARDIR%%/JmolData.jar -%%JAVAJARDIR%%/JmolApplet0_i18n_ar.jar -%%JAVAJARDIR%%/JmolApplet0_i18n_bs.jar -%%JAVAJARDIR%%/JmolApplet0_i18n_ca.jar -%%JAVAJARDIR%%/JmolApplet0_i18n_cs.jar -%%JAVAJARDIR%%/JmolApplet0_i18n_da.jar -%%JAVAJARDIR%%/JmolApplet0_i18n_de.jar -%%JAVAJARDIR%%/JmolApplet0_i18n_el.jar -%%JAVAJARDIR%%/JmolApplet0_i18n_en_GB.jar -%%JAVAJARDIR%%/JmolApplet0_i18n_es.jar -%%JAVAJARDIR%%/JmolApplet0_i18n_et.jar -%%JAVAJARDIR%%/JmolApplet0_i18n_fi.jar -%%JAVAJARDIR%%/JmolApplet0_i18n_fy.jar -%%JAVAJARDIR%%/JmolApplet0_i18n_fr.jar -%%JAVAJARDIR%%/JmolApplet0_i18n_hu.jar -%%JAVAJARDIR%%/JmolApplet0_i18n_hy.jar -%%JAVAJARDIR%%/JmolApplet0_i18n_id.jar -%%JAVAJARDIR%%/JmolApplet0_i18n_it.jar -%%JAVAJARDIR%%/JmolApplet0_i18n_ja.jar -%%JAVAJARDIR%%/JmolApplet0_i18n_jv.jar -%%JAVAJARDIR%%/JmolApplet0_i18n_ko.jar -%%JAVAJARDIR%%/JmolApplet0_i18n_nb.jar -%%JAVAJARDIR%%/JmolApplet0_i18n_nl.jar -%%JAVAJARDIR%%/JmolApplet0_i18n_ms.jar -%%JAVAJARDIR%%/JmolApplet0_i18n_oc.jar -%%JAVAJARDIR%%/JmolApplet0_i18n_pl.jar -%%JAVAJARDIR%%/JmolApplet0_i18n_pt.jar -%%JAVAJARDIR%%/JmolApplet0_i18n_pt_BR.jar -%%JAVAJARDIR%%/JmolApplet0_i18n_ru.jar -%%JAVAJARDIR%%/JmolApplet0_i18n_sl.jar -%%JAVAJARDIR%%/JmolApplet0_i18n_sv.jar -%%JAVAJARDIR%%/JmolApplet0_i18n_ta.jar -%%JAVAJARDIR%%/JmolApplet0_i18n_te.jar -%%JAVAJARDIR%%/JmolApplet0_i18n_tr.jar -%%JAVAJARDIR%%/JmolApplet0_i18n_uk.jar -%%JAVAJARDIR%%/JmolApplet0_i18n_zh_CN.jar -%%JAVAJARDIR%%/JmolApplet0_i18n_zh_TW.jar +%%JAVAJARDIR%%/JmolLib.jar %%PORTDOCS%%@dirrm %%DOCSDIR%%/source/xml2po-modes %%PORTDOCS%%@dirrm %%DOCSDIR%%/source/po %%PORTDOCS%%@dirrm %%DOCSDIR%%/source/history |