blob: 921c032631a6e7c4a2dd82112e7d3da5266aa8cd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# $NetBSD: Makefile,v 1.12 2022/06/30 11:18:39 nia Exp $
DISTNAME= release_${PKGVERSION_NOREV}
PKGNAME= sickgear-0.23.14
PKGREVISION= 3
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
DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
USE_TOOLS+= pax
PYTHON_VERSIONS_INCOMPATIBLE= 27
REPLACE_PYTHON+= sickgear.py
REPLACE_PYTHON+= SickBeard.py
REPLACE_PYTHON+= autoProcessTV/SickGear-NG/SickGear-NG.py
REPLACE_PYTHON+= autoProcessTV/autoProcessTV.py
REPLACE_PYTHON+= autoProcessTV/hellaToSickBeard.py
REPLACE_PYTHON+= autoProcessTV/mediaToSickbeard.py
REPLACE_PYTHON+= autoProcessTV/sabToSickBeard.py
REPLACE_PYTHON+= autoProcessTV/sabToSickGear.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:
find ${WRKSRC} -name '*.orig' -exec rm {} \;
${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"
|