| @@ -1,30 +1,32 @@ | | | @@ -1,30 +1,32 @@ |
1 | # $NetBSD: Makefile,v 1.14 2019/04/25 07:32:59 maya Exp $ | | 1 | # $NetBSD: Makefile,v 1.15 2019/04/28 07:15:11 wiz Exp $ |
2 | | | 2 | |
3 | DISTNAME= chirp-0.4.1 | | 3 | DISTNAME= chirp-0.4.1 |
4 | PKGREVISION= 9 | | 4 | PKGREVISION= 9 |
5 | CATEGORIES= ham | | 5 | CATEGORIES= ham |
6 | MASTER_SITES= https://chirp.danplanet.com/download/${PKGVERSION}/ | | 6 | MASTER_SITES= https://chirp.danplanet.com/download/${PKGVERSION}/ |
7 | | | 7 | |
8 | MAINTAINER= dbj@NetBSD.org | | 8 | MAINTAINER= dbj@NetBSD.org |
9 | HOMEPAGE= https://chirp.danplanet.com/projects/chirp/wiki/Home | | 9 | HOMEPAGE= https://chirp.danplanet.com/projects/chirp/wiki/Home |
10 | COMMENT= Tool for programming Amateur Radio HTs | | 10 | COMMENT= Tool for programming Amateur Radio HTs |
11 | LICENSE= gnu-gpl-v3 | | 11 | LICENSE= gnu-gpl-v3 |
12 | | | 12 | |
13 | USE_LANGUAGES= #none | | 13 | USE_LANGUAGES= #none |
14 | REPLACE_PYTHON= *.py chirp/*.py chirpui/*.py | | 14 | REPLACE_PYTHON= *.py chirp/*.py chirpui/*.py |
15 | | | 15 | |
16 | DEPENDS+= ${PYPKGPREFIX}-serial>=2.7:../../comms/py-serial | | 16 | DEPENDS+= ${PYPKGPREFIX}-serial>=2.7:../../comms/py-serial |
17 | | | 17 | |
| | | 18 | PYTHON_VERSIONS_ACCEPTED= 27 # py-gtk2 |
| | | 19 | |
18 | .include "../../mk/bsd.prefs.mk" | | 20 | .include "../../mk/bsd.prefs.mk" |
19 | | | 21 | |
20 | SUBST_CLASSES+= fix-manpaths | | 22 | SUBST_CLASSES+= fix-manpaths |
21 | SUBST_STAGE.fix-manpaths= pre-configure | | 23 | SUBST_STAGE.fix-manpaths= pre-configure |
22 | SUBST_MESSAGE.fix-manpaths= Fixing man paths | | 24 | SUBST_MESSAGE.fix-manpaths= Fixing man paths |
23 | SUBST_FILES.fix-manpaths= setup.py | | 25 | SUBST_FILES.fix-manpaths= setup.py |
24 | SUBST_SED.fix-manpaths= -e 's,share/man/man1,${PKGMANDIR}/man1,g' | | 26 | SUBST_SED.fix-manpaths= -e 's,share/man/man1,${PKGMANDIR}/man1,g' |
25 | | | 27 | |
26 | SUBST_CLASSES+= fix-sharepaths | | 28 | SUBST_CLASSES+= fix-sharepaths |
27 | SUBST_STAGE.fix-sharepaths= pre-configure | | 29 | SUBST_STAGE.fix-sharepaths= pre-configure |
28 | SUBST_MESSAGE.fix-sharepaths= Fixing /usr/share paths | | 30 | SUBST_MESSAGE.fix-sharepaths= Fixing /usr/share paths |
29 | SUBST_FILES.fix-sharepaths= chirpw | | 31 | SUBST_FILES.fix-sharepaths= chirpw |
30 | SUBST_FILES.fix-sharepaths+= chirp/generic_xml.py | | 32 | SUBST_FILES.fix-sharepaths+= chirp/generic_xml.py |