summaryrefslogtreecommitdiff
path: root/multimedia/ogle
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-04-19 17:56:05 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-04-19 17:56:05 +0000
commit3e4ed01146cfe2bdca465bd0e4d199341f62a0b6 (patch)
treed573ea09b2bf6be67cb497df199932da9e2707c4 /multimedia/ogle
parentUpdate to version 2.2.6 (diff)
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG - Remove X11BASE support in favor of LOCALBASE or PREFIX - Use USE_LDCONFIG instead of INSTALLS_SHLIB - Remove unneeded USE_GCC 3.4+ Thanks to all Helpers: Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr, ehaupt, nox, itetcu, flz, pav PR: 116263 Tested on: pointyhat Approved by: portmgr (pav)
Notes
Notes: svn path=/head/; revision=211584
Diffstat (limited to 'multimedia/ogle')
-rw-r--r--multimedia/ogle/Makefile8
-rw-r--r--multimedia/ogle/files/patch-ogle.in2
2 files changed, 5 insertions, 5 deletions
diff --git a/multimedia/ogle/Makefile b/multimedia/ogle/Makefile
index 72a9dd9d23b4..1665c0880e15 100644
--- a/multimedia/ogle/Makefile
+++ b/multimedia/ogle/Makefile
@@ -7,7 +7,7 @@
PORTNAME= ogle
PORTVERSION= 0.9.2
-PORTREVISION= 8
+PORTREVISION= 9
CATEGORIES= multimedia
MASTER_SITES= http://www.dtek.chalmers.se/groups/dvd/dist/
@@ -21,8 +21,8 @@ LIB_DEPENDS= a52.0:${PORTSDIR}/audio/liba52 \
xml2.5:${PORTSDIR}/textproc/libxml2
USE_AUTOTOOLS= libtool:15
+USE_XORG= x11 xext sm
USE_SUBMAKE= yes
-USE_XLIB= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include"
@@ -30,7 +30,7 @@ CONFIGURE_ARGS= --with-libjpeg=${LOCALBASE} \
--with-dvdread=${LOCALBASE} \
--with-libmad=${LOCALBASE} \
--with-liba52=${LOCALBASE}
-INSTALLS_SHLIB= yes
+USE_LDCONFIG= yes
DEFAULT_DVD_DEVICE?= /dev/acd0c
@@ -47,7 +47,7 @@ post-patch:
@${REINPLACE_CMD} -E -e "s|(DEFAULT_DVD_DEVICE=\")/dev/acd0c(\")|\1${DEFAULT_DVD_DEVICE}\2|" \
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
.endif
- @${REINPLACE_CMD} -e "s|%%X11BASE%%|${X11BASE}|" ${WRKSRC}/scripts/ogle.in
+ @${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|" ${WRKSRC}/scripts/ogle.in
# hack to make ogle work with liba52 + djbfft
# CFLAGS safeness
@${REINPLACE_CMD} -E -e 's|(-la52)|\1 ${LIBA52_DEP_LIBS}|; \
diff --git a/multimedia/ogle/files/patch-ogle.in b/multimedia/ogle/files/patch-ogle.in
index 513c6eba934f..b1d9fd1536ea 100644
--- a/multimedia/ogle/files/patch-ogle.in
+++ b/multimedia/ogle/files/patch-ogle.in
@@ -5,7 +5,7 @@
DVDP_UI=$DVDP_ROOT/ogle_gui$gui_debug
else
-DVDP_UI=$exec_prefix/bin/ogle_gui$gui_debug
-+DVDP_UI=%%X11BASE%%/lib/ogle/ogle_gui$gui_debug
++DVDP_UI=%%LOCALBASE%%/lib/ogle/ogle_gui$gui_debug
fi
fi
export DVDP_UI