summaryrefslogtreecommitdiff
path: root/games/penguin-command/Makefile
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/Makefile
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/Makefile')
-rw-r--r--games/penguin-command/Makefile10
1 files changed, 5 insertions, 5 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>