aboutsummaryrefslogtreecommitdiffstats
path: root/comms/dcf77pi/Makefile
blob: 764b7a975e65347333d22c132d1aa1b46cc8a705 (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.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

MAKE_ARGS=  FULLPREFIX="${STAGEDIR}${PREFIX}"

OPTIONS_DEFINE= DOCS

.include <bsd.port.options.mk>

post-install:
.if ${PORT_OPTIONS:MDOCS}
    ${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
.endif
    if [ ! -f ${ETCDIR}/hardware.txt ] ; then \
        ${CP} -p ${STAGEDIR}${ETCDIR}/hardware.txt.sample ${STAGEDIR}${ETCDIR}/hardware.txt ; \
    fi

.include <bsd.port.mk>