Wed Jan 27 06:37:28 2016 UTC ()
use PYPKGPREFIX instead of hard coding py27 in py-serial dependency


(dbj)
diff -r1.3 -r1.4 pkgsrc/ham/chirp/Makefile

cvs diff -r1.3 -r1.4 pkgsrc/ham/chirp/Makefile (expand / switch to unified diff)

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