pkgsrc/cad/tnt-mmtl/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

41 lines
1.5 KiB
Makefile

# $NetBSD: Makefile,v 1.32 2020/01/26 05:26:16 rillig Exp $
DISTNAME= tnt-1.2.2
PKGNAME= ${DISTNAME:S/tnt/tnt-mmtl/}
PKGREVISION= 13
CATEGORIES= cad
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mmtl/}
MAINTAINER= dmcmahill@NetBSD.org
HOMEPAGE= http://mmtl.sourceforge.net/
COMMENT= Multilayer Multiconductor Transmission Line 2-D and 2.5-D simulator
BUILD_DEPENDS+= latex2html-[0-9]*:../../textproc/latex2html
BUILD_DEPENDS+= tex-amsmath-[0-9]*:../../print/tex-amsmath
BUILD_DEPENDS+= tex-fancyhdr-[0-9]*:../../print/tex-fancyhdr
BUILD_DEPENDS+= tex-graphics-[0-9]*:../../print/tex-graphics
BUILD_DEPENDS+= tex-hyperref-[0-9]*:../../print/tex-hyperref
BUILD_DEPENDS+= tex-latex-[0-9]*:../../print/tex-latex
BUILD_DEPENDS+= tex-latex-bin-[0-9]*:../../print/tex-latex-bin
GNU_CONFIGURE= YES
USE_TOOLS+= aclocal autoconf automake gmake
USE_LANGUAGES= c c++ fortran77
# without this, configure ends up using 'gcc -E' for CPP and
# passing that down via an environment variable to f2c-f77 which
# in turn ends up feeding a .F file to gcc -E that fails due to
# fortran not being a configured language. This is what happens on
# a stock NetBSD-5.1 install.
CONFIGURE_ENV+= CPP=${CPP:Q}
post-patch:
${MV} ${WRKSRC}/tnt ${WRKSRC}/tnt-mmtl
cd ${WRKSRC}/bem && aclocal
cd ${WRKSRC}/bem && automake --add-missing --copy --force-missing
cd ${WRKSRC}/bem && autoconf
.include "../../lang/tcl/buildlink3.mk"
.include "../../x11/tk/buildlink3.mk"
.include "../../x11/tk-BWidget/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"