pkgsrc/databases/yasql/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

38 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.25 2020/01/26 05:26:21 rillig Exp $
DISTNAME= yasql-1.81
PKGREVISION= 9
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=yasql/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://yasql.sourceforge.net/
COMMENT= Yet another SQLPlus replacement for Oracle
DEPENDS+= p5-DBD-Oracle-[0-9]*:../../databases/p5-DBD-Oracle
#DEPENDS+= {perl>=5.002,p5-Term-ReadLine-[0-9]*}:../../devel/p5-Term-ReadLine
DEPENDS+= p5-Term-ReadKey-[0-9]*:../../devel/p5-Term-ReadKey
USE_TOOLS+= perl:run
GNU_CONFIGURE= yes
NO_BUILD= yes
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
CONF_FILES+= ${PREFIX}/share/examples/yasql/yasql.conf \
${PKG_SYSCONFDIR}/yasql.conf
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
post-configure:
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} default
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/yasql ${DESTDIR}${PREFIX}/bin/yasql
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/yasql
${INSTALL_DATA} ${WRKSRC}/yasql.conf \
${DESTDIR}${PREFIX}/share/examples/yasql/yasql.conf
${INSTALL_MAN} ${WRKSRC}/yasql.1 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/yasql.1
.include "../../mk/bsd.pkg.mk"