ports/62263: Update port: emulators/gngb to 20040115
KATO Tsuguru
tkato at prontomail.com
Mon Feb 2 15:01:13 UTC 2004
>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 at 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 <bsd.port.mk>
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:
More information about the freebsd-ports-bugs
mailing list