| @@ -1,18 +1,17 @@ | | | @@ -1,18 +1,17 @@ |
1 | # $NetBSD: Makefile,v 1.40 2022/01/10 08:11:43 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.41 2022/01/14 14:59:43 wiz Exp $ |
2 | | | 2 | |
3 | PKGVERSION= 20211216 | | 3 | DISTNAME= chirp-daily-20211216 |
4 | PKGNAME= chirp-${PKGVERSION} | | 4 | PKGNAME= ${DISTNAME:S/-daily//} |
5 | DISTNAME= chirp-daily-${PKGVERSION_NOREV} | | | |
6 | PKGREVISION= 1 | | 5 | PKGREVISION= 1 |
7 | CATEGORIES= ham | | 6 | CATEGORIES= ham |
8 | MASTER_SITES= https://trac.chirp.danplanet.com/chirp_daily/daily-${PKGVERSION_NOREV}/ | | 7 | MASTER_SITES= https://trac.chirp.danplanet.com/chirp_daily/daily-${PKGVERSION_NOREV}/ |
9 | # Chirp does not have what would normally called releasees. They have | | 8 | # Chirp does not have what would normally called releasees. They have |
10 | # "daily builds" which are like releases except that: | | 9 | # "daily builds" which are like releases except that: |
11 | # they are called chirp-daily instead of chirp | | 10 | # they are called chirp-daily instead of chirp |
12 | # they have YYYYMMDD version numbers | | 11 | # they have YYYYMMDD version numbers |
13 | # they don't have the usual release testing | | 12 | # they don't have the usual release testing |
14 | # Upstream says | | 13 | # Upstream says |
15 | # they will not go back to regular version numbers | | 14 | # they will not go back to regular version numbers |
16 | # the preferred name is chirp, not chirp-daily | | 15 | # the preferred name is chirp, not chirp-daily |
17 | # via | | 16 | # via |
18 | # https://chirp.danplanet.com/issues/8067 | | 17 | # https://chirp.danplanet.com/issues/8067 |
| @@ -21,26 +20,27 @@ MASTER_SITES= https://trac.chirp.danplan | | | @@ -21,26 +20,27 @@ MASTER_SITES= https://trac.chirp.danplan |
21 | MAINTAINER= dbj@NetBSD.org | | 20 | MAINTAINER= dbj@NetBSD.org |
22 | #MAINTAINER+= gdt@NetBSD.org | | 21 | #MAINTAINER+= gdt@NetBSD.org |
23 | HOMEPAGE= https://chirp.danplanet.com/projects/chirp/wiki/Home | | 22 | HOMEPAGE= https://chirp.danplanet.com/projects/chirp/wiki/Home |
24 | COMMENT= Tool for programming Amateur Radio HTs | | 23 | COMMENT= Tool for programming Amateur Radio HTs |
25 | LICENSE= gnu-gpl-v3 | | 24 | LICENSE= gnu-gpl-v3 |
26 | | | 25 | |
27 | USE_LANGUAGES= #none | | 26 | USE_LANGUAGES= #none |
28 | REPLACE_PYTHON= *.py chirp/*.py chirp/ui/*.py | | 27 | REPLACE_PYTHON= *.py chirp/*.py chirp/ui/*.py |
29 | | | 28 | |
30 | DEPENDS+= ${PYPKGPREFIX}-serial>=2.7:../../comms/py-serial | | 29 | DEPENDS+= ${PYPKGPREFIX}-serial>=2.7:../../comms/py-serial |
31 | DEPENDS+= ${PYPKGPREFIX}-future>=0.18.0:../../devel/py-future | | 30 | DEPENDS+= ${PYPKGPREFIX}-future>=0.18.0:../../devel/py-future |
32 | | | 31 | |
33 | PYTHON_VERSIONS_ACCEPTED= 27 # py-gtk2 | | 32 | PYTHON_VERSIONS_ACCEPTED= 27 # py-gtk2 |
| | | 33 | EGG_NAME= chirp-daily_${PKGVERSION_NOREV} |
34 | | | 34 | |
35 | .include "../../mk/bsd.prefs.mk" | | 35 | .include "../../mk/bsd.prefs.mk" |
36 | | | 36 | |
37 | SUBST_CLASSES+= fix-manpaths | | 37 | SUBST_CLASSES+= fix-manpaths |
38 | SUBST_STAGE.fix-manpaths= pre-configure | | 38 | SUBST_STAGE.fix-manpaths= pre-configure |
39 | SUBST_MESSAGE.fix-manpaths= Fixing man paths | | 39 | SUBST_MESSAGE.fix-manpaths= Fixing man paths |
40 | SUBST_FILES.fix-manpaths= setup.py | | 40 | SUBST_FILES.fix-manpaths= setup.py |
41 | SUBST_SED.fix-manpaths= -e 's,share/man/man1,${PKGMANDIR}/man1,g' | | 41 | SUBST_SED.fix-manpaths= -e 's,share/man/man1,${PKGMANDIR}/man1,g' |
42 | | | 42 | |
43 | SUBST_CLASSES+= fix-sharepaths | | 43 | SUBST_CLASSES+= fix-sharepaths |
44 | SUBST_STAGE.fix-sharepaths= pre-configure | | 44 | SUBST_STAGE.fix-sharepaths= pre-configure |
45 | SUBST_MESSAGE.fix-sharepaths= Fixing /usr/share paths | | 45 | SUBST_MESSAGE.fix-sharepaths= Fixing /usr/share paths |
46 | SUBST_FILES.fix-sharepaths= chirp/platform.py | | 46 | SUBST_FILES.fix-sharepaths= chirp/platform.py |