mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-18 19:49:40 +00:00
Update to latest version, it's on github now
Put the examples in EXAMPLESDIR.
This commit is contained in:
parent
609926de72
commit
6f590b188c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=476606
@ -2,9 +2,8 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= cwdaemon
|
||||
PORTVERSION= 0.9.4
|
||||
PORTVERSION= 0.10.2
|
||||
CATEGORIES= comms hamradio
|
||||
MASTER_SITES= LOCAL/db
|
||||
|
||||
MAINTAINER= hamradio@FreeBSD.org
|
||||
COMMENT= Amateur Radio cw (Morse code) keyer daemon
|
||||
@ -12,11 +11,20 @@ COMMENT= Amateur Radio cw (Morse code) keyer daemon
|
||||
LICENSE= GPLv2
|
||||
|
||||
LIB_DEPENDS= libcw.so:comms/unixcw
|
||||
CONFIGURE_ARGS+= --datadir=${PREFIX}/share/doc
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USES= pkgconfig
|
||||
CONFIGURE_ARGS+= --datadir=${PREFIX}/share/doc
|
||||
USES= pkgconfig autoreconf
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= acerion
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
OPTIONS_DEFINE= DOCS EXAMPLES
|
||||
|
||||
post-install:
|
||||
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/examples/example.sh ${STAGEDIR}${EXAMPLESDIR}
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/examples/example.pl ${STAGEDIR}${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/examples/README ${STAGEDIR}${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/examples/example.c ${STAGEDIR}${EXAMPLESDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,3 @@
|
||||
SHA256 (cwdaemon-0.9.4.tar.gz) = 0b26304333a1933d45814be23788295dd22fa6d80fc651a32fb12bd042b9e84e
|
||||
SIZE (cwdaemon-0.9.4.tar.gz) = 236395
|
||||
TIMESTAMP = 1533659542
|
||||
SHA256 (acerion-cwdaemon-0.10.2_GH0.tar.gz) = 316a18d2ccf5492246b31721f06d52a1989ed563cdafc92432be5280db7c5886
|
||||
SIZE (acerion-cwdaemon-0.10.2_GH0.tar.gz) = 308085
|
||||
|
17
comms/cwdaemon/files/patch-Makefile.am
Normal file
17
comms/cwdaemon/files/patch-Makefile.am
Normal file
@ -0,0 +1,17 @@
|
||||
--- Makefile.am.orig 2015-10-07 17:45:16 UTC
|
||||
+++ Makefile.am
|
||||
@@ -51,14 +51,8 @@ install-data-local:
|
||||
$(INSTALL_DATA) $(srcdir)/doc/schematics/serialport_circuit.jpg $(DESTDIR)$(pkgdatadir)
|
||||
|
||||
# The scripts will be installed as executable.
|
||||
- $(INSTALL_SCRIPT) $(srcdir)/examples/example.sh $(DESTDIR)$(pkgdatadir)
|
||||
- $(INSTALL_SCRIPT) $(srcdir)/examples/example.pl $(DESTDIR)$(pkgdatadir)
|
||||
$(INSTALL_SCRIPT) $(srcdir)/cwsetup.sh $(DESTDIR)$(pkgdatadir)
|
||||
|
||||
- $(INSTALL_DATA) $(srcdir)/examples/README $(DESTDIR)$(pkgdatadir)
|
||||
- $(INSTALL_DATA) $(srcdir)/examples/example.c $(DESTDIR)$(pkgdatadir)
|
||||
- $(INSTALL_DATA) $(srcdir)/examples/Makefile.am $(DESTDIR)$(pkgdatadir)
|
||||
- $(INSTALL_DATA) $(srcdir)/examples/Makefile.in $(DESTDIR)$(pkgdatadir)
|
||||
$(INSTALL_DATA) $(srcdir)/cwdaemon.png $(DESTDIR)$(pkgdatadir)
|
||||
|
||||
|
@ -1,29 +0,0 @@
|
||||
--- cwdaemon.c.orig 2006-11-09 04:23:11.000000000 -0500
|
||||
+++ cwdaemon.c 2013-12-29 10:11:15.000000000 -0500
|
||||
@@ -89,7 +89,7 @@
|
||||
#endif
|
||||
#include <limits.h>
|
||||
|
||||
-#include <cwlib.h>
|
||||
+#include <libcw.h>
|
||||
#include "cwdaemon.h"
|
||||
|
||||
/* network vars */
|
||||
@@ -305,8 +305,6 @@
|
||||
{
|
||||
cw_set_frequency (morse_tone);
|
||||
cw_set_send_speed (morse_speed);
|
||||
- cw_set_soundcard_sound (soundcard_sound);
|
||||
- cw_set_console_sound (console_sound);
|
||||
cw_set_volume (morse_volume);
|
||||
cw_set_gap (0);
|
||||
}
|
||||
@@ -559,8 +557,6 @@
|
||||
if (valid_sdevice == 1)
|
||||
{
|
||||
debug ("Sound device: %s", message + 2);
|
||||
- cw_set_soundcard_sound (soundcard_sound);
|
||||
- cw_set_console_sound (console_sound);
|
||||
}
|
||||
break;
|
||||
case 'g': /* volume */
|
@ -3,9 +3,11 @@ man/man8/cwdaemon.8.gz
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
%%PORTDOCS%%%%DOCSDIR%%/cwdaemon.png
|
||||
%%PORTDOCS%%%%DOCSDIR%%/cwsetup.sh
|
||||
%%PORTDOCS%%%%DOCSDIR%%/cwtest.c
|
||||
%%PORTDOCS%%%%DOCSDIR%%/cwtest.sh
|
||||
%%PORTDOCS%%%%DOCSDIR%%/parallelport_circuit.jpg
|
||||
%%PORTDOCS%%%%DOCSDIR%%/parallelport_circuit.ps
|
||||
%%PORTDOCS%%%%DOCSDIR%%/serialport_circuit.jpg
|
||||
%%PORTDOCS%%%%DOCSDIR%%/serialport_circuit.ps
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/README
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example.c
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example.pl
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example.sh
|
||||
|
Loading…
Reference in New Issue
Block a user