Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Nov 2000 20:17:18 +0100 (CET)
From:      olgeni@uli.it
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/23050: unofficial xmame port update (0.37b7.1)
Message-ID:  <200011231917.eANJHIW16096@olgeni.localdomain.net>

next in thread | raw e-mail | index | archive | help

>Number:         23050
>Category:       ports
>Synopsis:       unofficial xmame port update (0.37b7.1)
>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:   Thu Nov 23 11:20:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Jimmy Olgeni
>Release:        FreeBSD 4.2-STABLE i386
>Organization:
Colby
>Environment:

FreeBSD olgeni.localdomain.net 4.2-STABLE FreeBSD 4.2-STABLE #0: Thu Nov 23 00:16:27 CET 2000     root@olgeni.localdomain.net:/usr/obj/usr/src/sys/BSDBOX  i386

>Description:

There is a new version of xmame. Plus, the current xmame port needed some
Makefile and pkg-plist fixes anyway (NOPORTDOCS support).

This patch updates the port to version 0.37b7.1 and fixes some problems.
Maintainer (c9710216@studentmail.newcastle.edu.au) has been notified on 
5 Nov 2000, but no answer yet.

So, here it goes, and happy playing.

Makefile:

	* Changed PORTVERSION and PORTREVISION

	* Updated XMAMEDOCS with new documentation available in this release

	post-patch:

		Fixed ${SED} regular expression: s?= -> ?=

distinfo:

	* Update tarball checksum (new release)

patch-aa:

	* Add support for inline functions (helps performance)

patch-ab:

	* Support %%PREFIX%% for new data files

patch-aj:

	* Install the correct man page (xmame.man -> xmame.6)

pkg-plist:

	* Support %%PORTDOCS%% hint

>How-To-Repeat:
>Fix:

diff -ruN xmame.orig/Makefile xmame/Makefile
--- xmame.orig/Makefile	Sun Aug 20 08:33:05 2000
+++ xmame/Makefile	Sun Nov  5 16:56:00 2000
@@ -6,7 +6,8 @@
 #
 
 PORTNAME=	xmame
-PORTVERSION=	0.37b5.1
+PORTVERSION=	0.37b7.1
+PORTREVISION=	0
 CATEGORIES=	emulators
 MASTER_SITES=	http://x.mame.net/download/ \
 		ftp://ftp.kaupp.cx/pub/xmame/ \
@@ -22,9 +23,12 @@
 
 MAN6=		xmame.6
 
-XMAMEDOCS=	changes.mame changes.unix credits.unix leeme.unix \
-		liesmich.unix maillist.txt multiplayer-readme.txt \
-		readme.fx readme.mame readme.unix readme.xgl todo
+XMAMEDOCS=	changes.mame changes.unix gamelist.mame \
+		imgtool.txt liesmich.unix multiplayer-readme.txt \
+		readme.mame todo xmame-doc-1.html xmame-doc-2.html \
+		xmame-doc-3.html xmame-doc-4.html xmame-doc-5.html \
+		xmame-doc-6.html xmame-doc-7.html xmame-doc.html \
+		xmame-doc.lyx xmame-doc.ps xmame-doc.sgml xmame-doc.txt
 
 .if !defined(NOPORTDOCS)
 PLIST_SUB+=	PORTDOCS=""
@@ -37,7 +41,7 @@
 post-patch:
 	${PERL} -pi -e "s@%%PREFIX%%@${PREFIX}@g" ${WRKSRC}/doc/xmamerc.dist
 	@${CP} ${WRKSRC}/makefile.unix ${WRKSRC}/makefile.unix.sed
-	${SED} -e "s@= gcc@?=  ${CC}@g" -e "s@= -O -Wall@s?=  ${CFLAGS}@g" \
+	${SED} -e "s@= gcc@?=  ${CC}@g" -e "s@= -O -Wall@?=  ${CFLAGS}@g" \
 		-e "s@= cp@?=  ${INSTALL} ${COPY}@g" -e "s@/usr/games@${PREFIX}/bin@g" \
 		-e "s@/usr/local/man/man6@${PREFIX}/man/man6@g" \
 		-e "s@/usr/games/lib/\$\(NAME\)@${PREFIX}/share/\$\(NAME\)@g" \
diff -ruN xmame.orig/distinfo xmame/distinfo
--- xmame.orig/distinfo	Sun Aug 20 05:15:36 2000
+++ xmame/distinfo	Sun Nov  5 15:28:44 2000
@@ -1 +1 @@
-MD5 (xmame-0.37b5.1.tgz) = f534d9157e6f922a98af670c93fb28e5
+MD5 (xmame-0.37b7.1.tgz) = 3d856af670f8934e1c5f4bdffd902e35
diff -ruN xmame.orig/files/patch-aa xmame/files/patch-aa
--- xmame.orig/files/patch-aa	Thu Jan  1 01:00:00 1970
+++ xmame/files/patch-aa	Sun Nov  5 15:56:31 2000
@@ -0,0 +1,13 @@
+--- makefile.unix.orig	Sun Nov  5 15:55:59 2000
++++ makefile.unix	Sun Nov  5 15:56:14 2000
+@@ -90,8 +90,8 @@
+ # if strict ansi used set IL to "static"
+ # This can very noticably increase xmame's performance, so enabling this is
+ # encouraged, it works fine with gcc and probably with most other compilers.
+-# IL	= '-DINLINE=static inline'
+-IL     = -DINLINE=static
++IL	= '-DINLINE=static inline'
++# IL     = -DINLINE=static
+ 
+ # *** Choose your linker & linker flags ( some OS's needs native linker
+ # instead GNU one )
diff -ruN xmame.orig/files/patch-ab xmame/files/patch-ab
--- xmame.orig/files/patch-ab	Sat Nov  4 13:04:27 2000
+++ xmame/files/patch-ab	Sun Nov  5 15:32:35 2000
@@ -1,15 +1,15 @@
---- doc/xmamerc.dist.orig	Sat Apr  8 00:24:47 2000
-+++ doc/xmamerc.dist	Wed May  3 21:00:00 2000
+--- doc/xmamerc.dist.orig	Sun Nov  5 15:30:02 2000
++++ doc/xmamerc.dist	Sun Nov  5 15:32:12 2000
 @@ -60,7 +60,7 @@
  samples                 1
  samplefreq              22050
- bufsize                 2.000000
+ bufsize                 3.000000
 -volume                  -3
 +volume                  -13
  # audiodevice           <NULL> (not set)
  # mixerdevice           <NULL> (not set)
  
-@@ -70,12 +70,12 @@
+@@ -70,13 +70,13 @@
  mouse                   1
  
  ### Fileio Related ###
@@ -19,9 +19,11 @@
 +spooldir                %%PREFIX%%/share/xmame/hi
  screenshotdir           .
 -cheatfile               /usr/games/lib/xmame/cheat.dat
+-hiscorefile             /usr/games/lib/xmame/hiscore.dat
 -historyfile             /usr/games/lib/xmame/history.dat
 -mameinfofile            /usr/games/lib/xmame/mameinfo.dat
 +cheatfile               %%PREFIX%%/share/xmame/cheat.dat
++hiscorefile             %%PREFIX%%/share/xmame/hiscore.dat
 +historyfile             %%PREFIX%%/share/xmame/history.dat
 +mameinfofile            %%PREFIX%%/share/xmame/mameinfo.dat
  
diff -ruN xmame.orig/files/patch-aj xmame/files/patch-aj
--- xmame.orig/files/patch-aj	Thu Jan  1 01:00:00 1970
+++ xmame/files/patch-aj	Sun Nov  5 16:12:52 2000
@@ -0,0 +1,11 @@
+--- src/unix/unix.mak.orig	Sun Nov  5 16:12:08 2000
++++ src/unix/unix.mak	Sun Nov  5 16:12:17 2000
+@@ -309,7 +309,7 @@
+ install-man:
+ 	@echo installing manual pages under $(MANDIR) ...
+ 	-mkdir $(MANDIR)
+-	$(INSTALL) doc/xmame.man $(MANDIR)/xmame.6
++	$(INSTALL) doc/xmame.6 $(MANDIR)/xmame.6
+ 
+ doinstall:
+ 	@echo installing binaries under $(DESTDIR)...
diff -ruN xmame.orig/pkg-plist xmame/pkg-plist
--- xmame.orig/pkg-plist	Sun Nov  5 15:50:05 2000
+++ xmame/pkg-plist	Sun Nov  5 15:51:07 2000
@@ -1,21 +1,29 @@
 bin/xmame
 share/xmame/xmamerc
-share/doc/xmame/changes.mame
-share/doc/xmame/changes.unix
-share/doc/xmame/credits.unix
-share/doc/xmame/leeme.unix
-share/doc/xmame/liesmich.unix
-share/doc/xmame/maillist.txt
-share/doc/xmame/multiplayer-readme.txt
-share/doc/xmame/readme.fx
-share/doc/xmame/readme.mame
-share/doc/xmame/readme.unix
-share/doc/xmame/readme.xgl
-share/doc/xmame/todo
+%%PORTDOCS%%share/doc/xmame/changes.mame             
+%%PORTDOCS%%share/doc/xmame/changes.unix      
+%%PORTDOCS%%share/doc/xmame/gamelist.mame      
+%%PORTDOCS%%share/doc/xmame/imgtool.txt     
+%%PORTDOCS%%share/doc/xmame/liesmich.unix                
+%%PORTDOCS%%share/doc/xmame/multiplayer-readme.txt         
+%%PORTDOCS%%share/doc/xmame/readme.mame                   
+%%PORTDOCS%%share/doc/xmame/todo  
+%%PORTDOCS%%share/doc/xmame/xmame-doc-1.html
+%%PORTDOCS%%share/doc/xmame/xmame-doc-2.html
+%%PORTDOCS%%share/doc/xmame/xmame-doc-3.html
+%%PORTDOCS%%share/doc/xmame/xmame-doc-4.html
+%%PORTDOCS%%share/doc/xmame/xmame-doc-5.html
+%%PORTDOCS%%share/doc/xmame/xmame-doc-6.html
+%%PORTDOCS%%share/doc/xmame/xmame-doc-7.html 
+%%PORTDOCS%%share/doc/xmame/xmame-doc.html
+%%PORTDOCS%%share/doc/xmame/xmame-doc.lyx
+%%PORTDOCS%%share/doc/xmame/xmame-doc.ps
+%%PORTDOCS%%share/doc/xmame/xmame-doc.sgml
+%%PORTDOCS%%share/doc/xmame/xmame-doc.txt
 @exec mkdir -p %D/share/xmame/hi
 @exec mkdir -p %D/share/xmame/roms
 @exec chmod 777 %D/share/xmame/hi
 @unexec rmdir %D/share/xmame/roms 2>/dev/null || true
 @unexec rmdir %D/share/xmame/hi 2>/dev/null || true
 @unexec rmdir %D/share/xmame 2>/dev/null || true
-@dirrm share/doc/xmame
+%%PORTDOCS%%@dirrm share/doc/xmame

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200011231917.eANJHIW16096>