1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/comms/chirp/Makefile
2015-08-17 14:13:04 +00:00

35 lines
861 B
Makefile

# $FreeBSD$
PORTNAME= chirp
PORTVERSION= 0.4.1
PORTREVISION= 3
CATEGORIES= comms hamradio
MASTER_SITES= http://chirp.danplanet.com/download/${PORTVERSION}/ \
LOCAL/db
MAINTAINER= hamradio@FreeBSD.org
COMMENT= Free, open-source tool for programming your amateur radio
LICENSE= GPLv3
BUILD_DEPENDS= ${CHIRP_DEPENDS}
RUN_DEPENDS= ${CHIRP_DEPENDS}
CHIRP_DEPENDS= ${PYTHON_PKGNAMEPREFIX}libxml2>0:${PORTSDIR}/textproc/py-libxml2 \
${PYTHON_PKGNAMEPREFIX}serial>0:${PORTSDIR}/comms/py-serial
USES= desktop-file-utils gettext python
USE_PYTHON= distutils
OPTIONS_DEFINE= DOCS
pre-configure:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
${WRKSRC}/chirpui/mainapp.py
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${RMDIR} ${STAGEDIR}${PREFIX}/share/chirp/images
${INSTALL_DATA} ${WRKSRC}/COPYING ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>