aboutsummaryrefslogtreecommitdiffstats
path: root/games/gtetrinet/Makefile
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/gtetrinet/Makefile
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/gtetrinet/Makefile')
-rw-r--r--games/gtetrinet/Makefile28
1 files changed, 21 insertions, 7 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>