aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-01-12 01:53:12 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-01-12 01:53:12 +0000
commit944b2beebd9b2585ce1fc02b8d0565cd3e472869 (patch)
tree5e902c8ba270efe51110c9f397a33225ffe1765d /games
parent5ce19702ec8584cad6f00c4d4de0d6ae702a0b52 (diff)
downloadports-944b2beebd9b2585ce1fc02b8d0565cd3e472869.tar.gz
ports-944b2beebd9b2585ce1fc02b8d0565cd3e472869.zip
Notes
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