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

PORTNAME=   cwdaemon
PORTVERSION=    0.9.4
CATEGORIES= comms hamradio
MASTER_SITES=   http://www.chronos.org.uk/download/ \
        ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= db

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

LIB_DEPENDS=    cw:${PORTSDIR}/comms/unixcw

INSTALL_TARGET= install-exec
GNU_CONFIGURE=  yes
USES=       pkgconfig
CONFIGURE_ARGS+=    --datadir=${PREFIX}/share/doc
MAN8=       cwdaemon.8

post-install:
.if !defined(NOPORTDOCS)
    cd ${WRKSRC}; ${MAKE} install-data
.else
    cd ${WRKSRC}; ${MAKE} install-man
.endif

.include <bsd.port.mk>