[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / ham / chirp

File: [cvs.NetBSD.org] / pkgsrc / ham / chirp / Makefile (download)

Revision 1.3, Sat Apr 25 14:23:20 2015 UTC (5 years, 7 months ago) by tnn
Branch: MAIN
CVS Tags: pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2
Changes since 1.2: +2 -1 lines

Recursive revbump following MesaLib update, categories g through n.

# $NetBSD: Makefile,v 1.3 2015/04/25 14:23:20 tnn Exp $
#

DISTNAME=	chirp-0.4.1
PKGREVISION=	1
CATEGORIES=	ham
MASTER_SITES=	http://chirp.danplanet.com/download/${PKGVERSION}/

MAINTAINER=	dbj@NetBSD.org
HOMEPAGE=	http://chirp.danplanet.com/
COMMENT=	Tool for programming Amateur Radio HTs
LICENSE=	gnu-gpl-v3

USE_LANGUAGES=	#none
REPLACE_PYTHON= *.py chirp/*.py chirpui/*.py

DEPENDS+=       py27-serial>=2.7:../../comms/py-serial

.include "../../mk/bsd.prefs.mk"

SUBST_CLASSES+=			fix-manpaths
SUBST_STAGE.fix-manpaths=	post-patch
SUBST_MESSAGE.fix-manpaths=	Fixing man paths
SUBST_FILES.fix-manpaths=	setup.py
SUBST_SED.fix-manpaths=		-e 's,share/man/man1,${PKGMANDIR}/man1,g'

SUBST_CLASSES+=			fix-sharepaths
SUBST_STAGE.fix-sharepaths=	post-patch
SUBST_MESSAGE.fix-sharepaths=	Fixing /usr/share paths
SUBST_FILES.fix-sharepaths=	chirpw
SUBST_FILES.fix-sharepaths+=	chirp/generic_xml.py
SUBST_FILES.fix-sharepaths+=	chirpui/mainapp.py
SUBST_SED.fix-sharepaths=	-e 's,/usr/share,${PREFIX}/share,g'

.include "../../sysutils/desktop-file-utils/desktopdb.mk"

.include "../../lang/python/distutils.mk"
.include "../../lang/python/application.mk"
.include "../../textproc/py-libxml2/buildlink3.mk"
.include "../../x11/py-gtk2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"