graphics/gmt-gshhg: Refresh MASTER_SITES and improve port

* Refresh MASTER_SITES
* Small improvements to layout and syntax of port Makefile

PR:		282045
Reviewed by:	lbartoletti (maintainer)
This commit is contained in:
Daniel Engberg 2024-10-13 20:41:25 +02:00
parent 98e3dae36a
commit dd72b5403a

View file

@ -1,15 +1,10 @@
PORTNAME= gshhg-gmt PORTNAME= gshhg-gmt
DISTVERSION= 2.3.7 DISTVERSION= 2.3.7
CATEGORIES= graphics CATEGORIES= graphics
MASTER_SITES= ftp://ftp.soest.hawaii.edu/%SUBDIR%/ \ MASTER_SITES= http://www.soest.hawaii.edu/pwessel/gshhg/ \
ftp://ftp.geologi.uio.no/pub/%SUBDIR%/ \ ftp://ftp.soest.hawaii.edu/gshhg/ \
ftp://ftp.iag.usp.br/%SUBDIR%/ \ https://gmt.mirror.ac.za/gmt/ \
ftp://ftp.scc.u-tokai.ac.jp/pub/%SUBDIR%/ \ ftp://ftp.scc.u-tokai.ac.jp/pub/gmt/
http://gd.tuwien.ac.at/graphics/visual/%SUBDIR%/ \
http://gmt.mirror.ac.za/%SUBDIR%/ \
ftp://ftp.soest.hawaii.edu/gshhg/:gshhg \
ftp://ftp.scc.u-tokai.ac.jp/pub/gmt/:gshhg
MASTER_SITE_SUBDIR= gmt gmt/legacy
MAINTAINER= lbartoletti@FreeBSD.org MAINTAINER= lbartoletti@FreeBSD.org
COMMENT= Global Self-consistent, Hierarchical, High-resolution Geography COMMENT= Global Self-consistent, Hierarchical, High-resolution Geography
@ -23,6 +18,6 @@ NO_ARCH=YES
do-install: do-install:
${MKDIR} ${STAGEDIR}${DATADIR} ${MKDIR} ${STAGEDIR}${DATADIR}
(cd ${WRKSRC} ; ${INSTALL_DATA} *.nc ${STAGEDIR}${DATADIR}) ${INSTALL_DATA} ${WRKSRC}/*.nc ${STAGEDIR}${DATADIR}
.include <bsd.port.mk> .include <bsd.port.mk>