aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordb <db@FreeBSD.org>2012-09-22 23:43:02 +0800
committerdb <db@FreeBSD.org>2012-09-22 23:43:02 +0800
commit31dd0a3b45425d37dbbd3db2405810ed9c796b89 (patch)
tree80b288e21fec8211fc2cf3d5777a8fb70b15fb2e
parent52f62bff31450ccac59e6f92c28141a8a1af782e (diff)
downloadfreebsd-ports-gnome-31dd0a3b45425d37dbbd3db2405810ed9c796b89.tar.gz
freebsd-ports-gnome-31dd0a3b45425d37dbbd3db2405810ed9c796b89.tar.zst
freebsd-ports-gnome-31dd0a3b45425d37dbbd3db2405810ed9c796b89.zip
- chirp is a program for setting frequencies in memories on an amateur radio
transceiver
-rw-r--r--comms/Makefile1
-rw-r--r--comms/chirp/Makefile34
-rw-r--r--comms/chirp/distinfo2
-rw-r--r--comms/chirp/files/patch-chirp_platform.py12
-rw-r--r--comms/chirp/files/patch-chirpui_mainapp.py11
-rw-r--r--comms/chirp/files/patch-setup.py14
-rw-r--r--comms/chirp/pkg-descr5
-rw-r--r--comms/chirp/pkg-plist224
8 files changed, 303 insertions, 0 deletions
diff --git a/comms/Makefile b/comms/Makefile
index b5b043dc326f..4a03e104bbbc 100644
--- a/comms/Makefile
+++ b/comms/Makefile
@@ -18,6 +18,7 @@
SUBDIR += bpl+
SUBDIR += callsign
SUBDIR += cdr_read
+ SUBDIR += chirp
SUBDIR += chu
SUBDIR += comserv
SUBDIR += conserver
diff --git a/comms/chirp/Makefile b/comms/chirp/Makefile
new file mode 100644
index 000000000000..9781b930a260
--- /dev/null
+++ b/comms/chirp/Makefile
@@ -0,0 +1,34 @@
+#
+# $FreeBSD$
+#
+
+PORTNAME= chirp
+PORTVERSION= 0.2.3
+CATEGORIES= comms hamradio
+MASTER_SITES= http://chirp.danplanet.com/download/${PORTVERSION}/ \
+ ${MASTER_SITE_LOCAL}
+MASTER_SITE_SUBDIR= db
+
+MAINTAINER= db@FreeBSD.org
+COMMENT= Chirp is a free, open-source tool for programming your amateur radio
+
+BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/serial:${PORTSDIR}/comms/py-serial \
+ ${PYTHON_SITELIBDIR}/libxml2.py:${PORTSDIR}/textproc/py-libxml2
+
+USE_PYTHON= YES
+USE_PYDISTUTILS= YES
+MAN1= chirpw.1
+
+.include <bsd.port.pre.mk>
+
+pre-configure:
+ @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
+ ${WRKSRC}/chirpui/mainapp.py
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/COPYING ${DOCSDIR}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/comms/chirp/distinfo b/comms/chirp/distinfo
new file mode 100644
index 000000000000..29fa62aefef9
--- /dev/null
+++ b/comms/chirp/distinfo
@@ -0,0 +1,2 @@
+SHA256 (chirp-0.2.3.tar.gz) = ff278c1abc828ac3f553253cf29e3d854c80087794c6f48c14712c681751c161
+SIZE (chirp-0.2.3.tar.gz) = 176249
diff --git a/comms/chirp/files/patch-chirp_platform.py b/comms/chirp/files/patch-chirp_platform.py
new file mode 100644
index 000000000000..fa2b1cf5f08e
--- /dev/null
+++ b/comms/chirp/files/patch-chirp_platform.py
@@ -0,0 +1,12 @@
+--- chirp/platform.py.orig 2012-09-07 19:08:30.000000000 -0500
++++ chirp/platform.py 2012-09-17 09:48:00.000000000 -0500
+@@ -246,6 +246,9 @@
+
+ def list_serial_ports(self):
+ return sorted(glob.glob("/dev/ttyS*") +
++ glob.glob("/dev/tty*") +
++ glob.glob("/dev/cu*") +
++ glob.glob("/dev/ttyU*") +
+ glob.glob("/dev/ttyUSB*") +
+ glob.glob("/dev/cu.*") +
+ glob.glob("/dev/term/*") +
diff --git a/comms/chirp/files/patch-chirpui_mainapp.py b/comms/chirp/files/patch-chirpui_mainapp.py
new file mode 100644
index 000000000000..dbcd78cb786e
--- /dev/null
+++ b/comms/chirp/files/patch-chirpui_mainapp.py
@@ -0,0 +1,11 @@
+--- chirpui/mainapp.py.orig 2012-09-16 03:13:31.000000000 -0500
++++ chirpui/mainapp.py 2012-09-16 03:14:17.000000000 -0500
+@@ -1321,7 +1321,7 @@
+ execpath = platform.get_platform().executable_path()
+ path = os.path.abspath(os.path.join(execpath, "share", "chirp.png"))
+ if not os.path.exists(path):
+- path = "/usr/share/pixmaps/chirp.png"
++ path = "%%LOCALBASE%%/share/pixmaps/chirp.png"
+
+ if os.path.exists(path):
+ self.set_icon_from_file(path)
diff --git a/comms/chirp/files/patch-setup.py b/comms/chirp/files/patch-setup.py
new file mode 100644
index 000000000000..2d4f43799fd6
--- /dev/null
+++ b/comms/chirp/files/patch-setup.py
@@ -0,0 +1,14 @@
+--- setup.py.orig 2012-03-24 02:01:12.000000000 -0500
++++ setup.py 2012-09-21 16:49:59.000000000 -0500
+@@ -110,9 +110,9 @@
+ data_files=[('share/applications', desktop_files),
+ ('share/chirp/images', image_files),
+ ('share/chirp', xsd_files),
+- ('share/doc/chirp', ['COPYING']),
++# ('share/doc/chirp', ['COPYING']),
+ ('share/pixmaps', ['share/chirp.png']),
+- ('share/man/man1', ["share/chirpw.1"]),
++ ('man/man1', ["share/chirpw.1"]),
+ ('share/chirp/stock_configs', stock_configs),
+ ] + locale_files)
+
diff --git a/comms/chirp/pkg-descr b/comms/chirp/pkg-descr
new file mode 100644
index 000000000000..93991d03be97
--- /dev/null
+++ b/comms/chirp/pkg-descr
@@ -0,0 +1,5 @@
+CHIRP is a free, open-source tool for programming your amateur radio.
+It supports a large number of manufacturers and models, as well as
+provides a way to interface with multiple data sources and formats.
+
+WWW: http://chirp.danplanet.com/projects/chirp
diff --git a/comms/chirp/pkg-plist b/comms/chirp/pkg-plist
new file mode 100644
index 000000000000..c13aeeeec97a
--- /dev/null
+++ b/comms/chirp/pkg-plist
@@ -0,0 +1,224 @@
+bin/chirpw
+%%PYTHON_SITELIBDIR%%/chirp/__init__.py
+%%PYTHON_SITELIBDIR%%/chirp/alinco.py
+%%PYTHON_SITELIBDIR%%/chirp/bitwise.py
+%%PYTHON_SITELIBDIR%%/chirp/bitwise_grammar.py
+%%PYTHON_SITELIBDIR%%/chirp/chirp_common.py
+%%PYTHON_SITELIBDIR%%/chirp/detect.py
+%%PYTHON_SITELIBDIR%%/chirp/directory.py
+%%PYTHON_SITELIBDIR%%/chirp/errors.py
+%%PYTHON_SITELIBDIR%%/chirp/ft2800.py
+%%PYTHON_SITELIBDIR%%/chirp/ft50.py
+%%PYTHON_SITELIBDIR%%/chirp/ft50_ll.py
+%%PYTHON_SITELIBDIR%%/chirp/ft60.py
+%%PYTHON_SITELIBDIR%%/chirp/ft7800.py
+%%PYTHON_SITELIBDIR%%/chirp/ft817.py
+%%PYTHON_SITELIBDIR%%/chirp/ft857.py
+%%PYTHON_SITELIBDIR%%/chirp/generic_csv.py
+%%PYTHON_SITELIBDIR%%/chirp/ic2100.py
+%%PYTHON_SITELIBDIR%%/chirp/ic2200.py
+%%PYTHON_SITELIBDIR%%/chirp/ic2720.py
+%%PYTHON_SITELIBDIR%%/chirp/ic2820.py
+%%PYTHON_SITELIBDIR%%/chirp/ic9x.py
+%%PYTHON_SITELIBDIR%%/chirp/ic9x_icf.py
+%%PYTHON_SITELIBDIR%%/chirp/ic9x_icf_ll.py
+%%PYTHON_SITELIBDIR%%/chirp/icf.py
+%%PYTHON_SITELIBDIR%%/chirp/ic9x_ll.py
+%%PYTHON_SITELIBDIR%%/chirp/icomciv.py
+%%PYTHON_SITELIBDIR%%/chirp/icq7.py
+%%PYTHON_SITELIBDIR%%/chirp/ict70.py
+%%PYTHON_SITELIBDIR%%/chirp/icw32.py
+%%PYTHON_SITELIBDIR%%/chirp/icx8x.py
+%%PYTHON_SITELIBDIR%%/chirp/icx8x_ll.py
+%%PYTHON_SITELIBDIR%%/chirp/id31.py
+%%PYTHON_SITELIBDIR%%/chirp/id800.py
+%%PYTHON_SITELIBDIR%%/chirp/id880.py
+%%PYTHON_SITELIBDIR%%/chirp/idrp.py
+%%PYTHON_SITELIBDIR%%/chirp/import_logic.py
+%%PYTHON_SITELIBDIR%%/chirp/kenwood_live.py
+%%PYTHON_SITELIBDIR%%/chirp/memmap.py
+%%PYTHON_SITELIBDIR%%/chirp/platform.py
+%%PYTHON_SITELIBDIR%%/chirp/pyPEG.py
+%%PYTHON_SITELIBDIR%%/chirp/rfinder.py
+%%PYTHON_SITELIBDIR%%/chirp/thd72.py
+%%PYTHON_SITELIBDIR%%/chirp/tmv71.py
+%%PYTHON_SITELIBDIR%%/chirp/tmv71_ll.py
+%%PYTHON_SITELIBDIR%%/chirp/util.py
+%%PYTHON_SITELIBDIR%%/chirp/vx3.py
+%%PYTHON_SITELIBDIR%%/chirp/vx5.py
+%%PYTHON_SITELIBDIR%%/chirp/vx6.py
+%%PYTHON_SITELIBDIR%%/chirp/vx7.py
+%%PYTHON_SITELIBDIR%%/chirp/vx8.py
+%%PYTHON_SITELIBDIR%%/chirp/wouxun.py
+%%PYTHON_SITELIBDIR%%/chirp/xml.py
+%%PYTHON_SITELIBDIR%%/chirp/xml_ll.py
+%%PYTHON_SITELIBDIR%%/chirp/yaesu_clone.py
+%%PYTHON_SITELIBDIR%%/chirp/__init__.pyc
+%%PYTHON_SITELIBDIR%%/chirp/alinco.pyc
+%%PYTHON_SITELIBDIR%%/chirp/bitwise.pyc
+%%PYTHON_SITELIBDIR%%/chirp/bitwise_grammar.pyc
+%%PYTHON_SITELIBDIR%%/chirp/chirp_common.pyc
+%%PYTHON_SITELIBDIR%%/chirp/detect.pyc
+%%PYTHON_SITELIBDIR%%/chirp/directory.pyc
+%%PYTHON_SITELIBDIR%%/chirp/errors.pyc
+%%PYTHON_SITELIBDIR%%/chirp/ft2800.pyc
+%%PYTHON_SITELIBDIR%%/chirp/ft50.pyc
+%%PYTHON_SITELIBDIR%%/chirp/ft50_ll.pyc
+%%PYTHON_SITELIBDIR%%/chirp/ft60.pyc
+%%PYTHON_SITELIBDIR%%/chirp/ft7800.pyc
+%%PYTHON_SITELIBDIR%%/chirp/ft817.pyc
+%%PYTHON_SITELIBDIR%%/chirp/ft857.pyc
+%%PYTHON_SITELIBDIR%%/chirp/generic_csv.pyc
+%%PYTHON_SITELIBDIR%%/chirp/ic2100.pyc
+%%PYTHON_SITELIBDIR%%/chirp/ic2200.pyc
+%%PYTHON_SITELIBDIR%%/chirp/ic2720.pyc
+%%PYTHON_SITELIBDIR%%/chirp/ic2820.pyc
+%%PYTHON_SITELIBDIR%%/chirp/ic9x.pyc
+%%PYTHON_SITELIBDIR%%/chirp/ic9x_icf.pyc
+%%PYTHON_SITELIBDIR%%/chirp/ic9x_icf_ll.pyc
+%%PYTHON_SITELIBDIR%%/chirp/icf.pyc
+%%PYTHON_SITELIBDIR%%/chirp/ic9x_ll.pyc
+%%PYTHON_SITELIBDIR%%/chirp/icomciv.pyc
+%%PYTHON_SITELIBDIR%%/chirp/icq7.pyc
+%%PYTHON_SITELIBDIR%%/chirp/ict70.pyc
+%%PYTHON_SITELIBDIR%%/chirp/icw32.pyc
+%%PYTHON_SITELIBDIR%%/chirp/icx8x.pyc
+%%PYTHON_SITELIBDIR%%/chirp/icx8x_ll.pyc
+%%PYTHON_SITELIBDIR%%/chirp/id31.pyc
+%%PYTHON_SITELIBDIR%%/chirp/id800.pyc
+%%PYTHON_SITELIBDIR%%/chirp/id880.pyc
+%%PYTHON_SITELIBDIR%%/chirp/idrp.pyc
+%%PYTHON_SITELIBDIR%%/chirp/import_logic.pyc
+%%PYTHON_SITELIBDIR%%/chirp/kenwood_live.pyc
+%%PYTHON_SITELIBDIR%%/chirp/memmap.pyc
+%%PYTHON_SITELIBDIR%%/chirp/platform.pyc
+%%PYTHON_SITELIBDIR%%/chirp/pyPEG.pyc
+%%PYTHON_SITELIBDIR%%/chirp/rfinder.pyc
+%%PYTHON_SITELIBDIR%%/chirp/thd72.pyc
+%%PYTHON_SITELIBDIR%%/chirp/tmv71.pyc
+%%PYTHON_SITELIBDIR%%/chirp/tmv71_ll.pyc
+%%PYTHON_SITELIBDIR%%/chirp/util.pyc
+%%PYTHON_SITELIBDIR%%/chirp/vx3.pyc
+%%PYTHON_SITELIBDIR%%/chirp/vx5.pyc
+%%PYTHON_SITELIBDIR%%/chirp/vx6.pyc
+%%PYTHON_SITELIBDIR%%/chirp/vx7.pyc
+%%PYTHON_SITELIBDIR%%/chirp/vx8.pyc
+%%PYTHON_SITELIBDIR%%/chirp/wouxun.pyc
+%%PYTHON_SITELIBDIR%%/chirp/xml.pyc
+%%PYTHON_SITELIBDIR%%/chirp/xml_ll.pyc
+%%PYTHON_SITELIBDIR%%/chirp/yaesu_clone.pyc
+%%PYTHON_SITELIBDIR%%/chirp/__init__.pyo
+%%PYTHON_SITELIBDIR%%/chirp/alinco.pyo
+%%PYTHON_SITELIBDIR%%/chirp/bitwise.pyo
+%%PYTHON_SITELIBDIR%%/chirp/bitwise_grammar.pyo
+%%PYTHON_SITELIBDIR%%/chirp/chirp_common.pyo
+%%PYTHON_SITELIBDIR%%/chirp/detect.pyo
+%%PYTHON_SITELIBDIR%%/chirp/directory.pyo
+%%PYTHON_SITELIBDIR%%/chirp/errors.pyo
+%%PYTHON_SITELIBDIR%%/chirp/ft2800.pyo
+%%PYTHON_SITELIBDIR%%/chirp/ft50.pyo
+%%PYTHON_SITELIBDIR%%/chirp/ft50_ll.pyo
+%%PYTHON_SITELIBDIR%%/chirp/ft60.pyo
+%%PYTHON_SITELIBDIR%%/chirp/ft7800.pyo
+%%PYTHON_SITELIBDIR%%/chirp/ft817.pyo
+%%PYTHON_SITELIBDIR%%/chirp/ft857.pyo
+%%PYTHON_SITELIBDIR%%/chirp/generic_csv.pyo
+%%PYTHON_SITELIBDIR%%/chirp/ic2100.pyo
+%%PYTHON_SITELIBDIR%%/chirp/ic2200.pyo
+%%PYTHON_SITELIBDIR%%/chirp/ic2720.pyo
+%%PYTHON_SITELIBDIR%%/chirp/ic2820.pyo
+%%PYTHON_SITELIBDIR%%/chirp/ic9x.pyo
+%%PYTHON_SITELIBDIR%%/chirp/ic9x_icf.pyo
+%%PYTHON_SITELIBDIR%%/chirp/ic9x_icf_ll.pyo
+%%PYTHON_SITELIBDIR%%/chirp/icf.pyo
+%%PYTHON_SITELIBDIR%%/chirp/ic9x_ll.pyo
+%%PYTHON_SITELIBDIR%%/chirp/icomciv.pyo
+%%PYTHON_SITELIBDIR%%/chirp/icq7.pyo
+%%PYTHON_SITELIBDIR%%/chirp/ict70.pyo
+%%PYTHON_SITELIBDIR%%/chirp/icw32.pyo
+%%PYTHON_SITELIBDIR%%/chirp/icx8x.pyo
+%%PYTHON_SITELIBDIR%%/chirp/icx8x_ll.pyo
+%%PYTHON_SITELIBDIR%%/chirp/id31.pyo
+%%PYTHON_SITELIBDIR%%/chirp/id800.pyo
+%%PYTHON_SITELIBDIR%%/chirp/id880.pyo
+%%PYTHON_SITELIBDIR%%/chirp/idrp.pyo
+%%PYTHON_SITELIBDIR%%/chirp/import_logic.pyo
+%%PYTHON_SITELIBDIR%%/chirp/kenwood_live.pyo
+%%PYTHON_SITELIBDIR%%/chirp/memmap.pyo
+%%PYTHON_SITELIBDIR%%/chirp/platform.pyo
+%%PYTHON_SITELIBDIR%%/chirp/pyPEG.pyo
+%%PYTHON_SITELIBDIR%%/chirp/rfinder.pyo
+%%PYTHON_SITELIBDIR%%/chirp/thd72.pyo
+%%PYTHON_SITELIBDIR%%/chirp/tmv71.pyo
+%%PYTHON_SITELIBDIR%%/chirp/tmv71_ll.pyo
+%%PYTHON_SITELIBDIR%%/chirp/util.pyo
+%%PYTHON_SITELIBDIR%%/chirp/vx3.pyo
+%%PYTHON_SITELIBDIR%%/chirp/vx5.pyo
+%%PYTHON_SITELIBDIR%%/chirp/vx6.pyo
+%%PYTHON_SITELIBDIR%%/chirp/vx7.pyo
+%%PYTHON_SITELIBDIR%%/chirp/vx8.pyo
+%%PYTHON_SITELIBDIR%%/chirp/wouxun.pyo
+%%PYTHON_SITELIBDIR%%/chirp/xml.pyo
+%%PYTHON_SITELIBDIR%%/chirp/xml_ll.pyo
+%%PYTHON_SITELIBDIR%%/chirp/yaesu_clone.pyo
+%%PYTHON_SITELIBDIR%%/chirpui/__init__.py
+%%PYTHON_SITELIBDIR%%/chirpui/bankedit.py
+%%PYTHON_SITELIBDIR%%/chirpui/clone.py
+%%PYTHON_SITELIBDIR%%/chirpui/cloneprog.py
+%%PYTHON_SITELIBDIR%%/chirpui/common.py
+%%PYTHON_SITELIBDIR%%/chirpui/config.py
+%%PYTHON_SITELIBDIR%%/chirpui/dstaredit.py
+%%PYTHON_SITELIBDIR%%/chirpui/editorset.py
+%%PYTHON_SITELIBDIR%%/chirpui/importdialog.py
+%%PYTHON_SITELIBDIR%%/chirpui/inputdialog.py
+%%PYTHON_SITELIBDIR%%/chirpui/mainapp.py
+%%PYTHON_SITELIBDIR%%/chirpui/memedit.py
+%%PYTHON_SITELIBDIR%%/chirpui/miscwidgets.py
+%%PYTHON_SITELIBDIR%%/chirpui/reporting.py
+%%PYTHON_SITELIBDIR%%/chirpui/shiftdialog.py
+%%PYTHON_SITELIBDIR%%/chirpui/__init__.pyc
+%%PYTHON_SITELIBDIR%%/chirpui/bankedit.pyc
+%%PYTHON_SITELIBDIR%%/chirpui/clone.pyc
+%%PYTHON_SITELIBDIR%%/chirpui/cloneprog.pyc
+%%PYTHON_SITELIBDIR%%/chirpui/common.pyc
+%%PYTHON_SITELIBDIR%%/chirpui/config.pyc
+%%PYTHON_SITELIBDIR%%/chirpui/dstaredit.pyc
+%%PYTHON_SITELIBDIR%%/chirpui/editorset.pyc
+%%PYTHON_SITELIBDIR%%/chirpui/importdialog.pyc
+%%PYTHON_SITELIBDIR%%/chirpui/inputdialog.pyc
+%%PYTHON_SITELIBDIR%%/chirpui/mainapp.pyc
+%%PYTHON_SITELIBDIR%%/chirpui/memedit.pyc
+%%PYTHON_SITELIBDIR%%/chirpui/miscwidgets.pyc
+%%PYTHON_SITELIBDIR%%/chirpui/reporting.pyc
+%%PYTHON_SITELIBDIR%%/chirpui/shiftdialog.pyc
+%%PYTHON_SITELIBDIR%%/chirpui/__init__.pyo
+%%PYTHON_SITELIBDIR%%/chirpui/bankedit.pyo
+%%PYTHON_SITELIBDIR%%/chirpui/clone.pyo
+%%PYTHON_SITELIBDIR%%/chirpui/cloneprog.pyo
+%%PYTHON_SITELIBDIR%%/chirpui/common.pyo
+%%PYTHON_SITELIBDIR%%/chirpui/config.pyo
+%%PYTHON_SITELIBDIR%%/chirpui/dstaredit.pyo
+%%PYTHON_SITELIBDIR%%/chirpui/editorset.pyo
+%%PYTHON_SITELIBDIR%%/chirpui/importdialog.pyo
+%%PYTHON_SITELIBDIR%%/chirpui/inputdialog.pyo
+%%PYTHON_SITELIBDIR%%/chirpui/mainapp.pyo
+%%PYTHON_SITELIBDIR%%/chirpui/memedit.pyo
+%%PYTHON_SITELIBDIR%%/chirpui/miscwidgets.pyo
+%%PYTHON_SITELIBDIR%%/chirpui/reporting.pyo
+%%PYTHON_SITELIBDIR%%/chirpui/shiftdialog.pyo
+share/applications/chirp.desktop
+share/chirp/chirp.xsd
+share/chirp/chirp_banks.xsd
+share/chirp/chirp_memory.xsd
+share/chirp/stock_configs/US 60 meter channels (Center).csv
+share/chirp/stock_configs/US 60 meter channels (Dial).csv
+share/chirp/stock_configs/US Calling Frequencies.csv
+share/pixmaps/chirp.png
+%%PORTDOCS%%%%DOCSDIR%%/COPYING
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@dirrmtry share/applications
+@dirrm share/chirp/images
+@dirrm share/chirp/stock_configs
+@dirrm share/chirp
+@dirrm %%PYTHON_SITELIBDIR%%/chirpui
+@dirrm %%PYTHON_SITELIBDIR%%/chirp