summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorDaichi GOTO <daichi@FreeBSD.org>2003-07-15 06:21:44 +0000
committerDaichi GOTO <daichi@FreeBSD.org>2003-07-15 06:21:44 +0000
commit11a2f83d3b1baab10ce34ce74bc22a555adfd876 (patch)
tree6f0f7336bf59c89b01f71e3b5b96467cc50bf4f5 /multimedia
parentfix net/ossp-sa: (diff)
update multimedia/smpeg:
- add WITHOUT_GUI knob to multimedia/smpeg PR: 54304 Submitted by: Josh Elsasser <jre@vineyard.net> Pointed out by: KATO Tsuguru <tkato@prontomail.com>
Notes
Notes: svn path=/head/; revision=84905
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/smpeg/Makefile15
-rw-r--r--multimedia/smpeg/pkg-plist2
2 files changed, 13 insertions, 4 deletions
diff --git a/multimedia/smpeg/Makefile b/multimedia/smpeg/Makefile
index c787f81ac124..1786163bae48 100644
--- a/multimedia/smpeg/Makefile
+++ b/multimedia/smpeg/Makefile
@@ -21,8 +21,9 @@ LIB_DEPENDS= SDL-1.1.5:${PORTSDIR}/devel/sdl12
SDL_CONFIG= ${LOCALBASE}/bin/sdl11-config
+WANT_GNOME= yes
+USE_REINPLACE= yes
USE_GMAKE= yes
-USE_GNOME= gtk12
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" \
@@ -37,8 +38,16 @@ CONFIGURE_ARGS= --disable-opengl-player \
MAN1= gtv.1 plaympeg.1
+.include <bsd.port.pre.mk>
+
+.if ${HAVE_GNOME:Mgtk12}!=""
+USE_GNOME+= gtk12
+.else
+CONFIGURE_ARGS+= --disable-gtk-player
+.endif
+
post-configure:
- @${PERL} -pi -e 's|^deplibs_check_method=.*|deplibs_check_method=pass_all|' \
+ @${REINPLACE_CMD} -e 's|^deplibs_check_method=.*|deplibs_check_method=pass_all|' \
${WRKSRC}/libtool
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/multimedia/smpeg/pkg-plist b/multimedia/smpeg/pkg-plist
index 3539e10eca7a..145e0e794a2c 100644
--- a/multimedia/smpeg/pkg-plist
+++ b/multimedia/smpeg/pkg-plist
@@ -1,4 +1,4 @@
-bin/gtv
+%%GNOME:%%bin/gtv
bin/plaympeg
bin/smpeg-config
include/smpeg/MPEG.h