diff options
author | Mark Pulford <markp@FreeBSD.org> | 2001-06-14 05:49:14 +0000 |
---|---|---|
committer | Mark Pulford <markp@FreeBSD.org> | 2001-06-14 05:49:14 +0000 |
commit | 7d01551a00e235f1f9862d7de6ef20431bd66255 (patch) | |
tree | 230733c9d54e055a477b0dbdc23b1da66e497ff0 /games/penguin-command/Makefile | |
parent | 5fb696385158c428ef9619f17b7f3199140e66e8 (diff) | |
download | ports-7d01551a00e235f1f9862d7de6ef20431bd66255.tar.gz ports-7d01551a00e235f1f9862d7de6ef20431bd66255.zip |
Notes
Diffstat (limited to 'games/penguin-command/Makefile')
-rw-r--r-- | games/penguin-command/Makefile | 10 |
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> |