pkgsrc/devel/pdcurses/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

52 lines
1.5 KiB
Makefile

# $NetBSD: Makefile,v 1.14 2020/01/26 05:26:24 rillig Exp $
DISTNAME= PDCurses-3.4
PKGNAME= ${DISTNAME:tl}
PKGREVISION= 1
CATEGORIES= devel x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pdcurses/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://pdcurses.sourceforge.io/
COMMENT= Public domain implementation of the X/Open curses standard
#LICENSE= See README, Legal Stuff part, starting with:
# The core package is in the public domain, but small portions of PDCurses
# are subject to copyright under various licenses
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
MAKE_JOBS_SAFE= no
CONFIGURE_ARGS+= --with-x
CONFIGURE_ENV+= X11BASE=${X11BASE:Q}
# PDCURSES_XAW is the name of the Xaw library.
#
# XXX This information should really be provided by the various Xaw-like
# XXX buildlink3.mk files.
#
PDCURSES_XAW.3d= Xaw3d
PDCURSES_XAW.neXtaw= neXtaw
PDCURSES_XAW.xpm= Xaw3d
PDCURSES_XAW.standard= Xaw
PDCURSES_XAW= ${PDCURSES_XAW.${XAW_TYPE}}
CONFIGURE_ENV+= PDCURSES_XAW=${PDCURSES_XAW:Q}
REPLACE_SH= x11/xcurses-config.in
DOCDIR= ${PREFIX}/share/doc/${PKGBASE}
INSTALLATION_DIRS+= ${DOCDIR}
post-install:
${INSTALL_DATA} ${WRKSRC}/doc/PDCurses.txt ${DESTDIR}${DOCDIR}
.include "../../mk/xaw.buildlink3.mk"
.include "../../x11/libICE/buildlink3.mk"
.include "../../x11/libSM/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXmu/buildlink3.mk"
.include "../../x11/libXpm/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"