1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-17 08:01:36 +00:00

New port: comms/xdemorse: X/GTK+-3 application for decoding Morse code signals into text

This commit is contained in:
Yuri Victorovich 2019-05-06 03:14:08 +00:00
parent d58a92fe1a
commit bfed6d1a9e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=500882
5 changed files with 82 additions and 0 deletions

View File

@ -205,6 +205,7 @@
SUBDIR += wy60
SUBDIR += xastir
SUBDIR += xcwcp
SUBDIR += xdemorse
SUBDIR += xdx
SUBDIR += xlog
SUBDIR += xmorse

31
comms/xdemorse/Makefile Normal file
View File

@ -0,0 +1,31 @@
# $FreeBSD$
PORTNAME= xdemorse
DISTVERSION= 3.6.2
CATEGORIES= comms
MASTER_SITES= https://www.qsl.net/5/5b4az/pkg/morse/xdemorse/
MAINTAINER= yuri@FreeBSD.org
COMMENT= X/GTK+-3 application for decoding Morse code signals into text
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libasound.so:audio/alsa-lib
USES= gettext-tools gmake gnome localbase:ldflags pkgconfig tar:bz2
GNU_CONFIGURE= yes
USE_GNOME= cairo gdkpixbuf2 glib20 gtk30
LDFLAGS+= -lgmodule-2.0
PLIST_FILES= bin/${PORTNAME} \
man/man1/${PORTNAME}.1.gz \
share/applications/${PORTNAME}.desktop \
share/pixmaps/${PORTNAME}.png
OPTIONS_DEFINE= DOCS
PORTDOCS= *
.include <bsd.port.mk>

3
comms/xdemorse/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1557108773
SHA256 (xdemorse-3.6.2.tar.bz2) = 8abecc219fd8293963766457e0fa952f7be715f7c8837bdcaa45a890829aebd4
SIZE (xdemorse-3.6.2.tar.bz2) = 257003

View File

@ -0,0 +1,38 @@
--- Makefile.in.orig 2019-05-06 02:59:19 UTC
+++ Makefile.in
@@ -900,22 +900,22 @@ uninstall-am:
install-data-local:
@$(NORMAL_INSTALL)
if test -d files/; then \
- cp files/$(PACKAGE).desktop $(DESTDIR)/usr/share/applications/; \
- cp files/$(PACKAGE).png $(DESTDIR)/usr/share/pixmaps/; \
+ cp files/$(PACKAGE).desktop $(DESTDIR)$(prefix)/share/applications/; \
+ cp files/$(PACKAGE).png $(DESTDIR)$(prefix)/share/pixmaps/; \
fi; \
- if !(test -d $(DESTDIR)/usr/share/doc/$(PACKAGE)); then \
- mkdir $(DESTDIR)/usr/share/doc/$(PACKAGE)/; \
+ if !(test -d $(DESTDIR)$(prefix)/share/doc/$(PACKAGE)); then \
+ mkdir $(DESTDIR)$(prefix)/share/doc/$(PACKAGE)/; \
fi; \
if test -d doc/; then \
- cp -r doc/* $(DESTDIR)/usr/share/doc/$(PACKAGE)/; \
- cp -r doc/$(PACKAGE).1.gz $(DESTDIR)/usr/share/man/man1/; \
- fi; \
- if !(test -d /home/`logname`/.$(PACKAGE)); then \
- cp -r .$(PACKAGE) /home/`logname`/; \
- else \
- cp .$(PACKAGE)/$(PACKAGE).glade /home/`logname`/.$(PACKAGE); \
- fi; \
- chown -R `logname`:`logname` /home/`logname`/.$(PACKAGE);
+ cp -r doc/* $(DESTDIR)$(prefix)/share/doc/$(PACKAGE)/; \
+ cp -r doc/$(PACKAGE).1.gz $(DESTDIR)$(prefix)/man/man1/; \
+ fi;
+ #if !(test -d /home/`logname`/.$(PACKAGE)); then \
+ # cp -r .$(PACKAGE) /home/`logname`/; \
+ #else \
+ # cp .$(PACKAGE)/$(PACKAGE).glade /home/`logname`/.$(PACKAGE); \
+ #fi; \
+ #chown -R `logname`:`logname` /home/`logname`/.$(PACKAGE);
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.

9
comms/xdemorse/pkg-descr Normal file
View File

@ -0,0 +1,9 @@
xdemorse is a X/GTK+-3 application for decoding Morse code signals into text.
xdemorse detects the "dihs" and "dahs" that make a Morse code character via the
computer's sound card, which can be connected to a radio receiver tuned to a CW
Morse code transmission or to a tone generator. The input signal is processed by
a Goertzel tone detector algorithm which produces "mark" or "space" (signal/no
signal) outputs and the resulting stream of Morse code "elements" is decoded
into an ASCII character for printing to the Text viewer.
WWW: https://www.qsl.net/5b4az/pkg/morse/xdemorse/xdemorse.html