Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Aug 2018 17:34:51 +0000 (UTC)
From:      Stephen Hurd <shurd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r476606 - in head/comms/cwdaemon: . files
Message-ID:  <201808071734.w77HYpL3056786@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: shurd
Date: Tue Aug  7 17:34:51 2018
New Revision: 476606
URL: https://svnweb.freebsd.org/changeset/ports/476606

Log:
  Update to latest version, it's on github now
  
  Put the examples in EXAMPLESDIR.

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

Modified: head/comms/cwdaemon/Makefile
==============================================================================
--- head/comms/cwdaemon/Makefile	Tue Aug  7 16:40:53 2018	(r476605)
+++ head/comms/cwdaemon/Makefile	Tue Aug  7 17:34:51 2018	(r476606)
@@ -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>

Modified: head/comms/cwdaemon/distinfo
==============================================================================
--- head/comms/cwdaemon/distinfo	Tue Aug  7 16:40:53 2018	(r476605)
+++ head/comms/cwdaemon/distinfo	Tue Aug  7 17:34:51 2018	(r476606)
@@ -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

Added: head/comms/cwdaemon/files/patch-Makefile.am
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/comms/cwdaemon/files/patch-Makefile.am	Tue Aug  7 17:34:51 2018	(r476606)
@@ -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)
+ 
+ 

Modified: head/comms/cwdaemon/pkg-plist
==============================================================================
--- head/comms/cwdaemon/pkg-plist	Tue Aug  7 16:40:53 2018	(r476605)
+++ head/comms/cwdaemon/pkg-plist	Tue Aug  7 17:34:51 2018	(r476606)
@@ -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



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