aboutsummaryrefslogtreecommitdiffstats
path: root/games/gnomegames
diff options
context:
space:
mode:
Diffstat (limited to 'games/gnomegames')
-rw-r--r--games/gnomegames/Makefile14
-rw-r--r--games/gnomegames/pkg-plist75
2 files changed, 6 insertions, 83 deletions
diff --git a/games/gnomegames/Makefile b/games/gnomegames/Makefile
index 94fe101ab2c9..bd985e6ba49c 100644
--- a/games/gnomegames/Makefile
+++ b/games/gnomegames/Makefile
@@ -20,20 +20,18 @@ LIB_DEPENDS= guile.10:${PORTSDIR}/lang/guile
USE_BZIP2= yes
USE_X_PREFIX= yes
USE_GMAKE= yes
-USE_GNOME= yes
+USE_GNOMENG= yes
+USE_GNOME= gnomeprefix gnomehack gnomelibs gdkpixbuf
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include \
`gdk-pixbuf-config --cflags`" \
LIBS="-L${LOCALBASE}/lib"
-pre-patch:
- @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
+post-patch:
+ @${REINPLACE_CMD} -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'
- @find ${WRKSRC} -name "*.[ch]" | xargs ${PERL} -pi -e \
- 's|malloc\.h|stdlib.h|g'
+ @find ${WRKSRC} -name "*.[ch]" | xargs ${REINPLACE_CMD} -e \
+ 's|malloc[.]h|stdlib.h|g'
.include <bsd.port.mk>
diff --git a/games/gnomegames/pkg-plist b/games/gnomegames/pkg-plist
index 3fe0487ac9bb..dbb15df36562 100644
--- a/games/gnomegames/pkg-plist
+++ b/games/gnomegames/pkg-plist
@@ -159,9 +159,7 @@ share/gnome/gnome-stones/default.caves
share/gnome/gnome-stones/gnome-stonesrc
share/gnome/gnome-stones/gnome-stonesrc.ko
share/gnome/gnome-stones/gnomekoban.caves
-share/gnome/gnome-stones/objects/libgnome-stones.a
share/gnome/gnome-stones/objects/libgnome-stones.so
-share/gnome/gnome-stones/objects/libgnomekoban.a
share/gnome/gnome-stones/objects/libgnomekoban.so
share/gnome/gnome-stones/tutorial.caves
share/gnome/help/aisleriot/C/agnes.sgml
@@ -896,37 +894,6 @@ share/locale/uk/LC_MESSAGES/gnome-games.mo
share/locale/wa/LC_MESSAGES/gnome-games.mo
share/locale/zh_CN/LC_MESSAGES/gnome-games.mo
share/locale/zh_TW/LC_MESSAGES/gnome-games.mo
-@dirrm share/gnome/xbill/pixmaps
-@dirrm share/gnome/xbill/cursors
-@dirrm share/gnome/xbill
-@dirrm share/gnome/sounds/iagno
-@dirrm share/gnome/sounds/gnobots2
-@dirrm share/gnome/sounds/gnibbles
-@dirrm share/gnome/sounds/gataxx
-@dirrm share/gnome/sol-games
-@dirrm share/gnome/pixmaps/same-gnome
-@dirrm share/gnome/pixmaps/mahjongg/bg
-@dirrm share/gnome/pixmaps/mahjongg
-@dirrm share/gnome/pixmaps/iagno
-@dirrm share/gnome/pixmaps/gnotravex
-@dirrm share/gnome/pixmaps/gnometris/bg
-@dirrm share/gnome/pixmaps/gnometris
-@dirrm share/gnome/pixmaps/gnome-stones
-@dirrm share/gnome/pixmaps/gnobots2
-@dirrm share/gnome/pixmaps/gnibbles
-@dirrm share/gnome/pixmaps/gnect
-@dirrm share/gnome/pixmaps/glines
-@dirrm share/gnome/pixmaps/gataxx
-@dirrm share/gnome/pixmaps/cards/suits_small
-@dirrm share/gnome/pixmaps/cards/suits_medium
-@dirrm share/gnome/pixmaps/cards/suits_large
-@dirrm share/gnome/pixmaps/cards/slots
-@dirrm share/gnome/pixmaps/cards/ranks
-@dirrm share/gnome/pixmaps/cards/jokers
-@dirrm share/gnome/pixmaps/cards/honors
-@dirrm share/gnome/pixmaps/cards/backs
-@dirrm share/gnome/pixmaps/cards
-@dirrm share/gnome/omf/gnome-games
@dirrm share/gnome/help/same-gnome/ru/stylesheet-images
@dirrm share/gnome/help/same-gnome/ru/figures
@dirrm share/gnome/help/same-gnome/ru
@@ -938,8 +905,6 @@ share/locale/zh_TW/LC_MESSAGES/gnome-games.mo
@dirrm share/gnome/help/same-gnome/es
@dirrm share/gnome/help/same-gnome/C/stylesheet-images
@dirrm share/gnome/help/same-gnome/C/figures
-@dirrm share/gnome/help/same-gnome/C
-@dirrm share/gnome/help/same-gnome
@dirrm share/gnome/help/mahjongg/it/stylesheet-images
@dirrm share/gnome/help/mahjongg/it/figures
@dirrm share/gnome/help/mahjongg/it
@@ -947,9 +912,6 @@ share/locale/zh_TW/LC_MESSAGES/gnome-games.mo
@dirrm share/gnome/help/mahjongg/eu/figures
@dirrm share/gnome/help/mahjongg/eu
@dirrm share/gnome/help/mahjongg/C/stylesheet-images
-@dirrm share/gnome/help/mahjongg/C/figures
-@dirrm share/gnome/help/mahjongg/C
-@dirrm share/gnome/help/mahjongg
@dirrm share/gnome/help/iagno/it/stylesheet-images
@dirrm share/gnome/help/iagno/it/figures
@dirrm share/gnome/help/iagno/it
@@ -957,17 +919,10 @@ share/locale/zh_TW/LC_MESSAGES/gnome-games.mo
@dirrm share/gnome/help/iagno/eu/figures
@dirrm share/gnome/help/iagno/eu
@dirrm share/gnome/help/iagno/C/stylesheet-images
-@dirrm share/gnome/help/iagno/C/figures
-@dirrm share/gnome/help/iagno/C
-@dirrm share/gnome/help/iagno
@dirrm share/gnome/help/gtali/eu/stylesheet-images
@dirrm share/gnome/help/gtali/eu/figures
@dirrm share/gnome/help/gtali/eu
-@dirrm share/gnome/help/gtali/da
@dirrm share/gnome/help/gtali/C/stylesheet-images
-@dirrm share/gnome/help/gtali/C/figures
-@dirrm share/gnome/help/gtali/C
-@dirrm share/gnome/help/gtali
@dirrm share/gnome/help/gnotravex/eu/stylesheet-images
@dirrm share/gnome/help/gnotravex/eu/figures
@dirrm share/gnome/help/gnotravex/eu
@@ -975,16 +930,10 @@ share/locale/zh_TW/LC_MESSAGES/gnome-games.mo
@dirrm share/gnome/help/gnotravex/es/figures
@dirrm share/gnome/help/gnotravex/es
@dirrm share/gnome/help/gnotravex/C/stylesheet-images
-@dirrm share/gnome/help/gnotravex/C/figures
-@dirrm share/gnome/help/gnotravex/C
-@dirrm share/gnome/help/gnotravex
@dirrm share/gnome/help/gnome-stones/it/stylesheet-images
@dirrm share/gnome/help/gnome-stones/it/figures
@dirrm share/gnome/help/gnome-stones/it
@dirrm share/gnome/help/gnome-stones/C/stylesheet-images
-@dirrm share/gnome/help/gnome-stones/C/figures
-@dirrm share/gnome/help/gnome-stones/C
-@dirrm share/gnome/help/gnome-stones
@dirrm share/gnome/help/gnome-mines/eu/stylesheet-images
@dirrm share/gnome/help/gnome-mines/eu/figures
@dirrm share/gnome/help/gnome-mines/eu
@@ -992,27 +941,15 @@ share/locale/zh_TW/LC_MESSAGES/gnome-games.mo
@dirrm share/gnome/help/gnome-mines/C/figures
@dirrm share/gnome/help/gnome-mines/C
@dirrm share/gnome/help/gnome-mines
-@dirrm share/gnome/help/gnobots2/it
@dirrm share/gnome/help/gnobots2/eu/stylesheet-images
@dirrm share/gnome/help/gnobots2/eu/figures
@dirrm share/gnome/help/gnobots2/eu
-@dirrm share/gnome/help/gnobots2/es
-@dirrm share/gnome/help/gnobots2/da
@dirrm share/gnome/help/gnobots2/C/stylesheet-images
-@dirrm share/gnome/help/gnobots2/C/figures
-@dirrm share/gnome/help/gnobots2/C
-@dirrm share/gnome/help/gnobots2
@dirrm share/gnome/help/gnibbles/eu/stylesheet-images
@dirrm share/gnome/help/gnibbles/eu/figures
@dirrm share/gnome/help/gnibbles/eu
@dirrm share/gnome/help/gnibbles/C/stylesheet-images
-@dirrm share/gnome/help/gnibbles/C/figures
-@dirrm share/gnome/help/gnibbles/C
-@dirrm share/gnome/help/gnibbles
@dirrm share/gnome/help/gnect/C/stylesheet-images
-@dirrm share/gnome/help/gnect/C/figures
-@dirrm share/gnome/help/gnect/C
-@dirrm share/gnome/help/gnect
@dirrm share/gnome/help/gataxx/it/stylesheet-images
@dirrm share/gnome/help/gataxx/it/figures
@dirrm share/gnome/help/gataxx/it
@@ -1023,9 +960,6 @@ share/locale/zh_TW/LC_MESSAGES/gnome-games.mo
@dirrm share/gnome/help/gataxx/es/figures
@dirrm share/gnome/help/gataxx/es
@dirrm share/gnome/help/gataxx/C/stylesheet-images
-@dirrm share/gnome/help/gataxx/C/figures
-@dirrm share/gnome/help/gataxx/C
-@dirrm share/gnome/help/gataxx
@dirrm share/gnome/help/aisleriot/it/stylesheet-images
@dirrm share/gnome/help/aisleriot/it/figures
@dirrm share/gnome/help/aisleriot/it
@@ -1033,12 +967,3 @@ share/locale/zh_TW/LC_MESSAGES/gnome-games.mo
@dirrm share/gnome/help/aisleriot/eu/figures
@dirrm share/gnome/help/aisleriot/eu
@dirrm share/gnome/help/aisleriot/C/stylesheet-images
-@dirrm share/gnome/help/aisleriot/C/figures
-@dirrm share/gnome/help/aisleriot/C
-@dirrm share/gnome/help/aisleriot
-@dirrm share/gnome/gnome-stones/objects
-@dirrm share/gnome/gnome-stones
-@dirrm share/gnome/gnobots2
-@dirrm share/gnome/gnibbles
-@dirrm share/gnome/gnect
-@dirrm include/gdkcardimage