mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
cf118ccf87
Reported by: lwhsu
37 lines
983 B
Makefile
37 lines
983 B
Makefile
PORTNAME= figtree
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 1.4.4
|
|
CATEGORIES= biology education java
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= Graphical viewer of phylogenetic trees
|
|
|
|
LICENSE= GPLv2
|
|
|
|
USE_JAVA= yes
|
|
USE_ANT= yes
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= rambaut
|
|
|
|
NO_ARCH= yes
|
|
|
|
DESKTOP_ENTRIES="FigTree" "Phylogenetic tree viewer" "${PREFIX}/share/pixmaps/${PORTNAME}.png" "${PORTNAME}" \
|
|
"Biology;Science;Education;" true
|
|
|
|
PLIST_FILES= bin/${PORTNAME} \
|
|
${JAVAJARDIR}/${PORTNAME}-pdf.jar \
|
|
${JAVAJARDIR}/${PORTNAME}.jar \
|
|
${JAVAJARDIR}/figtreepanel.jar \
|
|
share/pixmaps/${PORTNAME}.png \
|
|
|
|
do-install:
|
|
@(echo "#!/bin/sh"; \
|
|
echo ""; \
|
|
echo ${JAVA} -jar ${JAVAJARDIR}/${PORTNAME}.jar \
|
|
) > ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
|
@${CHMOD} +x ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
|
${INSTALL_DATA} ${WRKSRC}/dist/*.jar ${STAGEDIR}${JAVAJARDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/release/Linux/icons/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png
|
|
|
|
.include <bsd.port.mk>
|