aboutsummaryrefslogtreecommitdiffstats
path: root/games/gtetrinet/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/gtetrinet/Makefile')
-rw-r--r--games/gtetrinet/Makefile15
1 files changed, 6 insertions, 9 deletions
diff --git a/games/gtetrinet/Makefile b/games/gtetrinet/Makefile
index b97822776a3d..b387fd16c538 100644
--- a/games/gtetrinet/Makefile
+++ b/games/gtetrinet/Makefile
@@ -5,10 +5,10 @@
# $FreeBSD$
PORTNAME= gtetrinet
-PORTVERSION= 0.7.2
+PORTVERSION= 0.7.5
CATEGORIES= games gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
-MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.7
+MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:R}
DIST_SUBDIR= gnome2
MAINTAINER= flynn@energyhq.es.eu.org
@@ -16,20 +16,17 @@ COMMENT= A version of the popular TetriNET multiplayer tetris clone
USE_BZIP2= yes
USE_X_PREFIX= yes
-USE_GNOME= gnomehack gnomeprefix gnomehier esound libgnomeui
-USE_REINPLACE= yes
+USE_GNOME= esound gnomehack gnomeprefix gnometarget libgnomeui
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
-CONFIGURE_ARGS= --bindir=${PREFIX}/bin
+CONFIGURE_ARGS= --bindir=${PREFIX}/bin --enable-ipv6
MAN6= gtetrinet.6
post-patch:
- @${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${REINPLACE_CMD} \
- 's|[(]prefix[)]/games|{bindir}|g ; \
- s|[(]libdir[)]/locale|(prefix)/share/locale|g'
+ @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|[(]prefix[)]/games|{bindir}|g'
.include <bsd.port.mk>