summaryrefslogtreecommitdiff
path: root/games/penguin-command
diff options
context:
space:
mode:
authorMark Pulford <markp@FreeBSD.org>2001-06-14 05:49:14 +0000
committerMark Pulford <markp@FreeBSD.org>2001-06-14 05:49:14 +0000
commit7d01551a00e235f1f9862d7de6ef20431bd66255 (patch)
tree230733c9d54e055a477b0dbdc23b1da66e497ff0 /games/penguin-command
parentAdd, shuffle(1) from NetBSD, a program that prints a random (diff)
Updated to 1.6.1. Removed patch in favor of a regex.
Notes
Notes: svn path=/head/; revision=43974
Diffstat (limited to 'games/penguin-command')
-rw-r--r--games/penguin-command/Makefile10
-rw-r--r--games/penguin-command/distinfo2
-rw-r--r--games/penguin-command/files/patch-configure11
3 files changed, 6 insertions, 17 deletions
diff --git a/games/penguin-command/Makefile b/games/penguin-command/Makefile
index 47db4fdb4d05..58390f1922b6 100644
--- a/games/penguin-command/Makefile
+++ b/games/penguin-command/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= penguin-command
-PORTVERSION= 1.5.1
+PORTVERSION= 1.6.1
CATEGORIES= games
MASTER_SITES= http://www.linux-games.com/penguin-command/
@@ -21,9 +21,9 @@ 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'
+post-patch:
+ ${PERL} -pi -e 's|"SDL/SDL|"SDL|g ; s|<SDL/SDL|<SDL|g' \
+ ${WRKSRC}/configure ${WRKSRC}/src/*.[ch]
+ ${PERL} -pi -e "s/ -lz -lSDL -lm/ -lz -lm/g" ${WRKSRC}/configure
.include <bsd.port.mk>
diff --git a/games/penguin-command/distinfo b/games/penguin-command/distinfo
index abec8db507ea..505aa6b1bfe9 100644
--- a/games/penguin-command/distinfo
+++ b/games/penguin-command/distinfo
@@ -1 +1 @@
-MD5 (penguin-command-1.5.1.tar.gz) = d99d5dcc5884cc399d4a08d9f4d2754b
+MD5 (penguin-command-1.6.1.tar.gz) = aa253c61666b0ac6143653246cc1b5e5
diff --git a/games/penguin-command/files/patch-configure b/games/penguin-command/files/patch-configure
deleted file mode 100644
index 7d244b412644..000000000000
--- a/games/penguin-command/files/patch-configure
+++ /dev/null
@@ -1,11 +0,0 @@
---- configure.orig Sun Apr 8 16:20:06 2001
-+++ configure Sun Apr 8 16:20:09 2001
-@@ -1834,7 +1834,7 @@
-
- ######## Set compiler flags and libraries
- CFLAGS="$CFLAGS $SDL_CFLAGS -DDATADIR=\"\\\"$datadir/penguin-command\\\"\""
--LIBS="$SDL_LIBS -lpng -Lmixer $SOUND -lz -lSDL -lm $GL"
-+LIBS="$SDL_LIBS -lpng -Lmixer $SOUND -lz -lm $GL"
-
- ######## Finally create all the generated files
- trap '' 1 2 15