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

30 lines
836 B
Makefile

# $NetBSD: Makefile,v 1.23 2020/01/26 05:26:22 rillig Exp $
DISTNAME= astyle_3.1_linux
PKGNAME= ${DISTNAME:S/_linux//:S/_/-/}
CATEGORIES= textproc devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=astyle/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://astyle.sourceforge.net/
COMMENT= Free, Fast and Small Automatic Formatter for C, C++, C++/CLI, C\#, and Java
LICENSE= gnu-lgpl-v3
WRKSRC= ${WRKDIR}/astyle
USE_TOOLS+= gmake
USE_LANGUAGES= c++
AUTO_MKDIRS= yes
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "Darwin"
BUILD_DIRS= build/mac
.else
BUILD_DIRS= build/gcc
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${BUILD_DIRS}/bin/astyle ${DESTDIR}${PREFIX}/bin
cd ${WRKSRC}/doc && ${INSTALL_DATA} * ${DESTDIR}${PREFIX}/share/doc/astyle
.include "../../converters/libiconv/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"