aboutsummaryrefslogtreecommitdiff
path: root/games/hohlin
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2004-12-23 05:41:17 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2004-12-23 05:41:17 +0000
commit0989369202d0e1e6e8fdc0785c6da83f9bfebb8c (patch)
treeb87f0c5514b6d3300a0771e7b770b2ce07e4fcd8 /games/hohlin
parent9073b8ce45d89d85a827819518d1485e8fc6b1a9 (diff)
downloadports-0989369202d0e1e6e8fdc0785c6da83f9bfebb8c.tar.gz
ports-0989369202d0e1e6e8fdc0785c6da83f9bfebb8c.zip
Notes
Diffstat (limited to 'games/hohlin')
-rw-r--r--games/hohlin/Makefile51
-rw-r--r--games/hohlin/distinfo2
-rw-r--r--games/hohlin/files/hoh.sh3
-rw-r--r--games/hohlin/pkg-descr6
-rw-r--r--games/hohlin/pkg-plist52
5 files changed, 114 insertions, 0 deletions
diff --git a/games/hohlin/Makefile b/games/hohlin/Makefile
new file mode 100644
index 000000000000..bbb43c17487c
--- /dev/null
+++ b/games/hohlin/Makefile
@@ -0,0 +1,51 @@
+# New ports collection makefile for: hohlin
+# Date created: 2004-08-17
+# Whom: Janos Mohacsi <janos.mohacsi@bsd.hu>
+#
+# $FreeBSD$
+#
+
+PORTNAME= hohlin
+PORTVERSION= 1.01
+CATEGORIES= games
+#MASTER_SITES= http://retrospec.sgn.net/download.php?id=63&path=games/hoh/bin/
+#requires post to download
+MASTER_SITES= http://skye.ki.iif.hu/~mohacsi/downloads/
+PKGNAMEPREFIX= linux-
+DISTNAME= ${PORTNAME}-${SHORTPORTVERSION}
+
+MAINTAINER= janos.mohacsi@bsd.hu
+COMMENT= Remake of the classic spectrum game Head over Heels
+
+WRKSRC= ${WRKDIR}/hoh-install-${PORTVERSION}/
+
+USE_BZIP2= YES
+NO_BUILD= YES
+ONLY_FOR_ARCHS= i386
+SHORTPORTVERSION=${PORTVERSION:C/([0-9]*)\.([0-9]*)/\1\2/}
+
+.include <bsd.port.pre.mk>
+.if exists(${LINUXBASE}/lib/libc-2.3.2.so) || defined(WITH_LINUX8)
+RUN_DEPENDS+= ${LINUXBASE}/usr/X11R6/lib/libXrandr.so.2:${PORTSDIR}/x11/linux-XFree86-libs
+WITH_LINUX8= YES
+.else
+USE_LINUX= YES
+.endif
+
+do-install:
+ ${MKDIR} ${DATADIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/data/HoH ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/data/HoHOriginal.dat ${DATADIR}
+ ${MKDIR} ${DATADIR}/Sound
+ ${INSTALL_DATA} ${WRKSRC}/data/Sound/Sound.dat ${DATADIR}/Sound/
+ ${INSTALL_DATA} ${WRKSRC}/data/Sound/Game.ogg ${DATADIR}/Sound/
+ ${INSTALL_DATA} ${WRKSRC}/data/Sound/Theme.ogg ${DATADIR}/Sound/
+ ${SED} -e 's:%%DATADIR%%:${DATADIR}:g' ${FILESDIR}/hoh.sh > \
+ ${PREFIX}/bin/HoH
+ ${CHMOD} +x ${PREFIX}/bin/HoH
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${CP} -R ${WRKSRC}/docs/* ${DOCSDIR}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/games/hohlin/distinfo b/games/hohlin/distinfo
new file mode 100644
index 000000000000..9af1faa02b90
--- /dev/null
+++ b/games/hohlin/distinfo
@@ -0,0 +1,2 @@
+MD5 (hohlin-101.tar.bz2) = 927d1a1dee927b5c495bfd39b0458a45
+SIZE (hohlin-101.tar.bz2) = 14808528
diff --git a/games/hohlin/files/hoh.sh b/games/hohlin/files/hoh.sh
new file mode 100644
index 000000000000..542896d7f106
--- /dev/null
+++ b/games/hohlin/files/hoh.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+cd %%DATADIR%%
+exec ./HoH
diff --git a/games/hohlin/pkg-descr b/games/hohlin/pkg-descr
new file mode 100644
index 000000000000..2050262ceab2
--- /dev/null
+++ b/games/hohlin/pkg-descr
@@ -0,0 +1,6 @@
+The original Head Over Heels was released around about 1987. It was
+immediately praised in the press as being quite the best isometric adventure
+game. This version is a pretty darn faithful remake of the Speccy original
+except with a few spanking extra bits.
+
+WWW: http://retrospec.sgn.net/games/hoh/index.html
diff --git a/games/hohlin/pkg-plist b/games/hohlin/pkg-plist
new file mode 100644
index 000000000000..0325472f95ad
--- /dev/null
+++ b/games/hohlin/pkg-plist
@@ -0,0 +1,52 @@
+@comment $FreeBSD$
+bin/HoH
+%%DATADIR%%/HoH
+%%DATADIR%%/HoHOriginal.dat
+%%DATADIR%%/Sound/Sound.dat
+%%DATADIR%%/Sound/Game.ogg
+%%DATADIR%%/Sound/Theme.ogg
+@dirrm %%DATADIR%%/Sound
+@dirrm %%DATADIR%%
+%%PORTDOCS%%%%DOCSDIR%%/File_id.diz
+%%PORTDOCS%%%%DOCSDIR%%/HoH.css
+%%PORTDOCS%%%%DOCSDIR%%/HoH.nfo
+%%PORTDOCS%%%%DOCSDIR%%/Manual.html
+%%PORTDOCS%%%%DOCSDIR%%/Manual.pdf
+%%PORTDOCS%%%%DOCSDIR%%/Manual.txt
+%%PORTDOCS%%%%DOCSDIR%%/gfx/icon-1.gif
+%%PORTDOCS%%%%DOCSDIR%%/gfx/Bag.gif
+%%PORTDOCS%%%%DOCSDIR%%/gfx/logo-t1.gif
+%%PORTDOCS%%%%DOCSDIR%%/gfx/logo-t2.gif
+%%PORTDOCS%%%%DOCSDIR%%/gfx/retrospec.gif
+%%PORTDOCS%%%%DOCSDIR%%/gfx/Bunny.gif
+%%PORTDOCS%%%%DOCSDIR%%/gfx/Crown.gif
+%%PORTDOCS%%%%DOCSDIR%%/gfx/logo-tl.gif
+%%PORTDOCS%%%%DOCSDIR%%/gfx/Teleport.gif
+%%PORTDOCS%%%%DOCSDIR%%/gfx/Conveyor.gif
+%%PORTDOCS%%%%DOCSDIR%%/gfx/Hooter.gif
+%%PORTDOCS%%%%DOCSDIR%%/gfx/c-b.gif
+%%PORTDOCS%%%%DOCSDIR%%/gfx/Fish.gif
+%%PORTDOCS%%%%DOCSDIR%%/gfx/c-l.gif
+%%PORTDOCS%%%%DOCSDIR%%/gfx/c-r.gif
+%%PORTDOCS%%%%DOCSDIR%%/gfx/c-t.gif
+%%PORTDOCS%%%%DOCSDIR%%/gfx/t-manual.gif
+%%PORTDOCS%%%%DOCSDIR%%/gfx/tagline.gif
+%%PORTDOCS%%%%DOCSDIR%%/gfx/Puppy.gif
+%%PORTDOCS%%%%DOCSDIR%%/gfx/Heels.gif
+%%PORTDOCS%%%%DOCSDIR%%/gfx/Head.gif
+%%PORTDOCS%%%%DOCSDIR%%/gfx/red-back.gif
+%%PORTDOCS%%%%DOCSDIR%%/gfx/c-bl.gif
+%%PORTDOCS%%%%DOCSDIR%%/gfx/c-br.gif
+%%PORTDOCS%%%%DOCSDIR%%/gfx/retrospec-logo.gif
+%%PORTDOCS%%%%DOCSDIR%%/gfx/1t.gif
+%%PORTDOCS%%%%DOCSDIR%%/gfx/HeadAndHeels.gif
+%%PORTDOCS%%%%DOCSDIR%%/gfx/Donuts.gif
+%%PORTDOCS%%%%DOCSDIR%%/gfx/gray-back.gif
+%%PORTDOCS%%%%DOCSDIR%%/gfx/logo-1.gif
+%%PORTDOCS%%%%DOCSDIR%%/gfx/logo-l1.gif
+%%PORTDOCS%%%%DOCSDIR%%/gfx/logo-l2.gif
+%%PORTDOCS%%%%DOCSDIR%%/gfx/c-tr.gif
+%%PORTDOCS%%%%DOCSDIR%%/gfx/Switch.gif
+%%PORTDOCS%%%%DOCSDIR%%/gfx/Spring.gif
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/gfx
+%%PORTDOCS%%@dirrm %%DOCSDIR%%