Index: head/comms/cwdaemon/Makefile =================================================================== --- head/comms/cwdaemon/Makefile (revision 476605) +++ head/comms/cwdaemon/Makefile (revision 476606) @@ -1,22 +1,30 @@ # Created by: Diane Bruce # $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 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 Index: head/comms/cwdaemon/distinfo =================================================================== --- head/comms/cwdaemon/distinfo (revision 476605) +++ head/comms/cwdaemon/distinfo (revision 476606) @@ -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 Index: head/comms/cwdaemon/files/patch-cwdaemon.c =================================================================== --- head/comms/cwdaemon/files/patch-cwdaemon.c (revision 476605) +++ head/comms/cwdaemon/files/patch-cwdaemon.c (nonexistent) @@ -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 - --#include -+#include - #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 */ Property changes on: head/comms/cwdaemon/files/patch-cwdaemon.c ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/comms/cwdaemon/files/patch-Makefile.am =================================================================== --- head/comms/cwdaemon/files/patch-Makefile.am (nonexistent) +++ head/comms/cwdaemon/files/patch-Makefile.am (revision 476606) @@ -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) + + Property changes on: head/comms/cwdaemon/files/patch-Makefile.am ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/comms/cwdaemon/pkg-plist =================================================================== --- head/comms/cwdaemon/pkg-plist (revision 476605) +++ head/comms/cwdaemon/pkg-plist (revision 476606) @@ -1,11 +1,13 @@ sbin/cwdaemon 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