git: 6313fba85696 - main - archivers/squsq: Unbreak on HEAD

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Tue, 16 May 2023 15:47:08 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6313fba85696302a309c938a961f4300bba7b85e

commit 6313fba85696302a309c938a961f4300bba7b85e
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-05-16 14:41:56 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-05-16 15:46:53 +0000

    archivers/squsq: Unbreak on HEAD
    
    - Pet portclippy
    - Update MASTER_STES and remove unreachable URLs
---
 archivers/squsq/Makefile | 18 ++++++++++++++----
 1 file changed, 14 insertions(+), 4 deletions(-)

diff --git a/archivers/squsq/Makefile b/archivers/squsq/Makefile
index a46799497bbc..e4ff661a20e0 100644
--- a/archivers/squsq/Makefile
+++ b/archivers/squsq/Makefile
@@ -1,24 +1,34 @@
 PORTNAME=	squsq
 PORTVERSION=	3.3
 CATEGORIES=	archivers
-MASTER_SITES=	http://freebsd.nsu.ru/distfiles/ NETBSD LOCAL/danfe
+MASTER_SITES=	NETBSD LOCAL/danfe
 DISTNAME=	t20-squsq-3.3
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Compressor/decompressor for CP/M "Squeeze" compressed files
 
-CONFLICTS=	squirrel
-WRKSRC=		${WRKDIR}/t20-squsq
+LICENSE=	NONE
+
 MAKEFILE=	${FILESDIR}/Makefile
+
 CFLAGS+=	-Wno-error=return-type
 
+CONFLICTS=	squirrel
 CONFLICTS_INSTALL=	sequoia squirrel # bin/sq
 
+WRKSRC=		${WRKDIR}/t20-squsq
+
 PLIST_FILES=	bin/sq bin/usq
 PORTDOCS=	readme
 
 OPTIONS_DEFINE=	DOCS
 
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+CFLAGS+=	-Wno-error=int-conversion
+.endif
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/sq ${WRKSRC}/usq ${STAGEDIR}${PREFIX}/bin
 
@@ -26,4 +36,4 @@ do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/readme ${STAGEDIR}${DOCSDIR}
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>