blob: ce37c18e44aaafc829ae5a79a5308745e7a7aa62 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Created by: Wen heping <wenheping@gmail.com>
# $FreeBSD$
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
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 <bsd.port.mk>
.undef MAKE_ARGS
|