aboutsummaryrefslogtreecommitdiff
path: root/multimedia/phonon-gstreamer
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2013-02-04 16:18:24 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2013-02-04 16:18:24 +0000
commit5561ab9dd9a4ded52f37739083dbb51438d45066 (patch)
tree73221b138108219ae9b51d40bdce2b1cdd6539db /multimedia/phonon-gstreamer
parent9b947220ddd549862b50feae44b632072f2caa09 (diff)
downloadports-5561ab9dd9a4ded52f37739083dbb51438d45066.tar.gz
ports-5561ab9dd9a4ded52f37739083dbb51438d45066.zip
Merge from area51 repository:
- Trip Makefile header - Convert to new options framework / rename option
Notes
Notes: svn path=/head/; revision=311634
Diffstat (limited to 'multimedia/phonon-gstreamer')
-rw-r--r--multimedia/phonon-gstreamer/Makefile14
1 files changed, 6 insertions, 8 deletions
diff --git a/multimedia/phonon-gstreamer/Makefile b/multimedia/phonon-gstreamer/Makefile
index 01611745b852..903d97bdd71a 100644
--- a/multimedia/phonon-gstreamer/Makefile
+++ b/multimedia/phonon-gstreamer/Makefile
@@ -1,7 +1,4 @@
-# New ports collection Makefile for: phonon
-# Date created: 2008-01-30
-# Whom: Martin Wilke <miwi@FreeBSD.org>
-#
+# Created by: Martin Wilke <miwi@FreeBSD.org>
# $FreeBSD$
PORTNAME= phonon
@@ -40,14 +37,15 @@ PLIST_SUB+= QT_PREFIX=${QT_PREFIX}
IGNORE= conflicts with Qt 4 Phonon. Please, deinstall qt4-phonon-gst and unset WITH_QT_PHONON to continue
.endif
-OPTIONS_DEFINE= PLUGINS
-PLUGINS_DESC= Install GStreamer plugins
+OPTIONS_DEFINE= GST_PLUGINS
+
+GST_PLUGINS_DESC= Install GStreamer plugins
OPTIONS_DEFAULT=
.include <bsd.port.options.mk>
-.if ${PORT_OPTIONS:MPLUGINS}
+.if ${PORT_OPTIONS:MGST_PLUGINS}
RUN_DEPENDS+= gstreamer-plugins-all>=0:${PORTSDIR}/multimedia/gstreamer-plugins-all
.else
SUB_FILES= pkg-message
@@ -59,7 +57,7 @@ pre-su-install:
post-install:
${LN} -sf ${PREFIX}/lib/kde4/plugins/phonon_backend/phonon_gstreamer.so \
${QT_PLUGINDIR}/phonon_backend/libphonon_gstreamer.so
-.if empty(PORT_OPTIONS:MPLUGINS)
+.if ! ${PORT_OPTIONS:MGST_PLUGINS}
@${CAT} ${PKGMESSAGE}
.endif