mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00:00
60d1a83c2a
- Replace ${MASTER_SITE_FOO} with FOO. - Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9% of the time.) - Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and no hint of what it should be was present. - Fix some logic. - And generally, make things more simple and easy to understand. While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and SAMBA macros. Also, replace some EXTRACT_SUFX occurences with USES=tar:*. Checked by: make fetch-urlall-list With hat: portmgr Sponsored by: Absolight
38 lines
913 B
Makefile
38 lines
913 B
Makefile
# $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>
|