pkgsrc/archivers/arj/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

43 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.35 2020/01/26 05:26:08 rillig Exp $
DISTNAME= arj-3.10.22
PKGREVISION= 2
CATEGORIES= archivers
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=arj/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://arj.sourceforge.net/
COMMENT= Open-source ARJ archiver
LICENSE= gnu-gpl-v2
MAKE_JOBS_SAFE= no
USE_TOOLS+= autoconf gmake
GNU_CONFIGURE= yes
CONFIGURE_ENV+= LD=${LD:Q}
CONFIGURE_SCRIPT= ${WRKSRC}/gnu/configure
MAKE_FILE= makefile.gnu
MAKE_FLAGS+= INSTALL_DIR=${INSTALL_PROGRAM_DIR:Q}
INSTALL_UNSTRIPPED= yes # $LOCALBASE/bin/arj must have symbol table
ARJ_DOCSDIR= ${PREFIX}/share/doc/arj
pre-configure:
${CP} -f ${WRKSRC}/environ.c ${WRKSRC}/environ.c.1
${SED} -e 's|@PREFIX@|${PREFIX}|g' < ${WRKSRC}/environ.c.1 \
> ${WRKSRC}/environ.c
${RM} -f ${WRKSRC}/environ.c.1
cd ${WRKSRC}/gnu && autoconf
INSTALLATION_DIRS+= ${ARJ_DOCSDIR}
BROKEN_ON_PLATFORM= ${LP64PLATFORMS}
post-install:
${INSTALL_DATA} ${WRKSRC}/doc/COPYING ${WRKSRC}/doc/debug.txt \
${DESTDIR}${ARJ_DOCSDIR}
.for i in arjl.txt arjs.txt history.txt readme.txt unix.txt
${INSTALL_DATA} ${WRKSRC}/resource/en/${i:Q} ${DESTDIR}${ARJ_DOCSDIR}
.endfor
.include "../../mk/bsd.pkg.mk"