aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/mplayer/Makefile
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2002-03-06 12:14:08 +0800
committerlioux <lioux@FreeBSD.org>2002-03-06 12:14:08 +0800
commitcdb9b23da4108adf88115c40c341f4709432a343 (patch)
tree8f86473c47a80f643bb29f0ed213d3a84249dd62 /multimedia/mplayer/Makefile
parent45ccaa34ab9016bff03e238c61e2b41cdfb0ec8e (diff)
downloadfreebsd-ports-gnome-cdb9b23da4108adf88115c40c341f4709432a343.tar.gz
freebsd-ports-gnome-cdb9b23da4108adf88115c40c341f4709432a343.tar.zst
freebsd-ports-gnome-cdb9b23da4108adf88115c40c341f4709432a343.zip
o Tell configure about extra lib/include paths so as to improve
auto-detection o Enable WITH_SVGALIB if it is installed o Use direct rather than relative paths to reference port directories in Makefile o No PORTREVISION bump since there are no functional changes Submitted by: maintainer
Diffstat (limited to 'multimedia/mplayer/Makefile')
-rw-r--r--multimedia/mplayer/Makefile16
1 files changed, 11 insertions, 5 deletions
diff --git a/multimedia/mplayer/Makefile b/multimedia/mplayer/Makefile
index eb1db506d420..fa5cee020e5f 100644
--- a/multimedia/mplayer/Makefile
+++ b/multimedia/mplayer/Makefile
@@ -32,7 +32,9 @@ USE_XLIB= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS=${PTHREAD_LIBS}
-CONFIGURE_ARGS= --disable-mencoder
+CONFIGURE_ARGS= --disable-mencoder \
+ --with-extralibdir=${LOCALBASE}/lib \
+ --with-extraincdir=${LOCALBASE}/include
MAN1= mplayer.1
MANCOMPRESSED= no
@@ -49,6 +51,10 @@ DOCFILES= DVB bugreports.html cd-dvd.html codecs-in.html \
WITH_DVD= yes
.endif
+.if exists(${LOCALBASE}/lib/libvga.so.1)
+WITH_SVGALIB= yes
+.endif
+
.if exists(${X11BASE}/bin/xanim)
WITH_XANIM= yes
.endif
@@ -64,8 +70,8 @@ RUN_DEPENDS+= ${SKIN_DETECTION_FILE}:${SKIN_PORT}
CONFIGURE_ARGS+= --enable-gui
-#SKIN_PORT= ${PORTSDIR}/graphics/mplayer-skins
-SKIN_PORT= ${.CURDIR}/../mplayer-skins
+SKIN_PORT= ${PORTSDIR}/graphics/mplayer-skins
+#SKIN_PORT= ${.CURDIR}/../mplayer-skins
SKIN_DETECTION_FILE!= ${MAKE} -f ${SKIN_PORT}/Makefile -V SKIN_DETECTION_FILE
.endif
@@ -115,8 +121,8 @@ RUN_DEPENDS+= ${CODEC_DETECTION_FILE}:${CODEC_PORT}
CONFIGURE_ARGS+= --with-win32libdir=${LOCALBASE}/lib/win32
-#CODEC_PORT= ${PORTSDIR}/graphics/win32-codecs
-CODEC_PORT= ${.CURDIR}/../win32-codecs
+CODEC_PORT= ${PORTSDIR}/graphics/win32-codecs
+#CODEC_PORT= ${.CURDIR}/../win32-codecs
CODEC_DETECTION_FILE!= ${MAKE} -f ${CODEC_PORT}/Makefile -V CODEC_DETECTION_FILE
.endif
.endif # ARCH == i386