blob: e403d486f905f78be1fb2942af091d76845ec294 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# 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
CATEGORIES= audio hamradio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= drm
DISTNAME= drm-${PORTVERSION}
MAINTAINER= xride@x12.dk
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
CONFIGURE_ENV= CXXFLAGS="${CXXFLAGS} -I${LOCALBASE}/include \
${PTHREAD_CFLAGS}" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
QTDIR="${QT_PREFIX}"
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
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
BROKEN= does not build on 4.x
.endif
.include <bsd.port.post.mk>
|