aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-01-12 09:53:12 +0800
committeredwin <edwin@FreeBSD.org>2003-01-12 09:53:12 +0800
commitdb291ab6a2e7b311b3c47957017f5c8473f79121 (patch)
treea6798b4f6a26cec0e26b2f00915dc399665edebd /games
parent5ee3ac2d7982b987222901aba3d9bd608f8fc61e (diff)
downloadfreebsd-ports-gnome-db291ab6a2e7b311b3c47957017f5c8473f79121.tar.gz
freebsd-ports-gnome-db291ab6a2e7b311b3c47957017f5c8473f79121.tar.zst
freebsd-ports-gnome-db291ab6a2e7b311b3c47957017f5c8473f79121.zip
Update port: games/gtetrinet to 0.5.1
PR: ports/46936 Submitted by: KATO Tsuguru <tkato@prontomail.com>
Diffstat (limited to 'games')
-rw-r--r--games/gtetrinet/Makefile34
-rw-r--r--games/gtetrinet/distinfo2
-rw-r--r--games/gtetrinet/pkg-plist6
3 files changed, 19 insertions, 23 deletions
diff --git a/games/gtetrinet/Makefile b/games/gtetrinet/Makefile
index ecff247fb703..1f38cec8c487 100644
--- a/games/gtetrinet/Makefile
+++ b/games/gtetrinet/Makefile
@@ -5,36 +5,30 @@
# $FreeBSD$
PORTNAME= gtetrinet
-PORTVERSION= 0.4.4
+PORTVERSION= 0.5.1
CATEGORIES= games gnome
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= gtetrinet
+MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
+LIB_DEPENDS= gnomeui-2.0:${PORTSDIR}/x11-toolkits/libgnomeui
+
USE_X_PREFIX= yes
-USE_GMAKE= yes
USE_GNOMENG= yes
-USE_GNOME= gtk12 gnomehack gnomeprefix esound gnomelibs gnomehier
+USE_GNOME= gnomehack gnomeprefix esound
+USE_REINPLACE= yes
+USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=
-CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} \
- --bindir=${PREFIX}/bin
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_ARGS= --bindir=${PREFIX}/bin
MAN6= gtetrinet.6
-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
+post-patch:
+ @${REINPLACE_CMD} \
+ 's|[(]prefix[)]/games|{bindir}|g' ${WRKSRC}/src/Makefile.in
.include <bsd.port.mk>
diff --git a/games/gtetrinet/distinfo b/games/gtetrinet/distinfo
index 80af5377b5b0..8495fa662b02 100644
--- a/games/gtetrinet/distinfo
+++ b/games/gtetrinet/distinfo
@@ -1 +1 @@
-MD5 (gtetrinet-0.4.4.tar.gz) = f199adfd961508356aca457afc012e2c
+MD5 (gtetrinet-0.5.1.tar.gz) = 6c6cb382e3d2dad5b21b9c26941a0c91
diff --git a/games/gtetrinet/pkg-plist b/games/gtetrinet/pkg-plist
index 88acba433ae2..9c3135e6eb6c 100644
--- a/games/gtetrinet/pkg-plist
+++ b/games/gtetrinet/pkg-plist
@@ -1,11 +1,13 @@
bin/gtetrinet
+share/gnome/apps/Games/gtetrinet.desktop
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
+share/locale/ca/LC_MESSAGES/gtetrinet.mo
+share/locale/de/LC_MESSAGES/gtetrinet.mo
@dirrm share/gnome/gtetrinet/themes/small
+@dirrm share/gnome/gtetrinet/themes/default
@dirrm share/gnome/gtetrinet/themes
@dirrm share/gnome/gtetrinet