pkgsrc/devel/diffuse/Makefile
rillig 84f2203288 all: migrate some SourceForge homepage URLs back from https to http
https://mail-index.netbsd.org/pkgsrc-changes/2020/01/18/msg205146.html

In the above commit, the homepage URLs were migrated from http to https,
assuming that SourceForge would use the same host names for both http and
https connections. This assumption was wrong. Their documentation at
https://sourceforge.net/p/forge/documentation/Custom%20VHOSTs/ states
that the https URLs use the domain sourceforge.io instead.

To make the homepages from the above commit reachable again, pkglint has
been extended to check for reachable homepages. This check is only
enabled when the --network command line option is given.

Each of the homepages that referred to https://$project.sourceforge.net
before was migrated to https://$project.sourceforge.io (27), and if that
was not reachable, to the fallback URL http://$project.sourceforge.net
(163).
2020-01-26 05:26:08 +00:00

37 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.46 2020/01/26 05:26:23 rillig Exp $
DISTNAME= diffuse-0.4.8
PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=diffuse/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://diffuse.sourceforge.net/
COMMENT= Graphical tool for merging and comparing text files
LICENSE= gnu-gpl-v2
DEPENDS+= ${PYPKGPREFIX}-gtk2>=2.10:../../x11/py-gtk2
PYTHON_VERSIONS_ACCEPTED= 27 # py-gtk2
USE_TOOLS+= msgfmt
USE_LANGUAGES= # none
CONF_FILES+= ${PREFIX}/share/examples/diffuse/diffuserc \
${PKG_SYSCONFDIR}/diffuserc
do-build:
# nothing
do-install:
cd ${WRKSRC} && ${PYTHONBIN} ./install.py --destdir=/${DESTDIR} \
--examplesdir=${PREFIX}/share/examples/diffuse \
--mandir=${PREFIX}/${PKGMANDIR} \
--prefix=${PREFIX} --sysconfdir=${PKG_SYSCONFDIR} \
--pythonbin=${PYTHONBIN} --files-only
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../mk/omf-scrollkeeper.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/bsd.pkg.mk"