84f2203288
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).
47 lines
1.4 KiB
Makefile
47 lines
1.4 KiB
Makefile
# $NetBSD: Makefile,v 1.42 2020/01/26 05:26:16 rillig Exp $
|
|
|
|
DISTNAME= felt-3.05.src
|
|
PKGNAME= felt-3.05
|
|
PKGREVISION= 5
|
|
CATEGORIES= cad
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=felt/}
|
|
DISTFILES= felt-3.05.src.tar.gz felt-3.05.ps.gz
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://felt.sourceforge.net/
|
|
COMMENT= Free system for introductory level finite element analysis
|
|
|
|
EXTRACT_ONLY= felt-3.05.src.tar.gz
|
|
|
|
WRKSRC= ${WRKDIR}/FElt-3.05
|
|
USE_TOOLS+= gzcat
|
|
XAW_TYPE?= 3d
|
|
# does not directly support Xaw3d
|
|
BUILDLINK_TRANSFORM+= l:Xaw:Xaw3d
|
|
.PHONY: buildlink-Xaw3d-inc-hack
|
|
pre-configure: buildlink-Xaw3d-inc-hack
|
|
|
|
buildlink-Xaw3d-inc-hack: buildlink-directories
|
|
cd ${BUILDLINK_DIR}/include/X11 && ln -s Xaw3d Xaw
|
|
|
|
MAKE_ENV+= CCOPTS=${CFLAGS:M*:Q}
|
|
MAKE_ENV+= LDOPTS=${LDFLAGS:M*:Q}
|
|
MAKE_ENV+= SH=${SH:Q}
|
|
|
|
INSTALLATION_DIRS+= lib/X11/app-defaults share/doc/felt share/examples/felt
|
|
INSTALLATION_DIRS+= share/examples/felt share/doc/felt
|
|
|
|
post-extract:
|
|
${GZCAT} ${DISTDIR}/felt-3.05.ps.gz > ${WRKSRC}/felt.ps
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/felt.ps ${DESTDIR}${PREFIX}/share/doc/felt
|
|
cd ${WRKSRC} && ${INSTALL_DATA} FAQ FAQ.html README README.old \
|
|
COPYING CHANGELOG TODO ${DESTDIR}${PREFIX}/share/doc/felt
|
|
${INSTALL_DATA} ${WRKSRC}/examples/* ${DESTDIR}${PREFIX}/share/examples/felt
|
|
|
|
# uses remove_history() and history_list()
|
|
.include "../../devel/readline/buildlink3.mk"
|
|
.include "../../mk/xaw.buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|