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