git: 723ddd51709d - 2024Q3 - textproc/mgdiff: move source to public VCS; Codeberg
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 17 Jul 2024 19:41:41 UTC
The branch 2024Q3 has been updated by cy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=723ddd51709d86d9ce13ce343e9ede4b651cf270
commit 723ddd51709d86d9ce13ce343e9ede4b651cf270
Author: Chris Hutchinson <portmaster@BSDforge.com>
AuthorDate: 2024-07-17 00:42:14 +0000
Commit: Cy Schubert <cy@FreeBSD.org>
CommitDate: 2024-07-17 19:41:15 +0000
textproc/mgdiff: move source to public VCS; Codeberg
The original source location went dark. This patch moves the
original source to a public VCS, as it's still a suprisingly
popular utility. This patch changes MASTERSITES, WWW and distinfo.
While here, use desktop icon now located with the source.
PR: 280289
(cherry picked from commit ebd88827296f5c4f1b68c87f882886ffb199b5cd)
---
textproc/mgdiff/Makefile | 13 +++++++------
textproc/mgdiff/distinfo | 5 +++--
2 files changed, 10 insertions(+), 8 deletions(-)
diff --git a/textproc/mgdiff/Makefile b/textproc/mgdiff/Makefile
index 8dbf744a3bbc..03fe292dccbd 100644
--- a/textproc/mgdiff/Makefile
+++ b/textproc/mgdiff/Makefile
@@ -1,13 +1,12 @@
PORTNAME= mgdiff
-PORTVERSION= 1.0
-PORTREVISION= 7
+DISTVERSION= 1.0
+PORTREVISION= 8
CATEGORIES= textproc
-MASTER_SITES= XCONTRIB/applications
-DISTNAME= ${PORTNAME}
+MASTER_SITES= https://codeberg.org/BSDforge/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/
MAINTAINER= portmaster@BSDforge.com
COMMENT= Graphical front end to the UNIX diff command
-WWW= https://BSDforge.com/projects/textproc/mgdiff/
+WWW= https://codeberg.org/BSDforge/mgdiff/
LICENSE= MIT
@@ -19,6 +18,8 @@ DESKTOP_ENTRIES= "mgdiff" "GUI front end to the UNIX diff command" \
"mgdiff" "GNOME;GTK;Motif;Development;System;" \
false
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
@@ -27,7 +28,7 @@ CFLAGS+= -Wno-error=incompatible-function-pointer-types
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/pixmaps
- ${INSTALL_DATA} ${FILESDIR}/mgdiff-48x48.xpm ${STAGEDIR}${PREFIX}/share/pixmaps
+ ${INSTALL_DATA} ${WRKSRC}/mgdiff-48x48.xpm ${STAGEDIR}${PREFIX}/share/pixmaps
${INSTALL_DATA} ${WRKSRC}/mgdiff.x[bp]m ${STAGEDIR}${PREFIX}/share/pixmaps
.include <bsd.port.mk>
diff --git a/textproc/mgdiff/distinfo b/textproc/mgdiff/distinfo
index b0b188f1603c..c01265269fad 100644
--- a/textproc/mgdiff/distinfo
+++ b/textproc/mgdiff/distinfo
@@ -1,2 +1,3 @@
-SHA256 (mgdiff.tar.gz) = 19a68bd5a5de287ca0395f7881d42b15e76c3fafb2f40efcfd1ca980268ef5ac
-SIZE (mgdiff.tar.gz) = 41187
+TIMESTAMP = 1721176722
+SHA256 (mgdiff-1.0.tar.gz) = a84fb4958a000e9e18103c43a459a4af80dded594156db14bd43c9b850eed8d9
+SIZE (mgdiff-1.0.tar.gz) = 46483