aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/gstreamer-player/Makefile
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2003-05-11 10:28:55 +0800
committerlioux <lioux@FreeBSD.org>2003-05-11 10:28:55 +0800
commitde0e98590a4326a92a678b607ce761bc43d95377 (patch)
treeeee3bbea2714cca6757fedda90c6f44929ca135a /multimedia/gstreamer-player/Makefile
parentb7d496bdbf047ead8b605e75f6892a8dfb313dbf (diff)
downloadfreebsd-ports-gnome-de0e98590a4326a92a678b607ce761bc43d95377.tar.gz
freebsd-ports-gnome-de0e98590a4326a92a678b607ce761bc43d95377.tar.zst
freebsd-ports-gnome-de0e98590a4326a92a678b607ce761bc43d95377.zip
Add specific handling of and appropriate dependences for
libexec/gst-player-view binary Submitted by: marcus
Diffstat (limited to 'multimedia/gstreamer-player/Makefile')
-rw-r--r--multimedia/gstreamer-player/Makefile13
1 files changed, 12 insertions, 1 deletions
diff --git a/multimedia/gstreamer-player/Makefile b/multimedia/gstreamer-player/Makefile
index 3bfddf0d7065..075b7658561b 100644
--- a/multimedia/gstreamer-player/Makefile
+++ b/multimedia/gstreamer-player/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gstreamer
PORTVERSION= 0.5.1
+PORTREVISION= 1
CATEGORIES= multimedia audio gnome
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -32,6 +33,7 @@ USE_GNOME= gnomehack \
USE_LIBTOOL= yes
USE_REINPLACE= yes
CONFIGURE_ENV= PKG_CONFIG=${PKG_CONFIG}
+WANT_GNOME= yes
PLIST_SUB= \
VERSION="${PORTVERSION}" \
SHLIB_VERSION="${SHLIB_VERSION}"
@@ -48,4 +50,13 @@ pre-install:
# required for PREFIX safeness, the dir might not exist under PREFIX
@${MKDIR} ${PREFIX}/etc/gconf/
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${HAVE_GNOME:Mnautilus2}!=""
+USE_GNOME+= nautilus2
+PLIST_SUB+= GST_PLAYER_VIEW=""
+.else
+PLIST_SUB+= GST_PLAYER_VIEW="@comment "
+.endif
+
+.include <bsd.port.post.mk>