From owner-freebsd-ports Fri Jul 12 12:31:19 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9ABD137B40A for ; Fri, 12 Jul 2002 12:30:09 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F33143E99 for ; Fri, 12 Jul 2002 12:30:07 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g6CJU7JU085798 for ; Fri, 12 Jul 2002 12:30:07 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g6CJU7HA085797; Fri, 12 Jul 2002 12:30:07 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0E7CB37B400 for ; Fri, 12 Jul 2002 12:24:52 -0700 (PDT) Received: from www.freebsd.org (www.FreeBSD.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id BDD8143E58 for ; Fri, 12 Jul 2002 12:24:51 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.4/8.12.4) with ESMTP id g6CJOpOT006296 for ; Fri, 12 Jul 2002 12:24:51 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.4/8.12.4/Submit) id g6CJOp8e006295; Fri, 12 Jul 2002 12:24:51 -0700 (PDT) Message-Id: <200207121924.g6CJOp8e006295@www.freebsd.org> Date: Fri, 12 Jul 2002 12:24:51 -0700 (PDT) From: KATO Tsuguru To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: ports/40501: Update port: graphics/xtheater Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 40501 >Category: ports >Synopsis: Update port: graphics/xtheater >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Jul 12 12:30:06 PDT 2002 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: 4.6-RELEASE i386 >Organization: >Environment: >Description: - Fix PORTVERSION - Fix LIB_DEPENDS - GNU_CONFIGURE -> USE_LIBTOOL Remove file: files/patch-smpeg::Makefile.in >How-To-Repeat: >Fix: diff -urN /usr/ports/graphics/xtheater/Makefile graphics/xtheater/Makefile --- /usr/ports/graphics/xtheater/Makefile Wed Jun 26 22:08:40 2002 +++ graphics/xtheater/Makefile Fri Jul 12 20:35:33 2002 @@ -7,27 +7,41 @@ # PORTNAME= xtheater -PORTVERSION= 1.0.0p1 +PORTVERSION= 1.0.0.p1 +PORTEPOCH= 1 CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} -DISTNAME= Xtheater-${PORTVERSION:S/p/-pre/} +DISTNAME= Xtheater-${PORTVERSION:S/.p/-pre/} MAINTAINER= ports@FreeBSD.org -LIB_DEPENDS= SDL-1.1:${PORTSDIR}/devel/sdl12 \ - smpeg:${PORTSDIR}/graphics/smpeg \ - aviplay-0.7:${PORTSDIR}/graphics/avifile +LIB_DEPENDS= SDL-1.1.4:${PORTSDIR}/deve/sdl12 \ + smpeg.1:${PORTSDIR}/graphics/smpeg + +SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config USE_BZIP2= yes -USE_XLIB= yes USE_GTK= yes USE_MESA= yes -SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config -GNU_CONFIGURE= yes -CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" \ - CPPFLAGS="${CXXFLAGS} -I${LOCALBASE} ${PTHREAD_CFLAGS}" \ - LDFLAGS="-L${LOCALBASE} ${PTHREAD_LIBS}" +USE_REINPLACE= yes USE_GMAKE= yes +USE_LIBTOOL= yes +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \ + SDL_CONFIG="${SDL_CONFIG}" +CONFIGURE_ARGS= --enable-gl + +CPPFLAGS= -I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS} +LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS} + +post-patch: + @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ + 's|[(]prefix[)]/Xtheater|(libdir)/Xtheater|g ; \ + s|-release.*$$|-module -avoid-version|g' + @${REINPLACE_CMD} -e 's|PREFIX/Xtheater|PREFIX/lib/Xtheater|g' \ + ${WRKSRC}/Xtheater.conf +.for file in plugins/player/smpeg/glscreen.c plugins/player/wm/glscreen.c + @${REINPLACE_CMD} -e 's|||g' ${WRKSRC}/${file} +.endfor .include diff -urN /usr/ports/graphics/xtheater/files/patch-smpeg::Makefile.in graphics/xtheater/files/patch-smpeg::Makefile.in --- /usr/ports/graphics/xtheater/files/patch-smpeg::Makefile.in Sat Jun 8 23:31:36 2002 +++ graphics/xtheater/files/patch-smpeg::Makefile.in Thu Jan 1 09:00:00 1970 @@ -1,11 +0,0 @@ ---- plugins/player/smpeg/Makefile.in.orig Sat Jun 8 02:47:41 2002 -+++ plugins/player/smpeg/Makefile.in Sat Jun 8 02:47:57 2002 -@@ -94,7 +94,7 @@ - @USE_GL_TRUE@GL_LIBS = -lGL -lGLU - @USE_GL_FALSE@GL_LIBS = - LIBS = $(SMPEG_LIBS) $(GL_LIBS) --INCLUDES = -I.. $(SMPEG_CFLAGS) $(GLIB_CFLAGS) -+INCLUDES = -I.. $(SMPEG_CFLAGS) $(GLIB_CFLAGS) -I${X11BASE}/include - mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs - CONFIG_HEADER = ../../../config.h - CONFIG_CLEAN_FILES = diff -urN /usr/ports/graphics/xtheater/pkg-plist graphics/xtheater/pkg-plist --- /usr/ports/graphics/xtheater/pkg-plist Sat Jun 8 23:31:35 2002 +++ graphics/xtheater/pkg-plist Fri Jul 12 06:12:29 2002 @@ -1,13 +1,7 @@ bin/xtheater -Xtheater/player/libsmpeg-1.0.0-pre1.so -Xtheater/player/libsmpeg.a -Xtheater/player/libsmpeg.la -Xtheater/player/libsmpeg.so -Xtheater/ui/libgtkui-1.0.0-pre1.so -Xtheater/ui/libgtkui.a -Xtheater/ui/libgtkui.la -Xtheater/ui/libgtkui.so -Xtheater/config -@dirrm Xtheater/player -@dirrm Xtheater/ui -@dirrm Xtheater +lib/Xtheater/config +lib/Xtheater/player/libsmpeg.so +lib/Xtheater/ui/libgtkui.so +@dirrm lib/Xtheater/ui +@dirrm lib/Xtheater/player +@dirrm lib/Xtheater >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message