aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorak <ak@FreeBSD.org>2012-03-30 22:36:33 +0800
committerak <ak@FreeBSD.org>2012-03-30 22:36:33 +0800
commitde1f5e6355a5f1e14dc7dac7f2ae8c8bba47526b (patch)
treec4e717ea46547012be0a81cde2ee1e39890bc35c
parented4a2d7736e0221c3274a575c3e4edb5905fb627 (diff)
downloadfreebsd-ports-gnome-de1f5e6355a5f1e14dc7dac7f2ae8c8bba47526b.tar.gz
freebsd-ports-gnome-de1f5e6355a5f1e14dc7dac7f2ae8c8bba47526b.tar.zst
freebsd-ports-gnome-de1f5e6355a5f1e14dc7dac7f2ae8c8bba47526b.zip
The Castles of Dr. Creep is a platform puzzle game
originally for the Commodore 64 and released in 1984 By Broderbund and written by Ed Hobbs. PR: ports/158781 Submitted by: Robert Crossfield <robcrossfield@gmail.com> Approved by: itetcu (mentor) Feature safe: yes
-rw-r--r--games/Makefile1
-rw-r--r--games/drcreep/Makefile43
-rw-r--r--games/drcreep/distinfo2
-rw-r--r--games/drcreep/pkg-descr7
-rw-r--r--games/drcreep/pkg-plist7
5 files changed, 60 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index 1578cef45fbc..ec2eeb85fd72 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -184,6 +184,7 @@
SUBDIR += doom-wolfendoom
SUBDIR += doomlegacy
SUBDIR += dopewars
+ SUBDIR += drcreep
SUBDIR += drm
SUBDIR += dsnake
SUBDIR += duel
diff --git a/games/drcreep/Makefile b/games/drcreep/Makefile
new file mode 100644
index 000000000000..1778980105c4
--- /dev/null
+++ b/games/drcreep/Makefile
@@ -0,0 +1,43 @@
+# New ports collection makefile for: drcreep
+# Date created: 2011-07-03
+# Whom: Robert Crossfield <robcrossfield@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= drcreep
+PORTVERSION= 394
+CATEGORIES= games
+MASTER_SITES= SF/creep/
+
+MAINTAINER= robcrossfield@gmail.com
+COMMENT= The Castles of Dr. Creep
+
+LICENSE= GPLv3
+
+USE_SDL= sdl
+
+WRKSRC= ${WRKDIR}/head
+
+do-build:
+ cd ${WRKSRC} && ${CXX} -DFREEBSD -o ${PORTNAME} ${CXXFLAGS} \
+ `${SDL_CONFIG} --cflags --libs` -I./src src/*.cpp src/graphics/*.cpp \
+ src/graphics/scale/*.cpp src/castle/*.cpp src/castle/objects/*.cpp \
+ src/vic-ii/*.cpp src/resid-0.16/*.cpp src/sound/*.cpp -lcompat
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+ ${MKDIR} ${DATADIR}/data
+ ${MKDIR} ${DATADIR}/data/castle
+ ${MKDIR} ${DATADIR}/data/castles
+ ${MKDIR} ${DATADIR}/data/save
+
+ ${INSTALL_DATA} ${WRKSRC}/run/data/char.rom ${DATADIR}/data
+
+ @echo '------------------------------------------------------'
+ @echo ''
+ @echo 'Please copy your Castles of Dr. Creep disk image (D64) to ${DATADIR}/data'
+ @echo ''
+ @echo ''
+
+.include <bsd.port.mk>
diff --git a/games/drcreep/distinfo b/games/drcreep/distinfo
new file mode 100644
index 000000000000..ef81825cd9a0
--- /dev/null
+++ b/games/drcreep/distinfo
@@ -0,0 +1,2 @@
+SHA256 (drcreep-394.tar.gz) = 3ae2ba6a5bf84f7771d68e3e657a46730a793ed98d2c6639d7e578ebbbc0d3e1
+SIZE (drcreep-394.tar.gz) = 4010157
diff --git a/games/drcreep/pkg-descr b/games/drcreep/pkg-descr
new file mode 100644
index 000000000000..73b0a191c5bf
--- /dev/null
+++ b/games/drcreep/pkg-descr
@@ -0,0 +1,7 @@
+The Castles of Dr. Creep is a platform puzzle game
+originally for the Commodore 64 and released in 1984
+By Broderbund and written by Ed Hobbs.
+
+The Character ROM file is Copyright by Commodore Business Machines.
+
+WWW: http://creep.sourceforge.net/
diff --git a/games/drcreep/pkg-plist b/games/drcreep/pkg-plist
new file mode 100644
index 000000000000..d5165c28af32
--- /dev/null
+++ b/games/drcreep/pkg-plist
@@ -0,0 +1,7 @@
+bin/drcreep
+%%DATADIR%%/data/char.rom
+@dirrm %%DATADIR%%/data/save
+@dirrm %%DATADIR%%/data/castles
+@dirrm %%DATADIR%%/data/castle
+@dirrm %%DATADIR%%/data
+@dirrm %%DATADIR%%