Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Dec 2013 16:17:51 +0000 (UTC)
From:      Diane Bruce <db@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r338022 - in head/comms/cwdaemon: . files
Message-ID:  <201312291617.rBTGHpOM008834@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: db
Date: Sun Dec 29 16:17:51 2013
New Revision: 338022
URL: http://svnweb.freebsd.org/changeset/ports/338022

Log:
  - convert to stage
  - add LICENSE
  - patch to use new libcw lib from unixcw

Added:
  head/comms/cwdaemon/files/
  head/comms/cwdaemon/files/patch-cwdaemon.c   (contents, props changed)
Modified:
  head/comms/cwdaemon/Makefile   (contents, props changed)
  head/comms/cwdaemon/pkg-plist   (contents, props changed)

Modified: head/comms/cwdaemon/Makefile
==============================================================================
--- head/comms/cwdaemon/Makefile	Sun Dec 29 16:16:41 2013	(r338021)
+++ head/comms/cwdaemon/Makefile	Sun Dec 29 16:17:51 2013	(r338022)
@@ -5,26 +5,18 @@ PORTNAME=	cwdaemon
 PORTVERSION=	0.9.4
 CATEGORIES=	comms hamradio
 MASTER_SITES=	http://www.chronos.org.uk/download/ \
-		${MASTER_SITE_LOCAL}
+		    ${MASTER_SITE_LOCAL}
 MASTER_SITE_SUBDIR=	db
 
 MAINTAINER=	db@FreeBSD.org
 COMMENT=	Amateur Radio cw (Morse code) keyer daemon
 
+LICENSE=	GPLv2
+
 LIB_DEPENDS=	libcw.so:${PORTSDIR}/comms/unixcw
+CONFIGURE_ARGS+=	--datadir=${PREFIX}/share/doc
 
-INSTALL_TARGET=	install-exec
 GNU_CONFIGURE=	yes
 USES=		pkgconfig
-CONFIGURE_ARGS+=	--datadir=${PREFIX}/share/doc
-MAN8=		cwdaemon.8
-
-NO_STAGE=	yes
-post-install:
-.if !defined(NOPORTDOCS)
-	cd ${WRKSRC}; ${MAKE} install-data
-.else
-	cd ${WRKSRC}; ${MAKE} install-man
-.endif
 
 .include <bsd.port.mk>

Added: head/comms/cwdaemon/files/patch-cwdaemon.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/comms/cwdaemon/files/patch-cwdaemon.c	Sun Dec 29 16:17:51 2013	(r338022)
@@ -0,0 +1,29 @@
+--- 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 */

Modified: head/comms/cwdaemon/pkg-plist
==============================================================================
--- head/comms/cwdaemon/pkg-plist	Sun Dec 29 16:16:41 2013	(r338021)
+++ head/comms/cwdaemon/pkg-plist	Sun Dec 29 16:17:51 2013	(r338022)
@@ -1,4 +1,5 @@
 sbin/cwdaemon
+man/man8/cwdaemon.8.gz
 %%PORTDOCS%%%%DOCSDIR%%/README
 %%PORTDOCS%%%%DOCSDIR%%/cwdaemon.png
 %%PORTDOCS%%%%DOCSDIR%%/cwsetup.sh



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312291617.rBTGHpOM008834>