diff options
author | daichi <daichi@FreeBSD.org> | 2003-07-15 14:21:44 +0800 |
---|---|---|
committer | daichi <daichi@FreeBSD.org> | 2003-07-15 14:21:44 +0800 |
commit | 9223cbd74aced050ae6cf137de816bc10b1ba642 (patch) | |
tree | 5b0b6a098a9c05487b6e4a287585d72c4e279cdd /multimedia | |
parent | 74273f22e32fc84a3e8058f4f47c6901c4e7f9a3 (diff) | |
download | freebsd-ports-gnome-9223cbd74aced050ae6cf137de816bc10b1ba642.tar.gz freebsd-ports-gnome-9223cbd74aced050ae6cf137de816bc10b1ba642.tar.zst freebsd-ports-gnome-9223cbd74aced050ae6cf137de816bc10b1ba642.zip |
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>
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/smpeg/Makefile | 15 | ||||
-rw-r--r-- | multimedia/smpeg/pkg-plist | 2 |
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 |