aboutsummaryrefslogtreecommitdiff
path: root/games/gnomechess
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-01-05 16:42:39 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-01-05 16:42:39 +0000
commitdd5e28909413fb8c1bbf20726385052b32c9513d (patch)
tree8bf237e3916e75693f62d4e3e6ffb50577d5f594 /games/gnomechess
parent5d8e0ae0b6c9d183c915c620c3ff317ab55ae55e (diff)
downloadports-dd5e28909413fb8c1bbf20726385052b32c9513d.tar.gz
ports-dd5e28909413fb8c1bbf20726385052b32c9513d.zip
Notes
Diffstat (limited to 'games/gnomechess')
-rw-r--r--games/gnomechess/Makefile13
1 files changed, 3 insertions, 10 deletions
diff --git a/games/gnomechess/Makefile b/games/gnomechess/Makefile
index fe0bbc6d2b8f..98ac4a7a245d 100644
--- a/games/gnomechess/Makefile
+++ b/games/gnomechess/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gnomechess
PORTVERSION= 0.3.3
+PORTREVISION= 1
CATEGORIES= games gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/gnome-chess/0.3
@@ -20,17 +21,9 @@ RUN_DEPENDS= crafty:${PORTSDIR}/games/crafty
USE_X_PREFIX= yes
USE_GMAKE= yes
-USE_GNOME= yes
-USE_PERL5_BUILD=yes
+USE_GNOME= gnomecanvas gnomehack gnomeprefix libglade
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LIBS="-L${LOCALBASE}/lib"
-
-pre-patch:
- @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
- s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
- @${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${PERL} -pi -e \
- 's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
- s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
+ LDFLAGS="-L${LOCALBASE}/lib"
.include <bsd.port.mk>