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

36 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.60 2020/01/26 05:26:22 rillig Exp $
DISTNAME= cscope-15.8a
PKGREVISION= 2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=cscope/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://cscope.sourceforge.net/
COMMENT= Interactive C program browser
LICENSE= original-bsd
GNU_CONFIGURE= YES
USE_TOOLS+= byacc lex:run
CONFIGURE_ARGS+= --with-flex --with-yacc
INSTALLATION_DIRS+= share/emacs/site-lisp
SUBST_CLASSES+= path
SUBST_SED.path= -e "s,PATH=\"\\(.*\\),PATH=\"${PREFIX}/bin:\\1,"
SUBST_FILES.path= contrib/xcscope/cscope-indexer
SUBST_MESSAGE.path= Fixing path in cscope-indexer.
SUBST_STAGE.path= pre-configure
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/contrib/xcscope/cscope-indexer \
${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/contrib/xcscope/xcscope.el \
${DESTDIR}${PREFIX}/share/emacs/site-lisp
.include "../../mk/curses.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
.if ${CURSES_TYPE} == "ncurses"
CONFIGURE_ARGS+= --with-ncurses=${BUILDLINK_PREFIX.ncurses}
.endif