Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jun 2013 22:46:12 +0000 (UTC)
From:      Rene Ladan <rene@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r321506 - in head/comms: . dcf77pi
Message-ID:  <201306212246.r5LMkCZe070086@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rene
Date: Fri Jun 21 22:46:12 2013
New Revision: 321506
URL: http://svnweb.freebsd.org/changeset/ports/321506

Log:
  Yet another DCF77 decoder.  This one is intended for the Raspberry Pi
  platform but might work on other devices using GPIO pins too.
  
  The received data can be logged for later playback/analysis.
  
  WWW: https://github.com/rene0/dcf77pi

Added:
  head/comms/dcf77pi/
  head/comms/dcf77pi/Makefile   (contents, props changed)
  head/comms/dcf77pi/distinfo   (contents, props changed)
  head/comms/dcf77pi/pkg-descr   (contents, props changed)
  head/comms/dcf77pi/pkg-plist   (contents, props changed)
Modified:
  head/comms/Makefile

Modified: head/comms/Makefile
==============================================================================
--- head/comms/Makefile	Fri Jun 21 22:29:13 2013	(r321505)
+++ head/comms/Makefile	Fri Jun 21 22:46:12 2013	(r321506)
@@ -26,6 +26,7 @@
     SUBDIR += cutecom
     SUBDIR += cwdaemon
     SUBDIR += dabstick-radio
+    SUBDIR += dcf77pi
     SUBDIR += deforaos-phone
     SUBDIR += dfu-programmer
     SUBDIR += dfu-util

Added: head/comms/dcf77pi/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/comms/dcf77pi/Makefile	Fri Jun 21 22:46:12 2013	(r321506)
@@ -0,0 +1,34 @@
+# Created by: rene@FreeBSD.org
+# $FreeBSD$
+
+PORTNAME=	dcf77pi
+PORTVERSION=	1.0.1
+CATEGORIES=	comms
+
+MAINTAINER=	rene@FreeBSD.org
+COMMENT=	DCF77 receiver/logger/analyzer for the Raspberry Pi
+
+LICENSE=	BSD
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	rene0
+GH_COMMIT=	135299c
+
+OPTIONS_DEFINE=	DOCS
+
+.include <bsd.port.options.mk>
+
+.if ${OSVERSION} < 900000
+IGNORE=	no GPIO support
+.endif
+
+post-install:
+.if ${PORT_OPTIONS:MDOCS}
+	${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README.md ${DOCSDIR}
+.endif
+	@if [ ! ${ETCDIR}/hardware.txt ] ; then \
+		${CP} -p ${ETCDIR}/hardware.txt.sample ${ETCDIR}/hardware.txt ; \
+	fi
+
+.include <bsd.port.mk>

Added: head/comms/dcf77pi/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/comms/dcf77pi/distinfo	Fri Jun 21 22:46:12 2013	(r321506)
@@ -0,0 +1,2 @@
+SHA256 (dcf77pi-1.0.1.tar.gz) = ade35ec36bef4e7fb306f5019f483d13fa78915a2c79e4210c53a587d2de91f1
+SIZE (dcf77pi-1.0.1.tar.gz) = 8340

Added: head/comms/dcf77pi/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/comms/dcf77pi/pkg-descr	Fri Jun 21 22:46:12 2013	(r321506)
@@ -0,0 +1,6 @@
+Yet another DCF77 decoder.  This one is intended for the Raspberry Pi
+platform but might work on other devices using GPIO pins too.
+
+The received data can be logged for later playback/analysis.
+
+WWW: https://github.com/rene0/dcf77pi

Added: head/comms/dcf77pi/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/comms/dcf77pi/pkg-plist	Fri Jun 21 22:46:12 2013	(r321506)
@@ -0,0 +1,8 @@
+bin/dcf77pi
+bin/readpin
+%%PORTDOCS%%%%DOCSDIR%%/README.md
+@unexec if cmp -s %D/etc/dcf77pi/hardware.txt.sample %D/etc/dcf77pi/hardware.txt ; then rm -f %D/etc/dcf77pi/hardware.txt ; fi
+etc/dcf77pi/hardware.txt.sample
+@exec if [ ! -f %D/etc/dcf77pi/hardware.txt ] ; then cp -p %D/%F %B/hardware.txt ; fi
+@dirrmtry %%ETCDIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%



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