From ba7940ef0cf557cead9a7fb807ac267fe393ceab Mon Sep 17 00:00:00 2001 From: Alex Kozlov Date: Fri, 30 Mar 2012 14:36:33 +0000 Subject: [PATCH] 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 Approved by: itetcu (mentor) Feature safe: yes --- games/Makefile | 1 + games/drcreep/Makefile | 43 +++++++++++++++++++++++++++++++++++++++++ games/drcreep/distinfo | 2 ++ games/drcreep/pkg-descr | 7 +++++++ games/drcreep/pkg-plist | 7 +++++++ 5 files changed, 60 insertions(+) create mode 100644 games/drcreep/Makefile create mode 100644 games/drcreep/distinfo create mode 100644 games/drcreep/pkg-descr create mode 100644 games/drcreep/pkg-plist 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 +# +# $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 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%%