aboutsummaryrefslogtreecommitdiffstats
path: root/comms/dcf77pi/Makefile
blob: 841631c3eb70117973e432901f0fdbef8ba0d09e (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
# 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>