summaryrefslogtreecommitdiff
path: root/multimedia/gmerlin-avdecoder
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-04-01 14:16:16 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-04-01 14:16:16 +0000
commit8d6597e0bb9591c40fc6d0c6e2159fca51178d56 (patch)
treed3548a0f08ca434f11cb4415a93d98037409413b /multimedia/gmerlin-avdecoder
parentRemove ${PORTSDIR}/ from dependencies, categories h, i, j, k, and l. (diff)
Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.
With hat: portmgr Sponsored by: Absolight
Notes
Notes: svn path=/head/; revision=412348
Diffstat (limited to 'multimedia/gmerlin-avdecoder')
-rw-r--r--multimedia/gmerlin-avdecoder/Makefile46
1 files changed, 23 insertions, 23 deletions
diff --git a/multimedia/gmerlin-avdecoder/Makefile b/multimedia/gmerlin-avdecoder/Makefile
index b052649632f6..6a318d9cab84 100644
--- a/multimedia/gmerlin-avdecoder/Makefile
+++ b/multimedia/gmerlin-avdecoder/Makefile
@@ -12,8 +12,8 @@ COMMENT= General purpose media decoding library
LICENSE= GPLv2
-BUILD_DEPENDS= ${LOCALBASE}/include/linux/dvb/frontend.h:${PORTSDIR}/multimedia/v4l_compat
-LIB_DEPENDS= libgavl.so:${PORTSDIR}/multimedia/gavl
+BUILD_DEPENDS= ${LOCALBASE}/include/linux/dvb/frontend.h:multimedia/v4l_compat
+LIB_DEPENDS= libgavl.so:multimedia/gavl
OPTIONS_DEFINE= A52 CDIO DCA DVDREAD FAAD FFMPEG FLAC GMERLIN MAD \
MJPEGTOOLS MPEG2 MUSEPACK OPENJPEG OPTIMIZED_CFLAGS PNG \
@@ -36,7 +36,7 @@ LDFLAGS+= -L${LOCALBASE}/lib/ffmpeg0 -L${LOCALBASE}/lib
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MGMERLIN}
-LIB_DEPENDS+= libgmerlin.so:${PORTSDIR}/multimedia/gmerlin
+LIB_DEPENDS+= libgmerlin.so:multimedia/gmerlin
PLIST_SUB+= GMERLIN=""
.else
CONFIGURE_ARGS+=--disable-gmerlin
@@ -44,68 +44,68 @@ PLIST_SUB+= GMERLIN="@comment "
.endif
.if ${PORT_OPTIONS:MFFMPEG}
-LIB_DEPENDS+= libavcodec0.so:${PORTSDIR}/multimedia/ffmpeg0
+LIB_DEPENDS+= libavcodec0.so:multimedia/ffmpeg0
.else
CONFIGURE_ARGS+=--disable-libavcodec --disable-libpostproc --disable-libswscale --disable-libavformat
.endif
.if ${PORT_OPTIONS:MTHEORA}
-LIB_DEPENDS+= libtheora.so:${PORTSDIR}/multimedia/libtheora
+LIB_DEPENDS+= libtheora.so:multimedia/libtheora
.else
CONFIGURE_ARGS+=--disable-theoradec
.endif
.if ${PORT_OPTIONS:MSPEEX}
-LIB_DEPENDS+= libspeex.so:${PORTSDIR}/audio/speex
+LIB_DEPENDS+= libspeex.so:audio/speex
.else
CONFIGURE_ARGS+=--disable-speex
.endif
.if ${PORT_OPTIONS:MMJPEGTOOLS}
-LIB_DEPENDS+= liblavjpeg.so:${PORTSDIR}/multimedia/mjpegtools
+LIB_DEPENDS+= liblavjpeg.so:multimedia/mjpegtools
.else
CONFIGURE_ARGS+=--disable-mjpegtools
.endif
.if ${PORT_OPTIONS:MVORBIS}
-LIB_DEPENDS+= libvorbis.so:${PORTSDIR}/audio/libvorbis
+LIB_DEPENDS+= libvorbis.so:audio/libvorbis
CONFIGURE_ARGS+=--with-vorbis=${LOCALBASE}
.else
CONFIGURE_ARGS+=--disable-vorbis
.endif
.if ${PORT_OPTIONS:MMPEG2}
-LIB_DEPENDS+= libmpeg2.so:${PORTSDIR}/multimedia/libmpeg2
+LIB_DEPENDS+= libmpeg2.so:multimedia/libmpeg2
.else
CONFIGURE_ARGS+=--disable-libmpeg2
.endif
.if ${PORT_OPTIONS:MTIFF}
-LIB_DEPENDS+= libtiff.so:${PORTSDIR}/graphics/tiff
+LIB_DEPENDS+= libtiff.so:graphics/tiff
.else
CONFIGURE_ARGS+=--disable-libtiff
.endif
.if ${PORT_OPTIONS:MSAMBA}
-LIB_DEPENDS+= libsmbclient.so:${PORTSDIR}/net/samba-libsmbclient
+LIB_DEPENDS+= libsmbclient.so:net/samba-libsmbclient
.else
CONFIGURE_ARGS+=--disable-samba
.endif
.if ${PORT_OPTIONS:MPNG}
-LIB_DEPENDS+= libpng.so:${PORTSDIR}/graphics/png
+LIB_DEPENDS+= libpng.so:graphics/png
.else
CONFIGURE_ARGS+=--disable-libpng
.endif
.if ${PORT_OPTIONS:MFAAD}
-LIB_DEPENDS+= libfaad.so:${PORTSDIR}/audio/faad
+LIB_DEPENDS+= libfaad.so:audio/faad
.else
CONFIGURE_ARGS+=--disable-faad2
.endif
.if ${PORT_OPTIONS:MDVDREAD}
-LIB_DEPENDS+= libdvdread.so:${PORTSDIR}/multimedia/libdvdread
+LIB_DEPENDS+= libdvdread.so:multimedia/libdvdread
PLIST_SUB+= DVDREAD=""
.else
CONFIGURE_ARGS+=--disable-dvdread
@@ -113,38 +113,38 @@ PLIST_SUB+= DVDREAD="@comment "
.endif
.if ${PORT_OPTIONS:MFLAC}
-LIB_DEPENDS+= libFLAC.so:${PORTSDIR}/audio/flac
+LIB_DEPENDS+= libFLAC.so:audio/flac
.else
CONFIGURE_ARGS+=--disable-flac
.endif
.if ${PORT_OPTIONS:MMUSEPACK}
-LIB_DEPENDS+= libmpcdec.so:${PORTSDIR}/audio/musepack
+LIB_DEPENDS+= libmpcdec.so:audio/musepack
.else
CONFIGURE_ARGS+=--disable-musepack
.endif
.if ${PORT_OPTIONS:MMAD}
-LIB_DEPENDS+= libmad.so:${PORTSDIR}/audio/libmad
+LIB_DEPENDS+= libmad.so:audio/libmad
.else
CONFIGURE_ARGS+=--disable-mad
.endif
.if ${PORT_OPTIONS:MA52}
-LIB_DEPENDS+= liba52.so:${PORTSDIR}/audio/liba52
+LIB_DEPENDS+= liba52.so:audio/liba52
.else
CONFIGURE_ARGS+=--disable-liba52
.endif
.if ${PORT_OPTIONS:MDCA}
-LIB_DEPENDS+= libdca.so:${PORTSDIR}/multimedia/libdca
+LIB_DEPENDS+= libdca.so:multimedia/libdca
.else
# error in configure
CONFIGURE_ARGS+=--disable-libcda --disable-libdca
.endif
.if ${PORT_OPTIONS:MCDIO}
-LIB_DEPENDS+= libcdio.so:${PORTSDIR}/sysutils/libcdio
+LIB_DEPENDS+= libcdio.so:sysutils/libcdio
PLIST_SUB+= CDIO=""
.else
CONFIGURE_ARGS+=--disable-libcdio
@@ -152,19 +152,19 @@ PLIST_SUB+= CDIO="@comment "
.endif
.if ${PORT_OPTIONS:MOPENJPEG}
-LIB_DEPENDS+= libopenjpeg.so:${PORTSDIR}/graphics/openjpeg15
+LIB_DEPENDS+= libopenjpeg.so:graphics/openjpeg15
.else
CONFIGURE_ARGS+=--disable-openjpeg
.endif
.if ${PORT_OPTIONS:MSCHROEDINGER}
-LIB_DEPENDS+= libschroedinger-1.0.so:${PORTSDIR}/multimedia/schroedinger
+LIB_DEPENDS+= libschroedinger-1.0.so:multimedia/schroedinger
.else
CONFIGURE_ARGS+=--disable-schroedinger
.endif
.if ${PORT_OPTIONS:MVDPAU}
-LIB_DEPENDS+= libvdpau.so:${PORTSDIR}/multimedia/libvdpau
+LIB_DEPENDS+= libvdpau.so:multimedia/libvdpau
.else
CONFIGURE_ARGS+= --disable-vdpau
.endif