4641a8dc34
- better detection for bits in the radio signal - catch more corner cases in decoding of the time data The configuration file (hardware.txt) needs to be updated with this update.
30 lines
570 B
Makefile
30 lines
570 B
Makefile
# Created by: rene@FreeBSD.org
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= dcf77pi
|
|
PORTVERSION= 1.0.4
|
|
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= 75f6f04
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-install:
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README.md ${DOCSDIR}
|
|
.endif
|
|
if [ ! -f ${ETCDIR}/hardware.txt ] ; then \
|
|
${CP} -p ${ETCDIR}/hardware.txt.sample ${ETCDIR}/hardware.txt ; \
|
|
fi
|
|
|
|
.include <bsd.port.mk>
|