aboutsummaryrefslogtreecommitdiffstats
path: root/comms/cwdaemon/Makefile
blob: b8495d27070244a746bd6e365d8e8cdaaba2bf50 (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: Diane Bruce <db@db.net>
# $FreeBSD$

PORTNAME=   cwdaemon
PORTVERSION=    0.10.2
CATEGORIES= comms hamradio

MAINTAINER= hamradio@FreeBSD.org
COMMENT=    Amateur Radio cw (Morse code) keyer daemon

LICENSE=    GPLv2

LIB_DEPENDS=    libcw.so:comms/unixcw

GNU_CONFIGURE=  yes
CONFIGURE_ARGS+=    --datadir=${PREFIX}/share/doc
USES=       pkgconfig autoreconf
USE_GITHUB= yes
GH_ACCOUNT= acerion

OPTIONS_DEFINE= DOCS EXAMPLES

post-install:
    ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
    ${INSTALL_SCRIPT} ${WRKSRC}/examples/example.sh ${STAGEDIR}${EXAMPLESDIR}
    ${INSTALL_SCRIPT} ${WRKSRC}/examples/example.pl ${STAGEDIR}${EXAMPLESDIR}
    ${INSTALL_DATA} ${WRKSRC}/examples/README ${STAGEDIR}${EXAMPLESDIR}
    ${INSTALL_DATA} ${WRKSRC}/examples/example.c ${STAGEDIR}${EXAMPLESDIR}

.include <bsd.port.mk>