pkgsrc/audio/tunapie/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

49 lines
1.6 KiB
Makefile

# $NetBSD: Makefile,v 1.28 2020/01/26 05:26:14 rillig Exp $
DISTNAME= tunapie-2.1.18
PKGREVISION= 2
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tunapie/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://tunapie.sourceforge.net/
COMMENT= Directory browser for Internet radio and TV streams
LICENSE= gnu-gpl-v2
DEPENDS+= ${PYPKGPREFIX}-wxWidgets>=2.6:../../x11/py-wxWidgets
PYTHON_VERSIONS_ACCEPTED= 27 # py-wxWidgets
USE_LANGUAGES= # none
SUBST_CLASSES+= fixpaths
SUBST_STAGE.fixpaths= do-configure
SUBST_FILES.fixpaths= tunapie
SUBST_SED.fixpaths= -e 's|python|${PYTHONBIN}|'
SUBST_SED.fixpaths+= -e 's|/usr/local|${PREFIX}|g'
SUBST_CLASSES+= sysconfdir
SUBST_STAGE.sysconfdir= do-configure
SUBST_FILES.sysconfdir= src/tuner.py
SUBST_SED.sysconfdir= -e 's|/etc|${PKG_SYSCONFDIR}|g'
INSTALLATION_DIRS= bin share/applications share/pixmaps share/tunapie
INSTALLATION_DIRS+= ${PKGMANDIR}/man1
REPLACE_SH= tunapie
# Refer ${WRKSRC}/install.sh for build&install.
do-build:
${RUN}cd ${WRKSRC};${PYTHONBIN} src/compile
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/tunapie ${DESTDIR}${PREFIX}/bin/
${INSTALL_DATA} ${WRKSRC}/src/*.py* ${DESTDIR}${PREFIX}/share/tunapie/
${INSTALL_DATA} ${WRKSRC}/src/*.png ${DESTDIR}${PREFIX}/share/tunapie/
${INSTALL_DATA} ${WRKSRC}/src/*.xpm ${DESTDIR}${PREFIX}/share/pixmaps/
${INSTALL_MAN} ${WRKSRC}/tunapie.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
${INSTALL_DATA} ${WRKSRC}/tunapie.desktop ${DESTDIR}${PREFIX}/share/applications
.include "../../lang/python/application.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/bsd.pkg.mk"