| @@ -1,35 +1,35 @@ | | | @@ -1,35 +1,35 @@ |
1 | # $NetBSD: Makefile,v 1.8 2023/06/06 12:41:58 riastradh Exp $ | | 1 | # $NetBSD: Makefile,v 1.9 2023/08/07 13:39:29 adam Exp $ |
2 | | | 2 | |
3 | DISTNAME= asciinema-2.2.0 | | 3 | DISTNAME= asciinema-2.3.0 |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} |
5 | CATEGORIES= misc multimedia python | | 5 | CATEGORIES= misc multimedia python |
6 | MASTER_SITES= ${MASTER_SITE_PYPI:=a/asciinema/} | | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=a/asciinema/} |
7 | | | 7 | |
8 | MAINTAINER= pkgsrc-users@NetBSD.org | | 8 | MAINTAINER= pkgsrc-users@NetBSD.org |
9 | HOMEPAGE= https://asciinema.org/ | | 9 | HOMEPAGE= https://asciinema.org/ |
10 | COMMENT= Terminal session recorder | | 10 | COMMENT= Terminal session recorder |
11 | LICENSE= gnu-gpl-v3 | | 11 | LICENSE= gnu-gpl-v3 |
12 | | | 12 | |
13 | TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel>0:../../devel/py-wheel | | 13 | TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel>0:../../devel/py-wheel |
14 | | | 14 | |
15 | USE_LANGUAGES= # none | | 15 | USE_LANGUAGES= # none |
16 | | | 16 | |
17 | USE_PKG_RESOURCES= yes | | 17 | USE_PKG_RESOURCES= yes |
18 | | | 18 | |
19 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | | 19 | PYTHON_VERSIONS_INCOMPATIBLE= 27 |
20 | | | 20 | |
21 | SUBST_CLASSES+= fix-path | | 21 | SUBST_CLASSES+= fix-path |
22 | SUBST_STAGE.fix-path= pre-configure | | 22 | SUBST_STAGE.fix-path= pre-configure |
23 | SUBST_MESSAGE.fix-path= Fixing paths. | | 23 | SUBST_MESSAGE.fix-path= Fixing paths. |
24 | SUBST_FILES.fix-path= setup.cfg | | 24 | SUBST_FILES.fix-path= setup.cfg |
25 | SUBST_SED.fix-path= -e 's,share/doc/asciinema,share/doc/asciinema-${PYVERSSUFFIX},g' | | 25 | SUBST_SED.fix-path= -e 's,share/doc/asciinema,share/doc/asciinema-${PYVERSSUFFIX},g' |
26 | SUBST_SED.fix-path+= -e 's,share/man/man1,${PKGMANDIR}/man1,g' | | 26 | SUBST_SED.fix-path+= -e 's,share/man/man1,${PKGMANDIR}/man1,g' |
27 | | | 27 | |
28 | post-install: | | 28 | post-install: |
29 | cd ${DESTDIR}${PREFIX}/bin && \ | | 29 | cd ${DESTDIR}${PREFIX}/bin && \ |
30 | ${MV} asciinema asciinema-${PYVERSSUFFIX} || ${TRUE} | | 30 | ${MV} asciinema asciinema-${PYVERSSUFFIX} || ${TRUE} |
31 | cd ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 && \ | | 31 | cd ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 && \ |
32 | ${MV} asciinema.1 asciinema-${PYVERSSUFFIX}.1 || ${TRUE} | | 32 | ${MV} asciinema.1 asciinema-${PYVERSSUFFIX}.1 || ${TRUE} |
33 | | | 33 | |
34 | .include "../../lang/python/wheel.mk" | | 34 | .include "../../lang/python/wheel.mk" |
35 | .include "../../mk/bsd.pkg.mk" | | 35 | .include "../../mk/bsd.pkg.mk" |