aboutsummaryrefslogtreecommitdiffstats
path: root/comms/dcf77pi
diff options
context:
space:
mode:
authorrene <rene@FreeBSD.org>2013-12-04 05:33:36 +0800
committerrene <rene@FreeBSD.org>2013-12-04 05:33:36 +0800
commit43835da85c924491dd4e03303379a4ffe9d00180 (patch)
tree7080134d0f7ebf9db325094545e710292fc52316 /comms/dcf77pi
parent84bc23ddec6a07139e9f45da277724033752edde (diff)
downloadfreebsd-ports-gnome-43835da85c924491dd4e03303379a4ffe9d00180.tar.gz
freebsd-ports-gnome-43835da85c924491dd4e03303379a4ffe9d00180.tar.zst
freebsd-ports-gnome-43835da85c924491dd4e03303379a4ffe9d00180.zip
* Update to 1.1.0:
- New algorithm to receive bits from the radio signal from an idea by Udo Klein, with permission [1] (configuration file changed) - Use two independent maximum values for 0 and 1 bits (configuration file changed) - New verbose display output - Weaken precondition for processing leap seconds and DST changes to not insist on correct values for parity bits and bit 0, 20, 17, 18 - README.md updated - Style and other minor fixes * Simplify PORTDOCS installation [1] http://blog.blinkenlight.net/experiments/dcf77/binary-clock/#comment-5916
Diffstat (limited to 'comms/dcf77pi')
-rw-r--r--comms/dcf77pi/Makefile14
-rw-r--r--comms/dcf77pi/distinfo4
-rw-r--r--comms/dcf77pi/pkg-plist2
3 files changed, 8 insertions, 12 deletions
diff --git a/comms/dcf77pi/Makefile b/comms/dcf77pi/Makefile
index 0af6cb3afef7..7596ae1dcdd2 100644
--- a/comms/dcf77pi/Makefile
+++ b/comms/dcf77pi/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= dcf77pi
-PORTVERSION= 1.0.5
+PORTVERSION= 1.1.0
CATEGORIES= comms
MAINTAINER= rene@FreeBSD.org
@@ -12,21 +12,19 @@ LICENSE= BSD
USE_GITHUB= yes
GH_ACCOUNT= rene0
-GH_COMMIT= f5b0c0d
+GH_COMMIT= 82252fd
MAKE_ARGS= FULLPREFIX="${STAGEDIR}${PREFIX}"
-OPTIONS_DEFINE= DOCS
-
-.include <bsd.port.options.mk>
+PORTDOCS= README.md
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/dcf77pi
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/readpin
-.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
-.endif
+.for f in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
+.endfor
if [ ! -f ${ETCDIR}/config.txt ] ; then \
${CP} -p ${STAGEDIR}${ETCDIR}/config.txt.sample ${STAGEDIR}${ETCDIR}/config.txt ; \
fi
diff --git a/comms/dcf77pi/distinfo b/comms/dcf77pi/distinfo
index 100202bfec82..526bad98ebd4 100644
--- a/comms/dcf77pi/distinfo
+++ b/comms/dcf77pi/distinfo
@@ -1,2 +1,2 @@
-SHA256 (dcf77pi-1.0.5.tar.gz) = 8515ed0fae015a3f81239e2605e5b4170f44d6faee169d29c5fd7c8ff2e79bd7
-SIZE (dcf77pi-1.0.5.tar.gz) = 11755
+SHA256 (dcf77pi-1.1.0.tar.gz) = e2f8284228c49cb385d3479bd3f14cf39b205ad6a69d5f6bf55a5ed1f2f2a000
+SIZE (dcf77pi-1.1.0.tar.gz) = 11976
diff --git a/comms/dcf77pi/pkg-plist b/comms/dcf77pi/pkg-plist
index 1fa3296dc0a0..6dfcd1107864 100644
--- a/comms/dcf77pi/pkg-plist
+++ b/comms/dcf77pi/pkg-plist
@@ -1,8 +1,6 @@
bin/dcf77pi
bin/readpin
-%%PORTDOCS%%%%DOCSDIR%%/README.md
@unexec if cmp -s %D/etc/dcf77pi/config.txt.sample %D/etc/dcf77pi/config.txt ; then rm -f %D/etc/dcf77pi/config.txt ; fi
etc/dcf77pi/config.txt.sample
@exec if [ ! -f %D/etc/dcf77pi/config.txt ] ; then cp -p %D/%F %B/config.txt ; fi
@dirrmtry %%ETCDIR%%
-%%PORTDOCS%%@dirrm %%DOCSDIR%%