pkgsrc/devel/ant-contrib/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

31 lines
927 B
Makefile

# $NetBSD: Makefile,v 1.3 2020/01/26 05:26:22 rillig Exp $
DISTNAME= ant-contrib-0.6-bin
PKGNAME= ${DISTNAME:S/-bin//}
CATEGORIES= devel java
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ant-contrib/ant-contrib/${PKGNAME_NOREV}/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://ant-contrib.sourceforge.net/
COMMENT= Collection of tasks and tools for apache-ant
LICENSE= apache-2.0
WRKSRC= ${WRKDIR}
USE_JAVA= run
USE_JAVA2= yes
USE_TOOLS+= pax
NO_BUILD= yes
INSTALLATION_DIRS= lib/java/ant share/doc/java/ant-contrib
DEPENDS+= apache-ant>=1.5:../../devel/apache-ant
do-install:
${INSTALL_DATA} ${WRKSRC}/lib/${PKGNAME_NOREV}.jar ${DESTDIR}${PREFIX}/lib/java/ant
cd ${WRKSRC}/docs && pax -rw -pmp * ${DESTDIR}${PREFIX}/share/doc/java/ant-contrib
${INSTALL_DATA} ${WRKSRC}/README.txt ${DESTDIR}${PREFIX}/share/doc/java/ant-contrib
.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"