2006-09-01 21:49:07 +02:00
|
|
|
# New ports collection makefile for: Dream DRM Receiver
|
|
|
|
# Date created: 1st september 2006
|
|
|
|
# Whom: Soeren Straaarup <xride@x12.dk>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= dream
|
2006-09-14 09:15:55 +02:00
|
|
|
PORTVERSION= 1.6.25
|
2006-09-02 09:49:41 +02:00
|
|
|
CATEGORIES= audio hamradio
|
2006-09-01 21:49:07 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= drm
|
|
|
|
DISTNAME= drm-${PORTVERSION}
|
|
|
|
|
2006-09-30 00:01:22 +02:00
|
|
|
MAINTAINER= xride@FreeBSD.org
|
2006-09-01 21:49:07 +02:00
|
|
|
COMMENT= Digital Radio Mondiale (DRM) software receiver
|
|
|
|
|
|
|
|
LIB_DEPENDS= fftw.2:${PORTSDIR}/math/fftw \
|
|
|
|
qwt.4:${PORTSDIR}/x11-toolkits/qwt \
|
|
|
|
faad.0:${PORTSDIR}/audio/faad
|
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_QT_VER= 3
|
|
|
|
GNU_CONFIGURE= yes
|
2006-09-14 09:15:55 +02:00
|
|
|
CONFIGURE_ENV= CXXFLAGS="${CXXFLAGS} -I${LOCALBASE}/include \
|
|
|
|
${PTHREAD_CFLAGS}" \
|
2007-02-13 01:16:29 +01:00
|
|
|
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}"
|
2006-09-01 21:49:07 +02:00
|
|
|
|
|
|
|
PLIST_FILES= bin/drm
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|/usr/include/qwt|${LOCALBASE}/include/qwt|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
|
|
|
|
|
2006-09-12 08:21:28 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} < 500000
|
2006-09-14 09:15:55 +02:00
|
|
|
BROKEN= does not build on 4.x
|
2006-09-12 08:21:28 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|