pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/wxhugo import wxhugo 3.0.07:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bf9de915f520
branches:  trunk
changeset: 475669:bf9de915f520
user:      dillo <dillo%pkgsrc.org@localhost>
date:      Sat May 22 23:35:38 2004 +0000

description:
import wxhugo 3.0.07:

An interpreter for Hugo interactive fiction, with support for
graphics and sound.

diffstat:

 games/wxhugo/DESCR            |  10 ++++
 games/wxhugo/Makefile         |  43 ++++++++++++++++++
 games/wxhugo/PLIST            |   2 +
 games/wxhugo/TODO             |   1 +
 games/wxhugo/distinfo         |   8 +++
 games/wxhugo/patches/patch-aa |  99 +++++++++++++++++++++++++++++++++++++++++++
 games/wxhugo/patches/patch-ab |  13 +++++
 7 files changed, 176 insertions(+), 0 deletions(-)

diffs (204 lines):

diff -r 42e4f3cc6750 -r bf9de915f520 games/wxhugo/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/wxhugo/DESCR        Sat May 22 23:35:38 2004 +0000
@@ -0,0 +1,10 @@
+Hugo is one of the leading interactive fiction design systems.  In
+addition to being capable of producing leading-edge text adventures,
+it also allows a developer to incorporate true-color graphics
+display (which are optional for those who lack either the hardware
+or inclination to view graphics) as well as sound effects and music.
+And it's free.
+
+This is the wxGTK port, with support for sound or graphics.  It
+does not, however, include game development tools.  For these,
+install the package hugo.
diff -r 42e4f3cc6750 -r bf9de915f520 games/wxhugo/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/wxhugo/Makefile     Sat May 22 23:35:38 2004 +0000
@@ -0,0 +1,43 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/05/22 23:35:38 dillo Exp $
+#
+
+DISTNAME=      hugov30_unix_source
+PKGNAME=       wxhugo-3.0.07
+CATEGORIES=    games
+MASTER_SITES=  http://www.ifarchive.org/if-archive/programming/hugo/source/
+DISTFILES=     ${DISTNAME}${EXTRACT_SUFX} ${DISTFILE_WX}
+
+MAINTAINER=    dillo%NetBSD.org@localhost
+HOMEPAGE=      http://161.184.245.22/tessman/gcc/hugo.html
+COMMENT=       Interactive fiction interpreter with sound and graphics support
+
+DISTFILE_WX=   hugov30_wxwin_source${EXTRACT_SUFX}
+EXTRACT_ONLY=  ${DISTNAME}${EXTRACT_SUFX}
+
+DIST_SUBDIR=   hugo-3.0.07
+USE_BUILDLINK3=        yes
+USE_GNU_TOOLS+=        make
+WRKSRC=                ${WRKDIR}/hugov3.0.07/hewx
+
+LIBDIR=                ${PREFIX}/share/hugo
+
+post-extract:
+       extract_file="${DISTDIR}/${DISTFILE_WX}"; export extract_file;    \
+       cd ${WRKSRC}/.. && ${EXTRACT_CMD.tar.gz}
+       for f in hejpeg.cpp hesound.cpp hesound_SDL.cpp hewxwin.cpp; \
+       do \
+               { cd ${WRKSRC} && ${MV} $$f $$f.dos \
+                       && ${TR} -d '\015' < $$f.dos > $$f; }; \
+       done
+       for f in hevideo.cpp; \
+       do \
+               { cd ${WRKSRC} && ${MV} $$f $$f.mac \
+                       && ${TR} '\015' '\012' < $$f.mac > $$f; }; \
+       done
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/hewx ${PREFIX}/bin
+
+.include "../../audio/libmikmod/buildlink3.mk"
+.include "../../x11/wxGTK/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 42e4f3cc6750 -r bf9de915f520 games/wxhugo/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/wxhugo/PLIST        Sat May 22 23:35:38 2004 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/05/22 23:35:39 dillo Exp $
+bin/hewx
diff -r 42e4f3cc6750 -r bf9de915f520 games/wxhugo/TODO
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/wxhugo/TODO Sat May 22 23:35:38 2004 +0000
@@ -0,0 +1,1 @@
+import in pkgsrc
diff -r 42e4f3cc6750 -r bf9de915f520 games/wxhugo/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/wxhugo/distinfo     Sat May 22 23:35:38 2004 +0000
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/05/22 23:35:39 dillo Exp $
+
+SHA1 (hugo-3.0.07/hugov30_unix_source.tar.gz) = 4b3afc3b4f03ff23643460321d76127980184ec0
+Size (hugo-3.0.07/hugov30_unix_source.tar.gz) = 213002 bytes
+SHA1 (hugo-3.0.07/hugov30_wxwin_source.tar.gz) = a0871b4dd5d9b0d7bc638ea2728cd285d4457304
+Size (hugo-3.0.07/hugov30_wxwin_source.tar.gz) = 69444 bytes
+SHA1 (patch-aa) = 2a7df05b854e82938f9e26fd698eaed4fce91ca4
+SHA1 (patch-ab) = d8eb602e631143595071eb2d449c15a0bb8860e6
diff -r 42e4f3cc6750 -r bf9de915f520 games/wxhugo/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/wxhugo/patches/patch-aa     Sat May 22 23:35:38 2004 +0000
@@ -0,0 +1,99 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/05/22 23:35:39 dillo Exp $
+
+--- Makefile.orig      Thu Jan 15 19:23:19 2004
++++ Makefile
+@@ -15,12 +15,12 @@
+ # (The wxWindows file locations should really be taken from wx-config.)
+ HUGOSOURCEDIR = ../source
+ MIKMODINCLUDEDIR = /usr/local/include
+-CXXINCLUDEDIR = /usr/include/g++-3
++#CXXINCLUDEDIR = /usr/include/g++-3
+ 
+ # Libraries to be linked:
+ # If a working libmikmod.so has been compiled on the runtime system
+ # and the wxGTK library is installed:
+-LDFLAGS = `wx-config --libs` -lgtk -lgdk -lmikmod
++LDFLAGS = `wx-config --libs` -lmikmod
+ STATICLIBS =
+ # Otherwise, use these LDFLAGS and STATICLIBS:
+ #LDFLAGS = -lwx_gtk -lgtk -lgdk -lpthread -lmikmod
+@@ -34,27 +34,28 @@ MYCODEDIR := .
+ 
+ # Directories to search for header files
+ 
+-SEARCHDIRS := -I- -I${MYCODEDIR} -I${HUGOSOURCEDIR} -I${MIKMODINCLUDEDIR} -I${CXXINCLUDEDIR}
++SEARCHDIRS := -I- -I${MYCODEDIR} -I${HUGOSOURCEDIR} -I${MIKMODINCLUDEDIR}
+ 
+ # makemake variables
+ 
+-LINKER       := gcc
++LINKER       := ${CC}
+ DEPENDFLAGS  := ${SEARCHDIRS}
+ TOUCHHEADERS := ${MYCODEDIR}/*.h
+ 
+ # C
+ 
+-CC     := gcc
++#CC     := gcc
+ # Debugging:
+ #CFLAGS  = ${DEPENDFLAGS} -D__WXGTK__ -DWXWINDOWS -DNO_WXCARET -fwritable-strings -fno-rtti -g3 -Wall `wx-config --cflags`
+ # Release build:
+-CFLAGS  = ${DEPENDFLAGS} -D__WXGTK__ -DWXWINDOWS -DNO_WXCARET -fwritable-strings -fno-rtti -O2 -Wall `wx-config --cflags`
++MY_CFLAGS  = ${DEPENDFLAGS} -D__WXGTK__ -DWXWINDOWS -DNO_WXCARET -fwritable-strings -fno-rtti -O2 -Wall `wx-config --cflags`
++CFLAGS+=${MY_CFLAGS}
+ 
+ # C++
+ 
+-CXX      := g++
++#CXX      := g++
+ #CXXFLAGS  = ${DEPENDFLAGS}
+-CXXFLAGS = ${CFLAGS}
++CXXFLAGS+=${MY_CFLAGS}
+ 
+ %.o : %.cpp
+       ${CXX} ${CPPFLAGS} -c $< ${CXXFLAGS}
+@@ -133,31 +134,28 @@ jdepend:
+ 
+ # DO NOT DELETE THIS LINE -- makemake depends on it.
+ 
+-../source/he.o: ../source/hdinter.h ../source/heheader.h ../source/htokens.h /usr/include/ctype.h /usr/include/stdio.h /usr/include/stdlib.h /usr/include/string.h /usr/include/time.h 
/usr/include/unistd.h
++../source/he.o: ../source/hdinter.h ../source/heheader.h ../source/htokens.h
+ 
+-../source/hebuffer.o: ../source/hdinter.h ../source/heheader.h ../source/htokens.h /usr/include/ctype.h /usr/include/stdio.h /usr/include/stdlib.h /usr/include/string.h /usr/include/time.h 
/usr/include/unistd.h
++../source/hebuffer.o: ../source/hdinter.h ../source/heheader.h ../source/htokens.h
+ 
+-../source/heexpr.o: ../source/hdinter.h ../source/heheader.h ../source/htokens.h /usr/include/ctype.h /usr/include/stdio.h /usr/include/stdlib.h /usr/include/string.h /usr/include/time.h 
/usr/include/unistd.h
++../source/heexpr.o: ../source/hdinter.h ../source/heheader.h ../source/htokens.h
+ 
+-./hejpeg.o: ../source/hdinter.h ../source/heheader.h ../source/htokens.h ./hewx.h /usr/include/assert.h /usr/include/ctype.h /usr/include/dirent.h /usr/include/g++-3/iostream 
/usr/include/g++-3/iostream.h /usr/include/limits.h /usr/include/math.h /usr/include/stdio.h /usr/include/stdlib.h /usr/include/string.h /usr/include/strings.h /usr/include/sys/types.h 
/usr/include/time.h /usr/include/unistd.h /usr/include/wchar.h /usr/include/wctype.h
++./hejpeg.o: ../source/hdinter.h ../source/heheader.h ../source/htokens.h ./hewx.h
+ 
+-../source/hemisc.o: ../source/hdinter.h ../source/heheader.h ../source/htokens.h /usr/include/ctype.h /usr/include/stdio.h /usr/include/stdlib.h /usr/include/string.h /usr/include/time.h 
/usr/include/unistd.h
++../source/hemisc.o: ../source/hdinter.h ../source/heheader.h ../source/htokens.h
+ 
+-../source/heobject.o: ../source/hdinter.h ../source/heheader.h ../source/htokens.h /usr/include/ctype.h /usr/include/stdio.h /usr/include/stdlib.h /usr/include/string.h /usr/include/time.h 
/usr/include/unistd.h
++../source/heobject.o: ../source/hdinter.h ../source/heheader.h ../source/htokens.h
+ 
+-../source/heparse.o: ../source/hdinter.h ../source/heheader.h ../source/htokens.h /usr/include/ctype.h /usr/include/stdio.h /usr/include/stdlib.h /usr/include/string.h /usr/include/time.h 
/usr/include/unistd.h
++../source/heparse.o: ../source/hdinter.h ../source/heheader.h ../source/htokens.h
+ 
+-../source/heres.o: ../source/hdinter.h ../source/heheader.h ../source/htokens.h /usr/include/ctype.h /usr/include/stdio.h /usr/include/stdlib.h /usr/include/string.h /usr/include/time.h 
/usr/include/unistd.h
++../source/heres.o: ../source/hdinter.h ../source/heheader.h ../source/htokens.h
+ 
+-../source/herun.o: ../source/hdinter.h ../source/heheader.h ../source/htokens.h /usr/include/ctype.h /usr/include/stdio.h /usr/include/stdlib.h /usr/include/string.h /usr/include/time.h 
/usr/include/unistd.h
++../source/herun.o: ../source/hdinter.h ../source/heheader.h ../source/htokens.h
+ 
+-../source/heset.o: ../source/hdinter.h ../source/heheader.h ../source/htokens.h /usr/include/ctype.h /usr/include/stdio.h /usr/include/stdlib.h /usr/include/string.h /usr/include/time.h 
/usr/include/unistd.h
++../source/heset.o: ../source/hdinter.h ../source/heheader.h ../source/htokens.h
+ 
+-./hesound.o: ../source/hdinter.h ../source/heheader.h ../source/htokens.h ./hewx.h /usr/include/assert.h /usr/include/ctype.h /usr/include/dirent.h /usr/include/g++-3/iostream 
/usr/include/g++-3/iostream.h /usr/include/limits.h /usr/include/mikmod.h /usr/include/stdio.h /usr/include/stdlib.h /usr/include/string.h /usr/include/strings.h /usr/include/sys/types.h 
/usr/include/time.h /usr/include/unistd.h /usr/include/wchar.h /usr/include/wctype.h 
++./hesound.o: ../source/hdinter.h ../source/heheader.h ../source/htokens.h ./hewx.h
+ 
+-./hewx.o: ../source/hdinter.h ../source/heheader.h ../source/htokens.h ./hewx.h /usr/include/assert.h /usr/include/ctype.h /usr/include/dirent.h /usr/include/g++-3/iostream 
/usr/include/g++-3/iostream.h /usr/include/limits.h /usr/include/stdio.h /usr/include/stdlib.h /usr/include/string.h /usr/include/strings.h /usr/include/sys/types.h /usr/include/time.h 
/usr/include/unistd.h /usr/include/wchar.h /usr/include/wctype.h 
+-
+-./hewxwin.o: ../source/hdinter.h ../source/heheader.h ../source/htokens.h ./hewx.h /usr/include/assert.h /usr/include/ctype.h /usr/include/dirent.h /usr/include/g++-3/iostream 
/usr/include/g++-3/iostream.h /usr/include/limits.h /usr/include/stdio.h /usr/include/stdlib.h /usr/include/string.h /usr/include/strings.h /usr/include/sys/types.h /usr/include/time.h 
/usr/include/unistd.h /usr/include/wchar.h /usr/include/wctype.h 
+-
+-../source/stringfn.o: /usr/include/ctype.h /usr/include/stdio.h /usr/include/string.h
++./hewx.o: ../source/hdinter.h ../source/heheader.h ../source/htokens.h ./hewx.h
+ 
++./hewxwin.o: ../source/hdinter.h ../source/heheader.h ../source/htokens.h ./hewx.h
diff -r 42e4f3cc6750 -r bf9de915f520 games/wxhugo/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/wxhugo/patches/patch-ab     Sat May 22 23:35:38 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2004/05/22 23:35:39 dillo Exp $
+
+--- hewx.h.orig        Fri Jan 24 21:04:46 2003
++++ hewx.h
+@@ -133,7 +133,7 @@ inline double MyMilliseconds(void)
+ #else
+ inline double MyMilliseconds(void)
+ {
+-      return (double)(clock()/(CLOCKS_PER_SEC/1000));
++      return (double)(clock()/(CLOCKS_PER_SEC/1000.));
+ }     
+ #endif
+ 



Home | Main Index | Thread Index | Old Index