aboutsummaryrefslogtreecommitdiffstats
path: root/comms/cwdaemon/Makefile
blob: f62c98d1a0b763d9d3d695704da31b2e17a47a5a (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.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

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

.include <bsd.port.mk>