freebsd-ports/science/jstrack/Makefile
Alexey Dokuchaev 723e015f2f Update to version 3.4.0, which includes updated documentation, links to
the NEW GOES EAST Satellite imagery, and, among other things, a new pop3
client for fetching WX-ATLAN email and handing each NHC product from
these emails to JStrack's filter, filt.tcl.

The NHC's server, along with the rest of the world, went to HTTPS, and
that broke the HTTP filter.  So, the HTTP filter is no longer supported.

Dependency on `graphics/netpbm' was removed because upstream had switched
to Tcl-based `Img' extension which apparently had not been ported yet.
2019-10-02 16:14:46 +00:00

55 lines
1.6 KiB
Makefile

# Created by: Chris Rees <utisoft@gmail.com>
# $FreeBSD$
PORTNAME= jstrack
PORTVERSION= 3.4.0
CATEGORIES= science
MASTER_SITES= http://www.jstrack.org/${PORTNAME}/downloads/ \
http://www.bayofrum.net/dist/${PORTNAME}/
DISTNAME= JStrack-${PORTVERSION}
MAINTAINER= bofh@FreeBSD.org
COMMENT= Freeware hurricane tracking program
LICENSE= JStrack
LICENSE_NAME= JStrack
LICENSE_TEXT= It is and always will be free, and [Jim Graham] wrote it...\
so don't charge money for it, and don't claim that you wrote it
LICENSE_PERMS= dist-sell pkg-sell auto-accept
RUN_DEPENDS= dtplite:devel/tcllib tcltls>0:devel/tcltls
WRKSRC= ${WRKDIR}/${PORTNAME}
USES= tk
NO_BUILD= yes
NO_ARCH= yes
SUB_FILES= ${PORTNAME}.sh
SUB_LIST= WISH=${WISH}
PORTDOCS= HISTORY JStrack-${PORTVERSION}-Documentation.pdf README
OPTIONS_DEFINE= DOCS
post-extract:
@${MKDIR} ${WRKSRC}/tracker/storms/old/2012
@cd ${WRKSRC}/tracker/storms/old/2012 && ${TAR} xf ../2012.tar.gz
@${RM} ${WRKSRC}/tracker/storms/old/20*z*
@${RM} -r ${WRKSRC}/tracker/lib/Img1.4.2
@${RMDIR} ${WRKSRC}/filt/tmp
post-patch:
${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/paths.tcl
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}
cd ${WRKSRC} && ${COPYTREE_SHARE} "filt tracker" \
${STAGEDIR}${PREFIX}/lib/${PORTNAME}
${INSTALL_SCRIPT} ${WRKSRC}/*.tcl ${STAGEDIR}${PREFIX}/lib/${PORTNAME}
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>