aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authormarkp <markp@FreeBSD.org>2001-06-14 13:49:14 +0800
committermarkp <markp@FreeBSD.org>2001-06-14 13:49:14 +0800
commitc24cc36a410fcf825dbcd4d414206eaa99cba779 (patch)
tree68b9f979ff4d283202d49dc436b89d8a2cff393d /games
parentb2bcfcf0780b2c84c1cb3a83c548ad2aba9f1c8c (diff)
downloadfreebsd-ports-gnome-c24cc36a410fcf825dbcd4d414206eaa99cba779.tar.gz
freebsd-ports-gnome-c24cc36a410fcf825dbcd4d414206eaa99cba779.tar.zst
freebsd-ports-gnome-c24cc36a410fcf825dbcd4d414206eaa99cba779.zip
Updated to 1.6.1. Removed patch in favor of a regex.
Diffstat (limited to 'games')
-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