blob: de39b61ef890e84bc4b0441b23ff56de1f804910 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Created by: rene@FreeBSD.org
# $FreeBSD$
PORTNAME= dcf77pi
PORTVERSION= 1.1.2
CATEGORIES= comms
MAINTAINER= rene@FreeBSD.org
COMMENT= DCF77 receiver/logger/analyzer for the Raspberry Pi
LICENSE= BSD2CLAUSE
USE_GITHUB= yes
GH_ACCOUNT= rene0
GH_COMMIT= c13fd2c
MAKE_ARGS= FULLPREFIX="${STAGEDIR}${PREFIX}"
PORTDOCS= README.md
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/dcf77pi
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/readpin
${MKDIR} ${STAGEDIR}${DOCSDIR}
.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
.include <bsd.port.mk>
|