mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
7f4572eae4
With hat: portmgr Sponsored by: Absolight
35 lines
837 B
Makefile
35 lines
837 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:textproc/py-libxml2 \
|
|
${PYTHON_PKGNAMEPREFIX}serial>0: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>
|