mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
3239687691
- Remove leading article, revise capitalization in COMMENT - Convert to new options framework - Support staging - Add launch script and desktop entry file PR: ports/182482 [1] Submitted by: Max Sterling <maxclsb@gmail.com> [1]
43 lines
1.2 KiB
Makefile
43 lines
1.2 KiB
Makefile
# 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
|