Updated to 1.6.1. Removed patch in favor of a regex.

This commit is contained in:
Mark Pulford 2001-06-14 05:49:14 +00:00
parent 5fb6963851
commit 7d01551a00
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=43974
3 changed files with 6 additions and 17 deletions

View file

@ -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>

View file

@ -1 +1 @@
MD5 (penguin-command-1.5.1.tar.gz) = d99d5dcc5884cc399d4a08d9f4d2754b
MD5 (penguin-command-1.6.1.tar.gz) = aa253c61666b0ac6143653246cc1b5e5

View file

@ -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