[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / multimedia / sickgear

File: [cvs.NetBSD.org] / pkgsrc / multimedia / sickgear / Makefile (download)

Revision 1.5, Fri Dec 4 20:45:32 2020 UTC (3 years, 2 months ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2020Q4-base, pkgsrc-2020Q4
Changes since 1.4: +2 -1 lines

Revbump packages with a runtime Python dep but no version prefix.

For the Python 3.8 default switch.

# $NetBSD: Makefile,v 1.5 2020/12/04 20:45:32 nia Exp $

DISTNAME=	release_${PKGVERSION_NOREV}
PKGNAME=	sickgear-0.22.5
PKGREVISION=	1
CATEGORIES=	multimedia
MASTER_SITES=	${MASTER_SITE_GITHUB:=SickGear/}
GITHUB_PROJECT=	SickGear
GITHUB_TAG=	release_${PKGVERSION_NOREV}
DIST_SUBDIR=	SickGear

MAINTAINER=	js@pkgsrc.org
HOMEPAGE=	https://github.com/SickGear/SickGear
COMMENT=	Management of TV shows and/or Anime
LICENSE=	gnu-gpl-v3

DEPENDS+=	${PYPKGPREFIX}-cheetah-[0-9]*:../../devel/py-cheetah3

USE_TOOLS+=			pax
PYTHON_VERSIONS_INCOMPATIBLE=	27 36  # 36 untested

REPLACE_PYTHON+=	${WRKSRC}/sickgear.py
REPLACE_PYTHON+=	${WRKSRC}/SickBeard.py
REPLACE_PYTHON+=	${WRKSRC}/autoProcessTV/SickGear-NG/SickGear-NG.py
REPLACE_PYTHON+=	${WRKSRC}/autoProcessTV/autoProcessTV.py
REPLACE_PYTHON+=	${WRKSRC}/autoProcessTV/hellaToSickBeard.py
REPLACE_PYTHON+=	${WRKSRC}/autoProcessTV/mediaToSickbeard.py
REPLACE_PYTHON+=	${WRKSRC}/autoProcessTV/sabToSickBeard.py

CHECK_INTERPRETER_SKIP+=	lib/sickgear/init-scripts/init.gentoo

INSTALLATION_DIRS+=	bin lib/sickgear

# These are wrong all over the place.
CHECK_PERMS_SKIP=	*

do-build:
	${SED} ${FILES_SUBST_SED} ${FILESDIR}/sickgear >${WRKDIR}/sickgear

do-install:
	cd ${WRKSRC} && ${PAX} -wr * ${DESTDIR}${PREFIX}/lib/sickgear
	${INSTALL_SCRIPT} ${WRKDIR}/sickgear ${DESTDIR}${PREFIX}/bin/sickgear

.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"