git: 4a25d3e774f4 - main - net/delegate: fix MASTER_SITES add LICENSE

From: Fernando Apesteguía <fernape_at_FreeBSD.org>
Date: Sun, 04 Feb 2024 17:46:02 UTC
The branch main has been updated by fernape:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4a25d3e774f4b0e4382611b6f6bcf247bb7ea7c1

commit 4a25d3e774f4b0e4382611b6f6bcf247bb7ea7c1
Author:     Chris Hutchinson <portmaster@bsdforge.com>
AuthorDate: 2024-02-03 12:17:37 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2024-02-04 17:45:41 +0000

    net/delegate: fix MASTER_SITES add LICENSE
    
    The attached patch fixes MASTER_SITES.
    While here add LICENSE and remove obsolete files.
    
    PR:             276748
    Reported by:    portmaster@bsdforge.com (maintainer)
---
 net/delegate/Makefile | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)

diff --git a/net/delegate/Makefile b/net/delegate/Makefile
index 903c85d71a09..6da498805f1b 100644
--- a/net/delegate/Makefile
+++ b/net/delegate/Makefile
@@ -1,14 +1,19 @@
 PORTNAME=	delegate
 PORTVERSION=	9.9.13
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	net www
-MASTER_SITES=	ftp://ftp.delegate.org/pub/DeleGate/
+MASTER_SITES=	http://www.delegate.org/anonftp/DeleGate/
 DISTNAME=	${PORTNAME}${PORTVERSION}
 
 MAINTAINER=	portmaster@BSDforge.com
 COMMENT=	General purpose TCP/IP proxy system
 WWW=		http://www.delegate.org/delegate/
 
+LICENSE=	AIST
+LICENSE_NAME=	aist
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+LICENSE_PERMS=	dist-mirror pkg-mirror auto-accept
+
 BROKEN_mips=		fails to build: gmake[1]: [Makefile:116: mkmake.exe] Error 1
 BROKEN_mips64=		fails to build: gmake[1]: [Makefile:116: mkmake.exe] Error 1
 
@@ -19,17 +24,15 @@ ADMIN?=		admin@example.com
 
 CFLAGS+=	-x c++ -std=gnu++98
 
-FETCH_ARGS=	-Fr --no-passive
-
 PLIST_FILES=	sbin/delegated etc/rc.d/delegated.sh-dist
-PORTDOCS=	CHANGES COPYRIGHT DG9note.html HowToDG.html IPv6NOTE.txt \
+PORTDOCS=	CHANGES COPYRIGHT HowToDG.html IPv6NOTE.txt \
 		Manual.htm jpconv.htm tutor-en.htm tutor-jp.htm
 
 OPTIONS_DEFINE=	DOCS
 
 post-extract:
-	@${LN} ${WRKSRC}/CHANGES ${WRKSRC}/COPYRIGHT ${WRKSRC}/DG9note.html \
-		${WRKSRC}/IPv6NOTE.txt ${WRKSRC}/doc
+	@${LN} ${WRKSRC}/CHANGES ${WRKSRC}/COPYRIGHT \
+	${WRKSRC}/IPv6NOTE.txt ${WRKSRC}/doc
 
 post-patch:
 # Prevent "filesystem was touched prior to 'make install' phase" warning;