git: 98e3dae36aad - main - graphics/gmt-dcw: Refresh MASTER_SITES and improve port

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Sun, 13 Oct 2024 19:11:22 UTC
The branch main has been updated by diizzy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=98e3dae36aad2827e86e4b2ad77486c1b8d7d323

commit 98e3dae36aad2827e86e4b2ad77486c1b8d7d323
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2024-10-13 18:39:06 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2024-10-13 19:11:16 +0000

    graphics/gmt-dcw: Refresh MASTER_SITES and improve port
    
    * Refresh MASTER_SITES
    * Small improvements to layout and syntax of port Makefile
    
    PR:             282044
    Reviewed by:    lbartoletti (maintainer)
---
 graphics/gmt-dcw/Makefile | 18 ++++++------------
 1 file changed, 6 insertions(+), 12 deletions(-)

diff --git a/graphics/gmt-dcw/Makefile b/graphics/gmt-dcw/Makefile
index 0b14d5486fbe..afcc16a9801c 100644
--- a/graphics/gmt-dcw/Makefile
+++ b/graphics/gmt-dcw/Makefile
@@ -1,15 +1,9 @@
 PORTNAME=	dcw-gmt
 DISTVERSION=	2.1.2
 CATEGORIES=	graphics
-MASTER_SITES=	ftp://ftp.soest.hawaii.edu/%SUBDIR%/ \
-		ftp://ftp.geologi.uio.no/pub/%SUBDIR%/ \
-		ftp://ftp.iag.usp.br/%SUBDIR%/ \
-		ftp://ftp.scc.u-tokai.ac.jp/pub/%SUBDIR%/ \
-		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
+MASTER_SITES=	ftp://ftp.soest.hawaii.edu/dcw/ \
+		https://gmt.mirror.ac.za/ \
+		ftp://ftp.scc.u-tokai.ac.jp/pub/gmt/
 
 MAINTAINER=	lbartoletti@FreeBSD.org
 COMMENT=	Digital Chart of the World for GMT 5 or later
@@ -18,11 +12,11 @@ WWW=		https://www.soest.hawaii.edu/wessel/dcw/
 LICENSE=	GPLv3 LGPL3
 LICENSE_COMB=	multi
 
-NO_BUILD=YES
-NO_ARCH=YES
+NO_BUILD=	YES
+NO_ARCH=	YES
 
 do-install:
 	${MKDIR} ${STAGEDIR}${DATADIR}
-	(cd ${WRKSRC} ; ${INSTALL_DATA} dcw* ${STAGEDIR}${DATADIR})
+	${INSTALL_DATA} ${WRKSRC}/dcw* ${STAGEDIR}${DATADIR}
 
 .include <bsd.port.mk>