pkgsrc/biology/nut/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

27 lines
755 B
Makefile

# $NetBSD: Makefile,v 1.30 2020/01/26 05:26:15 rillig Exp $
DISTNAME= nut-15.8
CATEGORIES= biology
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=nut/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://nut.sourceforge.net/
COMMENT= Record what you eat and analyze your meals
LICENSE= gnu-gpl-v2
BUILD_TARGET= nut
USE_TOOLS+= gmake
SUBST_CLASSES+= path
SUBST_STAGE.path= pre-build
SUBST_FILES.path= Makefile
SUBST_SED.path= -e 's|/usr/local/lib|${PREFIX}/share|g'
INSTALLATION_DIRS= bin share/doc/nut share/nut
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/nut ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/raw.data/* ${DESTDIR}${PREFIX}/share/nut
${INSTALL_DATA} ${WRKSRC}/nut.html ${DESTDIR}${PREFIX}/share/doc/nut
.include "../../mk/bsd.pkg.mk"