From owner-svn-ports-head@FreeBSD.ORG Fri Jun 21 22:46:13 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id A9DD2B52; Fri, 21 Jun 2013 22:46:13 +0000 (UTC) (envelope-from rene@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 9BAFE1D5E; Fri, 21 Jun 2013 22:46:13 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r5LMkDYa070094; Fri, 21 Jun 2013 22:46:13 GMT (envelope-from rene@svn.freebsd.org) Received: (from rene@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r5LMkCZe070086; Fri, 21 Jun 2013 22:46:12 GMT (envelope-from rene@svn.freebsd.org) Message-Id: <201306212246.r5LMkCZe070086@svn.freebsd.org> From: Rene Ladan Date: Fri, 21 Jun 2013 22:46:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r321506 - in head/comms: . dcf77pi X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Jun 2013 22:46:13 -0000 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 + +.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 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%%