summaryrefslogtreecommitdiffstats
path: root/comms/soundmodem/Makefile
blob: a9131ffc76285f8215ec8689667b4d99e3dd97ce (plain)
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
33
34
35
36
37
# $FreeBSD$

PORTNAME=	soundmodem
PORTVERSION=	0.18
CATEGORIES=	comms hamradio
MASTER_SITES=	http://www.baycom.org/~tom/ham/soundmodem/ \
		http://soundmodem.vk4msl.yi.org/ \
		http://pv529.ncsrv.de/soundmodem/ \
		LOCAL/shurd

MAINTAINER=	hamradio@FreeBSD.org
COMMENT=	Amateur Radio sound modem

LICENSE=	GPLv1

LIB_DEPENDS=	libaudiofile.so:${PORTSDIR}/audio/libaudiofile

CONFIGURE_ARGS=	--disable-alsatest
WRKSRC=		${WRKDIR}/${DISTNAME}
USES=		gmake pkgconfig gettext
HAS_CONFIGURE=	yes
USE_GNOME=	gtk20 libxml2

pre-patch:
	@${CP} ${FILESDIR}/soundmodem ${WRKSRC}

post-patch:
	@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \
		${WRKSRC}/soundcard/soundmodem.8 \
		${WRKSRC}/soundcard/main.c \
		${WRKSRC}/configapp/src/soundmodemconfig.8 \
		${WRKSRC}/configapp/src/main.c \
		${WRKSRC}/soundmodem
post-install:
	${INSTALL_SCRIPT} ${WRKSRC}/soundmodem ${STAGEDIR}${PREFIX}/etc/rc.d

.include <bsd.port.mk>
OpenPOWER on IntegriCloud