6ec5eaf60c
- unbreak amd64 build Feature safe: yes
34 lines
843 B
Makefile
34 lines
843 B
Makefile
# $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}
|
|
USE_GMAKE= yes
|
|
HAS_CONFIGURE= yes
|
|
USE_GNOME= gtk20 libxml2
|
|
MAN8= soundmodem.8 soundmodemconfig.8
|
|
|
|
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>
|