aboutsummaryrefslogtreecommitdiff
path: root/games/gtetrinet/Makefile
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/gtetrinet/Makefile
parent5ce19702ec8584cad6f00c4d4de0d6ae702a0b52 (diff)
downloadports-944b2beebd9b2585ce1fc02b8d0565cd3e472869.tar.gz
ports-944b2beebd9b2585ce1fc02b8d0565cd3e472869.zip
Notes
Diffstat (limited to 'games/gtetrinet/Makefile')
-rw-r--r--games/gtetrinet/Makefile34
1 files changed, 14 insertions, 20 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>