From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Feb 2 07:01:13 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5292016A4CE for ; Mon, 2 Feb 2004 07:01:13 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 71B3A43D5A for ; Mon, 2 Feb 2004 07:00:38 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i12F0bFR071972 for ; Mon, 2 Feb 2004 07:00:37 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i12F0bUh071971; Mon, 2 Feb 2004 07:00:37 -0800 (PST) (envelope-from gnats) Resent-Date: Mon, 2 Feb 2004 07:00:37 -0800 (PST) Resent-Message-Id: <200402021500.i12F0bUh071971@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, KATO Tsuguru Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 56AF716A4CF for ; Mon, 2 Feb 2004 06:51:32 -0800 (PST) Received: from hfep03.dion.ne.jp (hfep03.dion.ne.jp [203.181.105.69]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A1BA43D1F for ; Mon, 2 Feb 2004 06:51:30 -0800 (PST) (envelope-from tkato@prontomail.com) Received: from localhost ([218.222.54.205]) by hfep03.dion.ne.jp with SMTP id <20040202145126189.DBLS@hfep03.dion.ne.jp> for ; Mon, 2 Feb 2004 23:51:26 +0900 Message-Id: <20040202235027.7a22deab.tkato@prontomail.com> Date: Mon, 2 Feb 2004 23:50:27 +0900 From: KATO Tsuguru To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/62263: Update port: emulators/gngb to 20040115 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Feb 2004 15:01:13 -0000 >Number: 62263 >Category: ports >Synopsis: Update port: emulators/gngb to 20040115 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Feb 02 07:00:37 PST 2004 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 4.9-RELEASE-p1 i386 >Organization: >Environment: >Description: - Update to version 20040115 Remove file: pkg-plist >How-To-Repeat: >Fix: diff -urN /usr/ports/emulators/gngb/Makefile emulators/gngb/Makefile --- /usr/ports/emulators/gngb/Makefile Sat Jan 24 13:45:53 2004 +++ emulators/gngb/Makefile Mon Feb 2 18:20:59 2004 @@ -6,48 +6,44 @@ # PORTNAME= gngb -PORTVERSION= 20030809 +PORTVERSION= 20040115 CATEGORIES= emulators -MASTER_SITES= http://membres.lycos.fr/frogus/gngb/download/ \ - http://m.peponas.free.fr/gngb/download/ -DISTNAME= ${PORTNAME}-${PORTVERSION} +MASTER_SITES= http://m.peponas.free.fr/gngb/download/ MAINTAINER= ports@FreeBSD.org COMMENT= GameBoy(tm) emulator +USE_X_PREFIX= yes USE_SDL= sdl -GNU_CONFIGURE= yes +USE_GETOPT_LONG= yes USE_REINPLACE= yes USE_GMAKE= yes -USE_GETOPT_LONG=yes -USE_XLIB= yes -USE_X_PREFIX= yes -CONFIGURE_ENV= CFLAGS="-I${X11BASE}/include" \ - LDFLAGS="-L${X11BASE}/lib" -PORT_CFLAGS= -DSDL_YUV -I${LOCALBASE}/include -I${LOCALBASE}/include/SDL11 -I${X11BASE}/include +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" + +PLIST_FILES= bin/gngb + +CPPFLAGS= -I${LOCALBASE}/include -I${X11BASE}/include +LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib -pre-everything:: -.if !defined(WITH_OPTIMIZED_CFLAGS) - @${ECHO_MSG} "You can enable additional compilation optimizations" - @${ECHO_MSG} "by defining WITH_OPTIMIZED_CFLAGS" -.endif .if defined(WITH_GL) -CONFIGURE_ARGS= --with-gl -PORT_CFLAGS+= -DSDL_GL +USE_GL= yes .else +CONFIGURE_ARGS+= --disable-gl +.endif + +pre-everything:: +.if !defined(WITH_GL) @${ECHO_MSG} @${ECHO_MSG} "You can enable OpenGL support by defining WITH_GL" @${ECHO_MSG} .endif -pre-configure: - @${REINPLACE_CMD} -e 's|sdl-config|sdl11-config|g; \ - s|-lSDL|-lSDL-1.1|g; \ - s|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure - -post-configure: -.if !defined(WITH_OPTIMIZED_CFLAGS) - @${REINPLACE_CMD} -e 's|\(CFLAGS =\).*|\1 ${PORT_CFLAGS} ${CFLAGS}|' ${WRKSRC}/src/Makefile -.endif +post-patch: + @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ + s|"$$SDL_CONFIG" = yes|-n "$$SDL_CONFIG"|g ; \ + s|sdl-config |$$SDL_CONFIG |g ; \ + s|-lSDL|-lSDL-1.1|g ; \ + s|$$OPT||g' ${WRKSRC}/configure .include diff -urN /usr/ports/emulators/gngb/distinfo emulators/gngb/distinfo --- /usr/ports/emulators/gngb/distinfo Thu Jan 29 20:24:50 2004 +++ emulators/gngb/distinfo Mon Feb 2 18:01:17 2004 @@ -1,2 +1 @@ -MD5 (gngb-20030809.tar.gz) = 4582a4315d442f398c106d236a581d53 -SIZE (gngb-20030809.tar.gz) = 134892 +MD5 (gngb-20040115.tar.gz) = 64b2c58df2512852baa87c9a9f57c53f diff -urN /usr/ports/emulators/gngb/pkg-descr emulators/gngb/pkg-descr --- /usr/ports/emulators/gngb/pkg-descr Mon Nov 3 20:13:18 2003 +++ emulators/gngb/pkg-descr Mon Feb 2 17:57:40 2004 @@ -1,3 +1,3 @@ GameBoy(tm) emulator -WWW: http://membres.lycos.fr/frogus/gngb.html +WWW: http://m.peponas.free.fr/gngb/ diff -urN /usr/ports/emulators/gngb/pkg-plist emulators/gngb/pkg-plist --- /usr/ports/emulators/gngb/pkg-plist Sun Apr 22 10:40:55 2001 +++ emulators/gngb/pkg-plist Thu Jan 1 09:00:00 1970 @@ -1 +0,0 @@ -bin/gngb >Release-Note: >Audit-Trail: >Unformatted: