aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/xphotohunter/Makefile29
-rw-r--r--games/xphotohunter/distinfo1
-rw-r--r--games/xphotohunter/files/patch-aa31
-rw-r--r--games/xphotohunter/pkg-comment1
-rw-r--r--games/xphotohunter/pkg-descr8
-rw-r--r--games/xphotohunter/pkg-plist75
6 files changed, 145 insertions, 0 deletions
diff --git a/games/xphotohunter/Makefile b/games/xphotohunter/Makefile
new file mode 100644
index 000000000000..9c034f2d16f8
--- /dev/null
+++ b/games/xphotohunter/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: xphotohunter
+# Version required: 1.3
+# Date created: 12 Aug 1999
+# Whom: clive
+#
+# $FreeBSD$
+#
+
+DISTNAME= xphotohunter-1.3
+PKGNAME= zh-xphotohunter-1.3
+CATEGORIES= chinese games
+MASTER_SITES= http://www.oz.nthu.edu.tw/~u860905/Xphotohunter/
+
+MAINTAINER= Clive Lin <clive@CirX.ORG>
+
+LIB_DEPENDS= Imlib.4:${PORTSDIR}/graphics/imlib
+
+USE_GMAKE= yes
+
+post-install:
+ @${ECHO} "========================================================="
+ @${ECHO} "Notice: to see Chinese fonts correctly, you must set 2"
+ @${ECHO} "environment variables :"
+ @${ECHO} "LC_CTYPE=zh_TW.Big5"
+ @${ECHO} "LC_MESSAGES=zh_TW.Big5"
+ @${ECHO} " "
+ @${ECHO} "========================================================="
+
+.include <bsd.port.mk>
diff --git a/games/xphotohunter/distinfo b/games/xphotohunter/distinfo
new file mode 100644
index 000000000000..c59c971c3345
--- /dev/null
+++ b/games/xphotohunter/distinfo
@@ -0,0 +1 @@
+MD5 (xphotohunter-1.3.tar.gz) = 037d4eb152fd02e8011eb889b25af737
diff --git a/games/xphotohunter/files/patch-aa b/games/xphotohunter/files/patch-aa
new file mode 100644
index 000000000000..455b942fd7f0
--- /dev/null
+++ b/games/xphotohunter/files/patch-aa
@@ -0,0 +1,31 @@
+--- Makefile.orig Sat Jul 17 01:24:06 1999
++++ Makefile Fri Aug 13 01:07:41 1999
+@@ -5,17 +5,17 @@
+ # if you want to install executive files in another directory, edit the following line.
+ BINDIR=/usr/local/bin
+ # where your locale dir is
+-LOCALEDIR=/usr/share/locale
++LOCALEDIR=/usr/local/share/locale
+
+ CC=gcc
+ DEFS=-DDEFAULT_DIR=\"$(DATADIR)\"
+ #INCLUDES=-I./ -I/usr/include -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/local/include
+-#INCLUDES=-I./ -I/usr/include -I/usr/X11R6/include -I/usr/local/include `gtk-config --cflags`
+-INCLUDES=`gtk-config --cflags`
++#INCLUDES=-I./ -I/usr/include -I/usr/X11R6/include -I/usr/local/include `gtk12-config --cflags`
++INCLUDES=`gtk12-config --cflags`
+ # the sequence of the "-l" is important when you compile staticly.
+ #LIBS=-L/usr/lib -L/usr/X11R6/lib -L/usr/local/lib -lgtk -lgdk_imlib -lgdk -lglib -ljpeg -ltiff -lpng -lz -lgif -lXi -lXext -lX11 -lm
+-#LIBS=-L/usr/lib -L/usr/X11R6/lib -L/usr/local/lib `gtk-config --libs`
+-LIBS=-lgdk_imlib -ljpeg -ltiff -lpng -lz -lgif `gtk-config --libs` -lXi -lXext -lX11 -lm
++#LIBS=-L/usr/lib -L/usr/X11R6/lib -L/usr/local/lib `gtk12-config --libs`
++LIBS=-lgdk_imlib -ljpeg -ltiff -lpng -lz -lgif `gtk12-config --libs` -lXi -lXext -lX11 -lm
+ CFLAGS= -g -O2 -Wall
+
+ INSTALL = /usr/bin/install -c
+@@ -66,4 +66,4 @@
+ $(RM) $(OBJS) $(DYNAMIC)
+ clean-all: clean clean-dynamic
+
+-
++
diff --git a/games/xphotohunter/pkg-comment b/games/xphotohunter/pkg-comment
new file mode 100644
index 000000000000..d6a016cff820
--- /dev/null
+++ b/games/xphotohunter/pkg-comment
@@ -0,0 +1 @@
+xphotohunter is a game under UNIX, written by a Chinese folk :)
diff --git a/games/xphotohunter/pkg-descr b/games/xphotohunter/pkg-descr
new file mode 100644
index 000000000000..c009e6e5ac30
--- /dev/null
+++ b/games/xphotohunter/pkg-descr
@@ -0,0 +1,8 @@
+
+ XPhotoHunter v1.3
+
+ This is a game under Unix X-window. The contents of the game is the
+same with the Windows95 version "Photohunter". The player has to find
+out differences between two pictures.
+
+for more information, see http://www.oz.nthu.edu.tw/~u860905/Xphotohunter/
diff --git a/games/xphotohunter/pkg-plist b/games/xphotohunter/pkg-plist
new file mode 100644
index 000000000000..e7e394c33afa
--- /dev/null
+++ b/games/xphotohunter/pkg-plist
@@ -0,0 +1,75 @@
+bin/xphotohunter
+share/locale/zh_TW.Big5/LC_MESSAGES/xphotohunter.mo
+share/xphotohunter/Picture/0.ppp
+share/xphotohunter/Picture/0a.jpg
+share/xphotohunter/Picture/0b.jpg
+share/xphotohunter/Picture/1.ppp
+share/xphotohunter/Picture/18.ppp
+share/xphotohunter/Picture/18a.jpg
+share/xphotohunter/Picture/18b.jpg
+share/xphotohunter/Picture/19.ppp
+share/xphotohunter/Picture/19a.jpg
+share/xphotohunter/Picture/19b.jpg
+share/xphotohunter/Picture/1a.jpg
+share/xphotohunter/Picture/1b.jpg
+share/xphotohunter/Picture/2.ppp
+share/xphotohunter/Picture/2a.jpg
+share/xphotohunter/Picture/2b.jpg
+share/xphotohunter/Picture/8.ppp
+share/xphotohunter/Picture/8a.jpg
+share/xphotohunter/Picture/8b.jpg
+share/xphotohunter/Picture/Jupiter0.ppp
+share/xphotohunter/Picture/Jupiter0a.jpg
+share/xphotohunter/Picture/Jupiter0b.jpg
+share/xphotohunter/Picture/cartoon14.ppp
+share/xphotohunter/Picture/cartoon14a.jpg
+share/xphotohunter/Picture/cartoon14b.jpg
+share/xphotohunter/Picture/cartoon15.ppp
+share/xphotohunter/Picture/cartoon15a.jpg
+share/xphotohunter/Picture/cartoon15b.jpg
+share/xphotohunter/Picture/duck1.ppp
+share/xphotohunter/Picture/duck1a.jpg
+share/xphotohunter/Picture/duck1b.jpg
+share/xphotohunter/Picture/house0.ppp
+share/xphotohunter/Picture/house0a.jpg
+share/xphotohunter/Picture/house0b.jpg
+share/xphotohunter/Picture/money0.ppp
+share/xphotohunter/Picture/money0a.jpg
+share/xphotohunter/Picture/money0b.jpg
+share/xphotohunter/Picture/people12.ppp
+share/xphotohunter/Picture/people12a.jpg
+share/xphotohunter/Picture/people12b.jpg
+share/xphotohunter/Picture/room0.ppp
+share/xphotohunter/Picture/room0a.jpg
+share/xphotohunter/Picture/room0b.jpg
+share/xphotohunter/Picture/room1.ppp
+share/xphotohunter/Picture/room1a.jpg
+share/xphotohunter/Picture/room1b.jpg
+share/xphotohunter/Picture/wolf0.ppp
+share/xphotohunter/Picture/wolf0a.jpg
+share/xphotohunter/Picture/wolf0b.jpg
+share/xphotohunter/About_pic.jpg
+share/xphotohunter/XPhotoHunter.bmp
+share/xphotohunter/Sky.xpm
+share/xphotohunter/about.jpg
+share/xphotohunter/exit.jpg
+share/xphotohunter/giveup.jpg
+share/xphotohunter/rank.jpg
+share/xphotohunter/start.jpg
+share/xphotohunter/lamp.xpm
+share/xphotohunter/Cackle.wav
+share/xphotohunter/Good.wav
+share/xphotohunter/Ouch.wav
+share/xphotohunter/Yes.wav
+share/xphotohunter/README.chinese
+share/xphotohunter/README.english
+share/xphotohunter/License.txt
+share/xphotohunter/License.txt.english
+share/xphotohunter/Rule.txt
+share/xphotohunter/Rule.txt.english
+share/xphotohunter/GPL
+share/xphotohunter/xphotohunter.dat
+share/xphotohunter/xphotohunter.rc
+share/xphotohunter/xphotohunter.po
+@dirrm share/xphotohunter/Picture
+@dirrm share/xphotohunter