# Created by: Wen heping # $FreeBSD: head/science/jmol/Makefile 401096 2015-11-09 12:59:03Z antoine $ PORTNAME= jmol PORTVERSION= 13.2.3 CATEGORIES= science java 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 \ selfSignedCertificate.store:source2 EXTRACT_ONLY= Jmol-${PORTVERSION}-full.tar.gz MAINTAINER= ports@FreeBSD.org COMMENT= Open-source Java viewer for chemical structures in 3D BROKEN= unfetchable USE_JAVA= yes JAVA_VERSION= 1.7+ USE_ANT= yes ALL_TARGET= all WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} SIGN_DIR= ${WRKSRC}/selfSignedCertificate SUB_FILES= ${PORTNAME} OPTIONS_DEFINE= DOCS DESKTOP_ENTRIES="Jmol" "" "" "${PORTNAME}" "" false post-extract: @${MKDIR} ${SIGN_DIR} @${CP} ${DISTDIR}/selfSignedCertificate.cer ${SIGN_DIR} @${CP} ${DISTDIR}/selfSignedCertificate.store ${SIGN_DIR} do-install: ${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 .undef MAKE_ARGS