diff options
author | Daichi GOTO <daichi@FreeBSD.org> | 2003-07-15 06:21:44 +0000 |
---|---|---|
committer | Daichi GOTO <daichi@FreeBSD.org> | 2003-07-15 06:21:44 +0000 |
commit | 11a2f83d3b1baab10ce34ce74bc22a555adfd876 (patch) | |
tree | 6f0f7336bf59c89b01f71e3b5b96467cc50bf4f5 /multimedia | |
parent | fix 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/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 |