From bd0234ada16c46d5f1a6a3cfcd5cf91414b39a92 Mon Sep 17 00:00:00 2001 From: tg Date: Wed, 2 Jul 1997 13:00:26 +0000 Subject: Import of xdeblock port. xdeblock is one of those paddle games. PR: 2903 Submitted by: Yukihiro Nakai --- games/xdeblock/Makefile | 28 ++++++++++++++++++++++++++++ games/xdeblock/distinfo | 1 + games/xdeblock/files/patch-aa | 38 ++++++++++++++++++++++++++++++++++++++ games/xdeblock/files/patch-ab | 19 +++++++++++++++++++ games/xdeblock/pkg-comment | 1 + games/xdeblock/pkg-descr | 13 +++++++++++++ games/xdeblock/pkg-plist | 6 ++++++ 7 files changed, 106 insertions(+) create mode 100644 games/xdeblock/Makefile create mode 100644 games/xdeblock/distinfo create mode 100644 games/xdeblock/files/patch-aa create mode 100644 games/xdeblock/files/patch-ab create mode 100644 games/xdeblock/pkg-comment create mode 100644 games/xdeblock/pkg-descr create mode 100644 games/xdeblock/pkg-plist (limited to 'games/xdeblock') diff --git a/games/xdeblock/Makefile b/games/xdeblock/Makefile new file mode 100644 index 0000000..5fd1ca4 --- /dev/null +++ b/games/xdeblock/Makefile @@ -0,0 +1,28 @@ +# New ports collection makefile for: xdeblock +# Version required: v1.0 +# Date created: 28 December 1996 +# Whom: Yukihiro Nakai +# +# $Id$ +# + +DISTNAME= xdeblo_v1.0 +PKGNAME= xdeblock-1.0 +CATEGORIES= games +MASTER_SITES= ftp://www.vector.co.jp/pack/unix/game/action/block/ +DISTFILES= xdeblock.tgz + +MAINTAINER= Nakai@Mlab.t.u-tokyo.ac.jp + +LIB_DEPENDS= Xpm\\.4\\.:${PORTSDIR}/graphics/xpm + +USE_IMAKE= yes +NO_INSTALL_MANPAGES= yes + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/xdeblo ${PREFIX}/bin + ${MKDIR} ${PREFIX}/lib/X11/xdeblock/mapf + chmod 777 ${PREFIX}/lib/X11/xdeblock/mapf + ${INSTALL_DATA} ${WRKSRC}/mapf/*.txt ${PREFIX}/lib/X11/xdeblock/mapf + +.include diff --git a/games/xdeblock/distinfo b/games/xdeblock/distinfo new file mode 100644 index 0000000..b3a873b --- /dev/null +++ b/games/xdeblock/distinfo @@ -0,0 +1 @@ +MD5 (xdeblock.tgz) = bc0f3d3f7c63b105445a3e5a98a5b6da diff --git a/games/xdeblock/files/patch-aa b/games/xdeblock/files/patch-aa new file mode 100644 index 0000000..ebeda58 --- /dev/null +++ b/games/xdeblock/files/patch-aa @@ -0,0 +1,38 @@ +*** Imakefile.orig Sat Jan 25 23:26:41 1997 +--- Imakefile Sat Jan 25 23:31:45 1997 +*************** +*** 10,16 **** + XCOMM Set xdeblock working directory. + XCOMM ===================================================================== + +! XDEBLO_DIR = . + + XCOMM ===================================================================== + XCOMM Set xpm. +--- 10,16 ---- + XCOMM Set xdeblock working directory. + XCOMM ===================================================================== + +! XDEBLO_DIR = /usr/X11R6/lib/X11/xdeblock + + XCOMM ===================================================================== + XCOMM Set xpm. +*************** +*** 20,27 **** + XCOMM abc% find /usr -name xpm.h -print + XCOMM ===================================================================== + +! XPM_INC = -I/usr/include/X11 +! XPMLIB_DIR = -L/usr/lib + + XCOMM ===================================================================== + +--- 20,27 ---- + XCOMM abc% find /usr -name xpm.h -print + XCOMM ===================================================================== + +! XPM_INC = -I/usr/X11R6/include/X11 +! XPMLIB_DIR = -L/usr/X11R6/lib + + XCOMM ===================================================================== + diff --git a/games/xdeblock/files/patch-ab b/games/xdeblock/files/patch-ab new file mode 100644 index 0000000..07dd0937 --- /dev/null +++ b/games/xdeblock/files/patch-ab @@ -0,0 +1,19 @@ +*** main.c.orig Sat Nov 16 05:37:16 1996 +--- main.c Wed Mar 5 03:11:37 1997 +*************** +*** 66,72 **** + /*** set s_map ***/ + gameMainFlg.s_map = False; + nowDataRec.nowMap.gameSpeed = 90; +! nowDataRec.nowMap.dirname[0] == 0x00; + + for(i =1; i < argc; i++) + { +--- 66,72 ---- + /*** set s_map ***/ + gameMainFlg.s_map = False; + nowDataRec.nowMap.gameSpeed = 90; +! strcpy(nowDataRec.nowMap.dirname, "/usr/X11R6/lib/X11/xdeblock/mapf"); + + for(i =1; i < argc; i++) + { diff --git a/games/xdeblock/pkg-comment b/games/xdeblock/pkg-comment new file mode 100644 index 0000000..03f5092 --- /dev/null +++ b/games/xdeblock/pkg-comment @@ -0,0 +1 @@ +block action game diff --git a/games/xdeblock/pkg-descr b/games/xdeblock/pkg-descr new file mode 100644 index 0000000..219b961 --- /dev/null +++ b/games/xdeblock/pkg-descr @@ -0,0 +1,13 @@ +Xdeblock is a block action game. + +USAGE: + xdeblock + + and push PLAY button in the window. + +ENVIRONMENT: + You need 256 or more colors, 840x600 or more window, and enough memory. + +AUTHOR: + e-mail: QYI03211@niftyserve.or.jp + Takuto Okuno diff --git a/games/xdeblock/pkg-plist b/games/xdeblock/pkg-plist new file mode 100644 index 0000000..f398c30 --- /dev/null +++ b/games/xdeblock/pkg-plist @@ -0,0 +1,6 @@ +bin/xdeblo +lib/X11/xdeblock/mapf/hadoer.mapf.txt +lib/X11/xdeblock/mapf/hard.mapf.txt +lib/X11/xdeblock/mapf/middle.mapf.txt +lib/X11/xdeblock/mapf/odo.mapf.txt +lib/X11/xdeblock/mapf/standard.mapf.txt -- cgit v1.1