pkgsrc/x11/Xbae/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

34 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.34 2020/01/26 05:26:26 rillig Exp $
DISTNAME= xbae-4.51.01
PKGNAME= Xbae-4.51.01
PKGREVISION= 3
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xbae/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://xbae.sourceforge.net/
COMMENT= Motif-compatible widgets: XbaeMatrix, XbaeCaption, XbaeInput
USE_LIBTOOL= YES
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --with-motif-includes=${MOTIFBASE}/include
CONFIGURE_ARGS+= --with-motif-libraries=${MOTIFBASE}/lib
INSTALLATION_DIRS= share/aclocal
SUBST_CLASSES+= dirs
SUBST_STAGE.dirs= pre-configure
SUBST_FILES.dirs= Makefile.in doc/Makefile.in doc/images/Makefile.in src/Makefile.in
SUBST_SED.dirs= -e '/^mandir =/ s,=.*,= @mandir@,'
SUBST_SED.dirs+= -e '/^SUBDIRS =/ s,examples,,'
SUBST_SED.dirs+= -e '/^docdir =/ s,=.*,= $$(datadir)/doc/Xbae,'
SUBST_SED.dirs+= -e '/^imagedir =/ s,=.*,= $$(datadir)/doc/Xbae/images,'
SUBST_SED.dirs+= -e '/^install-data-am:/ s,install-htmlDATA,,'
post-install:
${INSTALL_DATA} ${WRKSRC}/ac_find_xbae.m4 ${DESTDIR}${PREFIX}/share/aclocal
.include "../../mk/motif.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"