aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2002-11-23 20:18:07 +0800
committerarved <arved@FreeBSD.org>2002-11-23 20:18:07 +0800
commitcbd363708246fd07b1eddf063d2952672012b75d (patch)
tree1e0b2f6cef120a32ee63f2a8ef73d767a56e4d13 /games
parent79f5c10176de543fa9d374c2c69c9efc0a445d1e (diff)
downloadfreebsd-ports-gnome-cbd363708246fd07b1eddf063d2952672012b75d.tar.gz
freebsd-ports-gnome-cbd363708246fd07b1eddf063d2952672012b75d.tar.zst
freebsd-ports-gnome-cbd363708246fd07b1eddf063d2952672012b75d.zip
Upgrade to 0.4.4 which fixes several remote exploits.
Unmark FORBIDDEN. Convert to USE_GNOMENG
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