summaryrefslogtreecommitdiff
path: root/games/penguin-command/Makefile
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2001-04-10 20:27:44 +0000
committerWill Andrews <will@FreeBSD.org>2001-04-10 20:27:44 +0000
commit151ae8ff677348685cf00bb60968be4c8b3042bc (patch)
treefe29d2d2744cac757f81d3e13867b7b975b29ab1 /games/penguin-command/Makefile
parentAdd p5-Image-Grab 1.3, a perl extension for Grabbing images off the (diff)
Add penguin-command 1.5.1, a clone of the classic game Missile
Command. PR: 26452 Submitted by: Mark Pulford <mark@kyne.com.au>
Notes
Notes: svn path=/head/; revision=41228
Diffstat (limited to 'games/penguin-command/Makefile')
-rw-r--r--games/penguin-command/Makefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/games/penguin-command/Makefile b/games/penguin-command/Makefile
new file mode 100644
index 000000000000..73dedb91e0e1
--- /dev/null
+++ b/games/penguin-command/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: penguin-command
+# Date created: Apr 4, 2001
+# Whom: Mark Pulford <mark@kyne.com.au>
+#
+# $FreeBSD$
+#
+
+PORTNAME= penguin-command
+PORTVERSION= 1.5.1
+CATEGORIES= games
+MASTER_SITES= http://www.linux-games.com/penguin-command/
+
+MAINTAINER= mark@kyne.com.au
+
+LIB_DEPENDS= SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer \
+ png.4:${PORTSDIR}/graphics/png
+
+SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
+
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" CPPFLAGS="-I${LOCALBASE}/include"
+MAN6= penguin-command.6
+
+pre-patch:
+ @find ${WRKSRC} \( -name "*.[ch]" -or -name "*.cpp" -or \
+ -name configure \) | \
+ xargs ${PERL} -pi -e 's|"SDL/SDL|"SDL|g ; s|<SDL/SDL|<SDL|g'
+
+.include <bsd.port.mk>