| @@ -1,30 +1,30 @@ | | | @@ -1,30 +1,30 @@ |
1 | # $NetBSD: Makefile,v 1.3 2015/04/25 14:23:20 tnn Exp $ | | 1 | # $NetBSD: Makefile,v 1.4 2016/01/27 06:37:27 dbj Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | DISTNAME= chirp-0.4.1 | | 4 | DISTNAME= chirp-0.4.1 |
5 | PKGREVISION= 1 | | 5 | PKGREVISION= 1 |
6 | CATEGORIES= ham | | 6 | CATEGORIES= ham |
7 | MASTER_SITES= http://chirp.danplanet.com/download/${PKGVERSION}/ | | 7 | MASTER_SITES= http://chirp.danplanet.com/download/${PKGVERSION}/ |
8 | | | 8 | |
9 | MAINTAINER= dbj@NetBSD.org | | 9 | MAINTAINER= dbj@NetBSD.org |
10 | HOMEPAGE= http://chirp.danplanet.com/ | | 10 | HOMEPAGE= http://chirp.danplanet.com/ |
11 | COMMENT= Tool for programming Amateur Radio HTs | | 11 | COMMENT= Tool for programming Amateur Radio HTs |
12 | LICENSE= gnu-gpl-v3 | | 12 | LICENSE= gnu-gpl-v3 |
13 | | | 13 | |
14 | USE_LANGUAGES= #none | | 14 | USE_LANGUAGES= #none |
15 | REPLACE_PYTHON= *.py chirp/*.py chirpui/*.py | | 15 | REPLACE_PYTHON= *.py chirp/*.py chirpui/*.py |
16 | | | 16 | |
17 | DEPENDS+= py27-serial>=2.7:../../comms/py-serial | | 17 | DEPENDS+= ${PYPKGPREFIX}-serial>=2.7:../../comms/py-serial |
18 | | | 18 | |
19 | .include "../../mk/bsd.prefs.mk" | | 19 | .include "../../mk/bsd.prefs.mk" |
20 | | | 20 | |
21 | SUBST_CLASSES+= fix-manpaths | | 21 | SUBST_CLASSES+= fix-manpaths |
22 | SUBST_STAGE.fix-manpaths= post-patch | | 22 | SUBST_STAGE.fix-manpaths= post-patch |
23 | SUBST_MESSAGE.fix-manpaths= Fixing man paths | | 23 | SUBST_MESSAGE.fix-manpaths= Fixing man paths |
24 | SUBST_FILES.fix-manpaths= setup.py | | 24 | SUBST_FILES.fix-manpaths= setup.py |
25 | SUBST_SED.fix-manpaths= -e 's,share/man/man1,${PKGMANDIR}/man1,g' | | 25 | SUBST_SED.fix-manpaths= -e 's,share/man/man1,${PKGMANDIR}/man1,g' |
26 | | | 26 | |
27 | SUBST_CLASSES+= fix-sharepaths | | 27 | SUBST_CLASSES+= fix-sharepaths |
28 | SUBST_STAGE.fix-sharepaths= post-patch | | 28 | SUBST_STAGE.fix-sharepaths= post-patch |
29 | SUBST_MESSAGE.fix-sharepaths= Fixing /usr/share paths | | 29 | SUBST_MESSAGE.fix-sharepaths= Fixing /usr/share paths |
30 | SUBST_FILES.fix-sharepaths= chirpw | | 30 | SUBST_FILES.fix-sharepaths= chirpw |