- Update to version 0.113.

Reported by:	distfiles survey
This commit is contained in:
Alejandro Pulver 2007-04-09 02:18:39 +00:00
parent bde3179b80
commit 316d9f5259
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=189535
8 changed files with 194 additions and 68 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= sdlmess
PORTVERSION= 0.112
PORTVERSION= 0.113
CATEGORIES= emulators
MASTER_SITES= http://rbelmont.mameworld.info/
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//}
@ -25,7 +25,8 @@ SUB_FILES= ${PORTNAME} pkg-message
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin
${MKDIR} ${PREFIX}/libexec/${PORTNAME}
.for f in chdman file2str imgtool messdocs messtest sdlmess
.for f in obj/sdlmess/file2str sdlmess testkeys dat2html messtest messdocs \
imgtool romcmp chdman jedutil makemeta regrep
${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/libexec/${f:S/sdl//}
.endfor
${MKDIR} ${DATADIR}

View File

@ -1,3 +1,3 @@
MD5 (sdlmess0112.zip) = 9c5c09527cd5ba5863204a87b1a0db9b
SHA256 (sdlmess0112.zip) = 2c60d49d3583a0e6dadc5fa71f0cc2fb927b3885c610ec3599a2f3cc4a1c14d7
SIZE (sdlmess0112.zip) = 25600058
MD5 (sdlmess0113.zip) = d73b55eda07d0615a558f767c440546f
SHA256 (sdlmess0113.zip) = b5228907ea9b335573f7d5a88a7a98d7637b39dfb138ed8c0bda87621c6cb0af
SIZE (sdlmess0113.zip) = 28302634

View File

@ -1,18 +1,18 @@
--- ./makefile.sdl.orig Wed Feb 7 15:35:34 2007
+++ ./makefile.sdl Fri Feb 23 01:26:06 2007
@@ -37,7 +37,7 @@
#
# for SDLMESS, set this to linux or macosx (lowercase is important!)
#
--- ./makefile.sdl.orig Fri Mar 9 01:10:42 2007
+++ ./makefile.sdl Sun Apr 8 20:07:08 2007
@@ -52,7 +52,7 @@
# for SDLMAME, set this to linux, freebsd, win32, or macosx (lowercase is important!)
#------------------------------------------------------------------------------------
-SUBARCH = linux
+SUBARCH = freebsd
#-------------------------------------------------
@@ -48,11 +48,13 @@
@@ -63,11 +63,13 @@
# uncomment next line to include the debugger
# DEBUG = 1
#DEBUG = 1
+ifeq ($(ARCH),i386)
# uncomment next line to use DRC MIPS3 engine
X86_MIPS3_DRC = 1
@ -23,22 +23,40 @@
#-------------------------------------------------
# specify build options; see each option below
@@ -155,8 +157,8 @@
@@ -128,17 +130,6 @@
PPC = 1
endif
-ifdef PPC
-X86_MIPS3_DRC =
-X86_PPC_DRC =
-endif
-
-# disable DRC cores for 64-bit builds
-ifdef PTR64
-X86_MIPS3_DRC =
-X86_PPC_DRC =
-endif
-
# Mac builds always need EXPAT and ZLIB built
ifeq ($(SUBARCH),macosx)
BUILD_EXPAT = 1
@@ -174,8 +165,8 @@
# compiler, linker and utilities
AR = @ar
-CC = @gcc
-LD = gcc
-LD = @gcc
+CC := @$(CC)
+LD = $(CC)
MD = -mkdir
RM = @rm -f
@@ -167,49 +169,8 @@
#-------------------------------------------------
@@ -191,49 +182,8 @@
endif
# by default, don't compile for a specific target CPU
-NAME = sdl$(PREFIX)$(TARGET)
-NAME = $(PREFIX)$(TARGET)
-ARCH =
-
-# architecture-specific builds get extra options
@ -85,16 +103,54 @@
# debug builds just get the 'd' suffix and nothing more
ifdef DEBUG
@@ -255,7 +216,7 @@
MESSTEST = messtest$(EXE)
MESSDOCS = messdocs$(EXE)
@@ -253,18 +203,22 @@
# compile-time definitions
#-------------------------------------------------
-CFLAGS = $(OPT_FLAGS) -std=gnu89 -Imess -Isrc -Isrc/includes -Isrc/$(MAMEOS) -I$(OBJ)/mess/layout -I$(OBJ)/layout -Imess/$(MAMEOS)
+CFLAGS += $(OPT_FLAGS) -std=gnu89 -Imess -Isrc -Isrc/includes -Isrc/$(MAMEOS) -I$(OBJ)/mess/layout -I$(OBJ)/layout -Imess/$(MAMEOS) -I$(LOCALBASE)/include -I$(X11BASE)/include
-ifdef PPC
-DEFS = -DPPC_ASM -DINLINE="static __inline__" -Dasm=__asm__ -DPI=M_PI -Dstrnicmp=strncasecmp -D_scalb=scalb -DCRLF=2 -DGL_GLEXT_PROTOTYPES=1 -Dbool=int
-else
-ifdef PTR64
DEFS = -DLSB_FIRST -DINLINE="static __inline__" -Dasm=__asm__ -DPI=M_PI -Dstrnicmp=strncasecmp -D_scalb=scalb -DCRLF=2 -DGL_GLEXT_PROTOTYPES=1
-else
-DEFS = -DX86_ASM -DLSB_FIRST -DINLINE="static __inline__" -Dasm=__asm__ -DPI=M_PI -Dstrnicmp=strncasecmp -D_scalb=scalb -DCRLF=2 -DGL_GLEXT_PROTOTYPES=1
+
+ifeq ($(ARCH),i386)
+DEFS += -DX86_ASM
+endif
+
+ifeq ($(ARCH),powerpc)
+DEFS += -DPPC_ASM -Dbool=int
endif
+
+ifneq ($(shell echo $(ARCH) | grep -v 64),)
+PTR64 = yes
endif
ifdef SYMBOLS
ifdef PPC
@@ -267,7 +228,7 @@
ifdef PTR64
-DEFS += -DPTR64
+DEFS += -DLSB_FIRST -DPTR64
endif
ifdef DEBUG
@@ -275,7 +229,7 @@
# compile and linking flags
#-------------------------------------------------
-CFLAGS = \
+CFLAGS += \
$(OPT_FLAGS) \
-std=gnu89 \
-I$(SRC)/$(TARGET) \
@@ -286,6 +240,7 @@
-I$(SRC)/lib/util \
-I$(SRC)/osd \
-I$(SRC)/osd/$(MAMEOS) \
+ -I$(LOCALBASE)/include -I$(X11BASE)/include
ifdef MESS
CFLAGS += \
@@ -304,7 +259,7 @@
endif # PPC
endif # SYMBOLS
@ -103,7 +159,7 @@
-Wall \
-Wpointer-arith \
-Wbad-function-cast \
@@ -279,7 +240,7 @@
@@ -316,7 +271,7 @@
-Wdeclaration-after-statement
ifneq ($(OPTIMIZE),0)
@ -112,22 +168,22 @@
endif
CFLAGS += -O$(OPTIMIZE)
@@ -287,11 +248,9 @@
@@ -329,11 +284,9 @@
# extra options needed *only* for the osd files
CFLAGSOSDEPEND = $(CFLAGS)
-LDFLAGS = -WO
+LDFLAGS += -WO -L$(LOCALBASE)/lib -L$(X11BASE)/lib
+LDFLAGS = -WO -L$(LOCALBASE)/lib -L$(X11BASE)/lib
-ifdef SYMBOLS
-LDFLAGS =
-LDFLAGS =
-else
+ifndef SYMBOLS
LDFLAGS += -s
endif
@@ -404,6 +363,10 @@
# add SDLMAME subarch definitions
@@ -402,6 +355,10 @@
ifeq ($(SUBARCH),linux)
CFLAGS += -DSDLMAME_LINUX
+endif
@ -136,4 +192,4 @@
+CFLAGS += -DSDLMAME_FREEBSD -DSDLMAME_NO64BITIO
endif
ifeq ($(SUBARCH),macosx)
ifeq ($(SUBARCH),freebsd)

View File

@ -1,10 +1,16 @@
bin/sdlmess
libexec/chdman
libexec/dat2html
libexec/file2str
libexec/imgtool
libexec/jedutil
libexec/makemeta
libexec/mess
libexec/messdocs
libexec/messtest
libexec/regrep
libexec/romcmp
libexec/testkeys
%%PORTDOCS%%%%DOCSDIR%%/SDLMESS.txt
%%PORTDOCS%%%%DOCSDIR%%/docs/credits.htm
%%PORTDOCS%%%%DOCSDIR%%/docs/faq.htm

View File

@ -6,7 +6,7 @@
#
PORTNAME= sdlmess
PORTVERSION= 0.112
PORTVERSION= 0.113
CATEGORIES= emulators
MASTER_SITES= http://rbelmont.mameworld.info/
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//}
@ -25,7 +25,8 @@ SUB_FILES= ${PORTNAME} pkg-message
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin
${MKDIR} ${PREFIX}/libexec/${PORTNAME}
.for f in chdman file2str imgtool messdocs messtest sdlmess
.for f in obj/sdlmess/file2str sdlmess testkeys dat2html messtest messdocs \
imgtool romcmp chdman jedutil makemeta regrep
${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/libexec/${f:S/sdl//}
.endfor
${MKDIR} ${DATADIR}

View File

@ -1,3 +1,3 @@
MD5 (sdlmess0112.zip) = 9c5c09527cd5ba5863204a87b1a0db9b
SHA256 (sdlmess0112.zip) = 2c60d49d3583a0e6dadc5fa71f0cc2fb927b3885c610ec3599a2f3cc4a1c14d7
SIZE (sdlmess0112.zip) = 25600058
MD5 (sdlmess0113.zip) = d73b55eda07d0615a558f767c440546f
SHA256 (sdlmess0113.zip) = b5228907ea9b335573f7d5a88a7a98d7637b39dfb138ed8c0bda87621c6cb0af
SIZE (sdlmess0113.zip) = 28302634

View File

@ -1,18 +1,18 @@
--- ./makefile.sdl.orig Wed Feb 7 15:35:34 2007
+++ ./makefile.sdl Fri Feb 23 01:26:06 2007
@@ -37,7 +37,7 @@
#
# for SDLMESS, set this to linux or macosx (lowercase is important!)
#
--- ./makefile.sdl.orig Fri Mar 9 01:10:42 2007
+++ ./makefile.sdl Sun Apr 8 20:07:08 2007
@@ -52,7 +52,7 @@
# for SDLMAME, set this to linux, freebsd, win32, or macosx (lowercase is important!)
#------------------------------------------------------------------------------------
-SUBARCH = linux
+SUBARCH = freebsd
#-------------------------------------------------
@@ -48,11 +48,13 @@
@@ -63,11 +63,13 @@
# uncomment next line to include the debugger
# DEBUG = 1
#DEBUG = 1
+ifeq ($(ARCH),i386)
# uncomment next line to use DRC MIPS3 engine
X86_MIPS3_DRC = 1
@ -23,22 +23,40 @@
#-------------------------------------------------
# specify build options; see each option below
@@ -155,8 +157,8 @@
@@ -128,17 +130,6 @@
PPC = 1
endif
-ifdef PPC
-X86_MIPS3_DRC =
-X86_PPC_DRC =
-endif
-
-# disable DRC cores for 64-bit builds
-ifdef PTR64
-X86_MIPS3_DRC =
-X86_PPC_DRC =
-endif
-
# Mac builds always need EXPAT and ZLIB built
ifeq ($(SUBARCH),macosx)
BUILD_EXPAT = 1
@@ -174,8 +165,8 @@
# compiler, linker and utilities
AR = @ar
-CC = @gcc
-LD = gcc
-LD = @gcc
+CC := @$(CC)
+LD = $(CC)
MD = -mkdir
RM = @rm -f
@@ -167,49 +169,8 @@
#-------------------------------------------------
@@ -191,49 +182,8 @@
endif
# by default, don't compile for a specific target CPU
-NAME = sdl$(PREFIX)$(TARGET)
-NAME = $(PREFIX)$(TARGET)
-ARCH =
-
-# architecture-specific builds get extra options
@ -85,16 +103,54 @@
# debug builds just get the 'd' suffix and nothing more
ifdef DEBUG
@@ -255,7 +216,7 @@
MESSTEST = messtest$(EXE)
MESSDOCS = messdocs$(EXE)
@@ -253,18 +203,22 @@
# compile-time definitions
#-------------------------------------------------
-CFLAGS = $(OPT_FLAGS) -std=gnu89 -Imess -Isrc -Isrc/includes -Isrc/$(MAMEOS) -I$(OBJ)/mess/layout -I$(OBJ)/layout -Imess/$(MAMEOS)
+CFLAGS += $(OPT_FLAGS) -std=gnu89 -Imess -Isrc -Isrc/includes -Isrc/$(MAMEOS) -I$(OBJ)/mess/layout -I$(OBJ)/layout -Imess/$(MAMEOS) -I$(LOCALBASE)/include -I$(X11BASE)/include
-ifdef PPC
-DEFS = -DPPC_ASM -DINLINE="static __inline__" -Dasm=__asm__ -DPI=M_PI -Dstrnicmp=strncasecmp -D_scalb=scalb -DCRLF=2 -DGL_GLEXT_PROTOTYPES=1 -Dbool=int
-else
-ifdef PTR64
DEFS = -DLSB_FIRST -DINLINE="static __inline__" -Dasm=__asm__ -DPI=M_PI -Dstrnicmp=strncasecmp -D_scalb=scalb -DCRLF=2 -DGL_GLEXT_PROTOTYPES=1
-else
-DEFS = -DX86_ASM -DLSB_FIRST -DINLINE="static __inline__" -Dasm=__asm__ -DPI=M_PI -Dstrnicmp=strncasecmp -D_scalb=scalb -DCRLF=2 -DGL_GLEXT_PROTOTYPES=1
+
+ifeq ($(ARCH),i386)
+DEFS += -DX86_ASM
+endif
+
+ifeq ($(ARCH),powerpc)
+DEFS += -DPPC_ASM -Dbool=int
endif
+
+ifneq ($(shell echo $(ARCH) | grep -v 64),)
+PTR64 = yes
endif
ifdef SYMBOLS
ifdef PPC
@@ -267,7 +228,7 @@
ifdef PTR64
-DEFS += -DPTR64
+DEFS += -DLSB_FIRST -DPTR64
endif
ifdef DEBUG
@@ -275,7 +229,7 @@
# compile and linking flags
#-------------------------------------------------
-CFLAGS = \
+CFLAGS += \
$(OPT_FLAGS) \
-std=gnu89 \
-I$(SRC)/$(TARGET) \
@@ -286,6 +240,7 @@
-I$(SRC)/lib/util \
-I$(SRC)/osd \
-I$(SRC)/osd/$(MAMEOS) \
+ -I$(LOCALBASE)/include -I$(X11BASE)/include
ifdef MESS
CFLAGS += \
@@ -304,7 +259,7 @@
endif # PPC
endif # SYMBOLS
@ -103,7 +159,7 @@
-Wall \
-Wpointer-arith \
-Wbad-function-cast \
@@ -279,7 +240,7 @@
@@ -316,7 +271,7 @@
-Wdeclaration-after-statement
ifneq ($(OPTIMIZE),0)
@ -112,22 +168,22 @@
endif
CFLAGS += -O$(OPTIMIZE)
@@ -287,11 +248,9 @@
@@ -329,11 +284,9 @@
# extra options needed *only* for the osd files
CFLAGSOSDEPEND = $(CFLAGS)
-LDFLAGS = -WO
+LDFLAGS += -WO -L$(LOCALBASE)/lib -L$(X11BASE)/lib
+LDFLAGS = -WO -L$(LOCALBASE)/lib -L$(X11BASE)/lib
-ifdef SYMBOLS
-LDFLAGS =
-LDFLAGS =
-else
+ifndef SYMBOLS
LDFLAGS += -s
endif
@@ -404,6 +363,10 @@
# add SDLMAME subarch definitions
@@ -402,6 +355,10 @@
ifeq ($(SUBARCH),linux)
CFLAGS += -DSDLMAME_LINUX
+endif
@ -136,4 +192,4 @@
+CFLAGS += -DSDLMAME_FREEBSD -DSDLMAME_NO64BITIO
endif
ifeq ($(SUBARCH),macosx)
ifeq ($(SUBARCH),freebsd)

View File

@ -1,10 +1,16 @@
bin/sdlmess
libexec/chdman
libexec/dat2html
libexec/file2str
libexec/imgtool
libexec/jedutil
libexec/makemeta
libexec/mess
libexec/messdocs
libexec/messtest
libexec/regrep
libexec/romcmp
libexec/testkeys
%%PORTDOCS%%%%DOCSDIR%%/SDLMESS.txt
%%PORTDOCS%%%%DOCSDIR%%/docs/credits.htm
%%PORTDOCS%%%%DOCSDIR%%/docs/faq.htm