pkgsrc/x11/xcalib/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

37 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.9 2020/01/26 05:26:28 rillig Exp $
DISTNAME= xcalib-source-0.8
PKGREVISION= 3
PKGNAME= ${DISTNAME:C/-source//}
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xcalib/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://xcalib.sourceforge.net/
COMMENT= Loads VCGT tag of monitor ICC profile into X server LUT
LICENSE= gnu-gpl-v2
WRKSRC= ${WRKDIR}/${DISTNAME:C/-source//}
USE_LIBTOOL= yes
INSTALLATION_DIRS= bin
CFLAGS.SunOS+= -Du_int16_t=uint16_t
do-build:
cd ${WRKSRC} && ${LIBTOOL} --mode=compile ${CC} ${CFLAGS} -c xcalib.c
cd ${WRKSRC} && ${LIBTOOL} --mode=link ${CC} ${LDFLAGS} \
${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.libX11}/lib \
-L${BUILDLINK_PREFIX.libX11}/lib \
${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.libXxf86vm}/lib \
-L${BUILDLINK_PREFIX.libXxf86vm}/lib \
-lm -lX11 -lXxf86vm \
-o xcalib xcalib.lo
do-install:
${SETENV} ${MAKE_ENV} ${LIBTOOL} --tag=CC --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/xcalib ${DESTDIR}${PREFIX}/bin/
.include "../../x11/xorgproto/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXxf86vm/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"