1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-09 06:51:44 +00:00
freebsd-ports/audio/dream/Makefile
Edwin Groothuis 6527ef2070 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 13:08:29 +00:00

38 lines
1.1 KiB
Makefile

# New ports collection makefile for: Dream DRM Receiver
# Date created: 1st september 2006
# Whom: Soeren Straaarup <xride@x12.dk>
#
# $FreeBSD$
PORTNAME= dream
PORTVERSION= 1.6.25
PORTREVISION= 4
CATEGORIES= audio hamradio
MASTER_SITES= SF/drm
DISTNAME= drm-${PORTVERSION}
MAINTAINER= xride@FreeBSD.org
COMMENT= Digital Radio Mondiale (DRM) software receiver
LIB_DEPENDS= fftw.2:${PORTSDIR}/math/fftw \
qwt4.4:${PORTSDIR}/x11-toolkits/qwt4 \
faad.0:${PORTSDIR}/audio/faad
BROKEN= Needs DRM enabled in FAAD
USE_QT_VER= 3
GNU_CONFIGURE= yes
CONFIGURE_ENV= CXXFLAGS="${CXXFLAGS} -I${LOCALBASE}/include \
${PTHREAD_CFLAGS}" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}"
PLIST_FILES= bin/drm
post-patch:
@${REINPLACE_CMD} -e 's|/usr/include/qwt|${LOCALBASE}/include/qwt4|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|-lqwt|-lqwt4|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|neaacdec.h|faad.h|g' ${WRKSRC}/common/sourcedecoders/AudioSourceDecoder.cpp
@${REINPLACE_CMD} -e 's|DRMCH_SBR_PS_STEREO|DRMCH_SBR_STEREO|g' ${WRKSRC}/common/sourcedecoders/AudioSourceDecoder.cpp
.include <bsd.port.mk>