aboutsummaryrefslogtreecommitdiffstats
path: root/comms/dcf77pi/Makefile
blob: ecde026411b52edfd02f21bd2c51bc6f9c14aa22 (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=    2.0.1
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=  9865afc

USES=       ncurses

PORTDOCS=   README.md

INSTALL_TARGET= install-strip

post-install:
    ${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>