summaryrefslogtreecommitdiff
path: root/games/wxhugo
diff options
context:
space:
mode:
authordillo <dillo>2005-01-10 16:26:34 +0000
committerdillo <dillo>2005-01-10 16:26:34 +0000
commit773c66a118beb47c86f38e8051a36f2f7b9ba507 (patch)
tree77520311542be647a6453c051bb2af555f7134c0 /games/wxhugo
parentae0024ed8d4fa649dea826288791ddda25720bf2 (diff)
downloadpkgsrc-773c66a118beb47c86f38e8051a36f2f7b9ba507.tar.gz
update to 3.1.01 (various bugfixes)
Diffstat (limited to 'games/wxhugo')
-rw-r--r--games/wxhugo/Makefile38
-rw-r--r--games/wxhugo/distinfo13
-rw-r--r--games/wxhugo/patches/patch-aa71
-rw-r--r--games/wxhugo/patches/patch-ab13
4 files changed, 33 insertions, 102 deletions
diff --git a/games/wxhugo/Makefile b/games/wxhugo/Makefile
index 23e78dcb4c5..08ae1e2550b 100644
--- a/games/wxhugo/Makefile
+++ b/games/wxhugo/Makefile
@@ -1,44 +1,28 @@
-# $NetBSD: Makefile,v 1.4 2004/12/28 23:18:19 reed Exp $
+# $NetBSD: Makefile,v 1.5 2005/01/10 16:26:34 dillo Exp $
#
-DISTNAME= hugov30_unix_source
-PKGNAME= wxhugo-3.0.07
-PKGREVISION= 2
+DISTNAME= hugov31_unix_source
+PKGNAME= wxhugo-3.1.01
CATEGORIES= games
-MASTER_SITES= http://www.ifarchive.org/if-archive/programming/hugo/source/
+MASTER_SITES= ${MASTER_SITE_IFARCHIVE:=programming/hugo/source/}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTFILE_WX}
MAINTAINER= dillo@NetBSD.org
-HOMEPAGE= http://161.184.245.22/tessman/gcc/hugo.html
+HOMEPAGE= http://www.generalcoffee.com/hugo.html
COMMENT= Interactive fiction interpreter with sound and graphics support
-DISTFILE_WX= hugov30_wxwin_source${EXTRACT_SUFX}
-EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
+DISTFILE_WX= hugov31_wxwin_source${EXTRACT_SUFX}
+#EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
-DIST_SUBDIR= hugo-3.0.07
+DIST_SUBDIR= hugo-3.1.01
USE_BUILDLINK3= yes
USE_GNU_TOOLS+= make
-WRKSRC= ${WRKDIR}/hugov3.0.07/hewx
+WRKSRC= ${WRKDIR}/hugov3.1.0/hewx
-LIBDIR= ${PREFIX}/share/hugo
-
-post-extract:
- extract_file="${DISTDIR}/${DIST_SUBDIR}/${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
+.include "../../audio/libmikmod/buildlink3.mk"
+.include "../../x11/wxGTK/buildlink3.mk"
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/hewx ${PREFIX}/bin
-.include "../../audio/libmikmod/buildlink3.mk"
-.include "../../x11/wxGTK/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/games/wxhugo/distinfo b/games/wxhugo/distinfo
index 6910f1d712a..5283009204c 100644
--- a/games/wxhugo/distinfo
+++ b/games/wxhugo/distinfo
@@ -1,8 +1,7 @@
-$NetBSD: distinfo,v 1.1.1.1 2004/05/22 23:35:39 dillo Exp $
+$NetBSD: distinfo,v 1.2 2005/01/10 16:26:34 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
+SHA1 (hugo-3.1.01/hugov31_unix_source.tar.gz) = bd14b180e26cd0d39e164839da27313e79939a9b
+Size (hugo-3.1.01/hugov31_unix_source.tar.gz) = 214461 bytes
+SHA1 (hugo-3.1.01/hugov31_wxwin_source.tar.gz) = 9fa7f0894a6283397ade1468e3aae20b21b62bda
+Size (hugo-3.1.01/hugov31_wxwin_source.tar.gz) = 281787 bytes
+SHA1 (patch-aa) = 316fcabf3501b3fbb0cb7ccc6be289c5dbc1b36a
diff --git a/games/wxhugo/patches/patch-aa b/games/wxhugo/patches/patch-aa
index b232d91436e..0d6b9e7bfdd 100644
--- a/games/wxhugo/patches/patch-aa
+++ b/games/wxhugo/patches/patch-aa
@@ -1,6 +1,6 @@
-$NetBSD: patch-aa,v 1.1.1.1 2004/05/22 23:35:39 dillo Exp $
+$NetBSD: patch-aa,v 1.2 2005/01/10 16:26:34 dillo Exp $
---- Makefile.orig Thu Jan 15 19:23:19 2004
+--- Makefile.orig 2004-08-07 21:32:02.000000000 +0200
+++ Makefile
@@ -15,12 +15,12 @@
# (The wxWindows file locations should really be taken from wx-config.)
@@ -13,11 +13,11 @@ $NetBSD: patch-aa,v 1.1.1.1 2004/05/22 23:35:39 dillo Exp $
# 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
++LDFLAGS += `wx-config --libs` -lmikmod
STATICLIBS =
# Otherwise, use these LDFLAGS and STATICLIBS:
#LDFLAGS = -lwx_gtk -lgtk -lgdk -lpthread -lmikmod
-@@ -34,27 +34,28 @@ MYCODEDIR := .
+@@ -34,7 +34,7 @@ MYCODEDIR := .
# Directories to search for header files
@@ -26,74 +26,35 @@ $NetBSD: patch-aa,v 1.1.1.1 2004/05/22 23:35:39 dillo Exp $
# makemake variables
--LINKER := gcc
-+LINKER := ${CC}
- DEPENDFLAGS := ${SEARCHDIRS}
- TOUCHHEADERS := ${MYCODEDIR}/*.h
+@@ -44,17 +44,18 @@ 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`
+ #CFLAGS = ${DEPENDFLAGS} -D__WXGTK__ -DWXWINDOWS -DNO_WXCARET -fwritable-strings -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}
+-CFLAGS = ${DEPENDFLAGS} -D__WXGTK__ -DWXWINDOWS -DNO_WXCARET -fwritable-strings -O2 -Wall `wx-config --cflags`
++CPPFLAGS += ${DEPENDFLAGS} -D__WXGTK__ -DWXWINDOWS -DNO_WXCARET
++CFLAGS += -fwritable-strings `wx-config --cflags`
# C++
-CXX := g++
+#CXX := g++
#CXXFLAGS = ${DEPENDFLAGS}
--CXXFLAGS = ${CFLAGS}
-+CXXFLAGS+=${MY_CFLAGS}
+-CXXFLAGS = ${CFLAGS} -fno-rtti
++CXXFLAGS += ${CFLAGS} -fno-rtti
%.o : %.cpp
${CXX} ${CPPFLAGS} -c $< ${CXXFLAGS}
-@@ -133,31 +134,28 @@ jdepend:
+@@ -64,7 +65,7 @@ CXXFLAGS = ${CFLAGS} -fno-rtti
- # DO NOT DELETE THIS LINE -- makemake depends on it.
+ # C preprocessor
--../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
+-CPPFLAGS =
++#CPPFLAGS =
--../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
+ # linker
--../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 --git a/games/wxhugo/patches/patch-ab b/games/wxhugo/patches/patch-ab
deleted file mode 100644
index 3bd03f8d8b4..00000000000
--- a/games/wxhugo/patches/patch-ab
+++ /dev/null
@@ -1,13 +0,0 @@
-$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
-