summaryrefslogtreecommitdiffstats
path: root/games/gnomechess/Makefile
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-01-05 16:42:39 +0000
committerkrion <krion@FreeBSD.org>2004-01-05 16:42:39 +0000
commit6d08cc1459466e5511eeddbfd79cd3abeef5b3de (patch)
treed06b717507ade7e401a22614b494354ed55f7368 /games/gnomechess/Makefile
parent13b882a44e52693fb979d1564061e3a928afb529 (diff)
downloadFreeBSD-ports-6d08cc1459466e5511eeddbfd79cd3abeef5b3de.zip
FreeBSD-ports-6d08cc1459466e5511eeddbfd79cd3abeef5b3de.tar.gz
- Rearrange USE_GNOME
PR: 60929 Submitted by: Ports Fury
Diffstat (limited to 'games/gnomechess/Makefile')
-rw-r--r--games/gnomechess/Makefile13
1 files changed, 3 insertions, 10 deletions
diff --git a/games/gnomechess/Makefile b/games/gnomechess/Makefile
index fe0bbc6..98ac4a7 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>
OpenPOWER on IntegriCloud