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

43 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.35 2020/01/26 05:26:26 rillig Exp $
DISTNAME= BLT2.4z
PKGNAME= blt-2.4z
PKGREVISION= 10
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=blt/}
PATCHFILES= blt2.4z-patch-2
PATCH_SITES= ${MASTER_SITES}
PATCH_DIST_STRIP= -p1
MAINTAINER= brook@nmsu.edu
HOMEPAGE= http://blt.sourceforge.net/
COMMENT= Extension to Tcl/Tk
MAKE_JOBS_SAFE= no
WRKSRC= ${WRKDIR}/blt2.4z
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --exec-prefix=${PREFIX}
CONFIGURE_ARGS+= --with-tcl=${BUILDLINK_PREFIX.tcl}/lib
CONFIGURE_ARGS+= --with-tk=${BUILDLINK_PREFIX.tk}/lib
CONFIGURE_ENV+= X11BASE=${X11BASE}
CFLAGS+= -DUSE_INTERP_RESULT
MAKE_ENV+= CP=${CP:Q}
CHECK_INTERPRETER_SKIP+= lib/*/demos/*.tcl
INSTALL_MAKE_FLAGS+= INSTALL_ROOT=${DESTDIR}
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD"
. if empty(OS_VERSION:M1.[56]*)
.include "../../mk/pthread.buildlink3.mk"
. endif
.endif
.include "../../lang/tcl/buildlink3.mk"
.include "../../x11/tk/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"