aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2002-11-23 12:18:07 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2002-11-23 12:18:07 +0000
commitf04001b8309694fe9fa3d0fdf706c771cce8dcf1 (patch)
treeb372ff8e54ec9a25b91c8c869757f58c61ec6f9d /games
parent2c55588d66e400012dd3b1fe3625069e5324465a (diff)
downloadports-f04001b8309694fe9fa3d0fdf706c771cce8dcf1.tar.gz
ports-f04001b8309694fe9fa3d0fdf706c771cce8dcf1.zip
Upgrade to 0.4.4 which fixes several remote exploits.
Unmark FORBIDDEN. Convert to USE_GNOMENG
Notes
Notes: svn path=/head/; revision=70838
Diffstat (limited to 'games')
-rw-r--r--games/gtetrinet/Makefile28
-rw-r--r--games/gtetrinet/distinfo2
-rw-r--r--games/gtetrinet/pkg-plist3
3 files changed, 25 insertions, 8 deletions
diff --git a/games/gtetrinet/Makefile b/games/gtetrinet/Makefile
index e34c5cdb91cc..ecff247fb703 100644
--- a/games/gtetrinet/Makefile
+++ b/games/gtetrinet/Makefile
@@ -5,22 +5,36 @@
# $FreeBSD$
PORTNAME= gtetrinet
-PORTVERSION= 0.4.1
+PORTVERSION= 0.4.4
CATEGORIES= games gnome
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= gtetrinet
MAINTAINER= ports@FreeBSD.org
-FORBIDDEN= "Remotely exploitable buffer overflows. See GTetrinet web site."
-
USE_X_PREFIX= yes
USE_GMAKE= yes
-USE_GNOME= yes
+USE_GNOMENG= yes
+USE_GNOME= gtk12 gnomehack gnomeprefix esound gnomelibs gnomehier
GNU_CONFIGURE= yes
+CONFIGURE_TARGET=
+CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} \
+ --bindir=${PREFIX}/bin
+
+MAN6= gtetrinet.6
-pre-patch:
- @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
- 's|\$$\(datadir\)/gnome/|\$$\(datadir\)/|g'
+do-install:
+ cd ${WRKSRC}/src; ${INSTALL_PROGRAM} gtetrinet ${PREFIX}/bin
+ cd ${WRKSRC}/doc; ${INSTALL_MAN} gtetrinet.6 ${PREFIX}/man/man6
+ ${MKDIR} ${PREFIX}/share/gnome/gtetrinet/themes/default
+ cd ${WRKSRC}/themes/default/; ${INSTALL_DATA} blocks.png theme.cfg \
+ ${PREFIX}/share/gnome/gtetrinet/themes/default
+ ${MKDIR} ${PREFIX}/share/gnome/gtetrinet/themes/small
+ cd ${WRKSRC}/themes/small/; ${INSTALL_DATA} blocks.png theme.cfg \
+ ${PREFIX}/share/gnome/gtetrinet/themes/small
+ cd ${WRKSRC}; ${INSTALL_DATA} gtetrinet.png \
+ ${PREFIX}/share/gnome/pixmaps
+ cd ${WRKSRC}; ${INSTALL_DATA} gtetrinet.desktop \
+ ${PREFIX}/share/gnome/apps/Games
.include <bsd.port.mk>
diff --git a/games/gtetrinet/distinfo b/games/gtetrinet/distinfo
index 816129f116f3..80af5377b5b0 100644
--- a/games/gtetrinet/distinfo
+++ b/games/gtetrinet/distinfo
@@ -1 +1 @@
-MD5 (gtetrinet-0.4.1.tar.gz) = 40c3808a683fcce0bae5c341a7245fa6
+MD5 (gtetrinet-0.4.4.tar.gz) = f199adfd961508356aca457afc012e2c
diff --git a/games/gtetrinet/pkg-plist b/games/gtetrinet/pkg-plist
index 422a50138895..88acba433ae2 100644
--- a/games/gtetrinet/pkg-plist
+++ b/games/gtetrinet/pkg-plist
@@ -1,8 +1,11 @@
bin/gtetrinet
share/gnome/gtetrinet/themes/default/blocks.png
share/gnome/gtetrinet/themes/default/theme.cfg
+share/gnome/gtetrinet/themes/small/blocks.png
+share/gnome/gtetrinet/themes/small/theme.cfg
share/gnome/pixmaps/gtetrinet.png
share/gnome/apps/Games/gtetrinet.desktop
@dirrm share/gnome/gtetrinet/themes/default
+@dirrm share/gnome/gtetrinet/themes/small
@dirrm share/gnome/gtetrinet/themes
@dirrm share/gnome/gtetrinet