freebsd-ports/comms/soundmodem/Makefile

36 lines
865 B
Makefile
Raw Normal View History

# $FreeBSD$
PORTNAME= soundmodem
PORTVERSION= 0.17
CATEGORIES= comms hamradio
MASTER_SITES= http://www.baycom.org/~tom/ham/soundmodem/ \
http://chronos.org.uk/distfiles/
MAINTAINER= db@FreeBSD.org
COMMENT= Amateur Radio sound modem
LIB_DEPENDS= audiofile:${PORTSDIR}/audio/libaudiofile
CONFIGURE_ARGS= --disable-alsatest
WRKSRC= ${WRKDIR}/${DISTNAME}
2013-09-03 08:36:41 +02:00
USES= gmake pkgconfig
HAS_CONFIGURE= yes
USE_GNOME= gtk20 libxml2
MAN8= soundmodem.8 soundmodemconfig.8
NO_STAGE= yes
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 ${PREFIX}/etc/rc.d
.include <bsd.port.mk>