From d868a9e28a01ddf73e23959a39ac90a8039bf641 Mon Sep 17 00:00:00 2001 From: Maxim Sobolev Date: Wed, 28 Aug 2002 07:28:07 +0000 Subject: [PATCH] Update to 0.9.4. --- games/teg/Makefile | 14 ++++---- games/teg/distinfo | 2 +- games/teg/files/patch-server::aux.c | 13 ------- games/teg/pkg-plist | 54 ++++++++++++++--------------- 4 files changed, 33 insertions(+), 50 deletions(-) delete mode 100644 games/teg/files/patch-server::aux.c diff --git a/games/teg/Makefile b/games/teg/Makefile index ccae29426844..63c4de788e8d 100644 --- a/games/teg/Makefile +++ b/games/teg/Makefile @@ -6,7 +6,7 @@ # PORTNAME= teg -PORTVERSION= 0.9.2 +PORTVERSION= 0.9.4 CATEGORIES= games gnome MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -15,18 +15,16 @@ MAINTAINER= sobomax@FreeBSD.org USE_X_PREFIX= yes USE_GMAKE= yes -USE_GNOME= yes +USE_GNOMENG= yes +USE_GNOME= gnomeprefix gnomehack gnomelibs GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib -lintl" -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]" -type f | xargs ${PERL} -pi -e \ + @find ${WRKSRC} -name "*.[ch]" -type f | xargs ${REINPLACE_CMD} -e \ 's|LIST_NEXT|TEG_LIST_NEXT|g' .include diff --git a/games/teg/distinfo b/games/teg/distinfo index c5a9fcdc8d02..818ecad40de5 100644 --- a/games/teg/distinfo +++ b/games/teg/distinfo @@ -1 +1 @@ -MD5 (teg-0.9.2.tar.gz) = c320398ec0c626eddaa5efb96af3ea89 +MD5 (teg-0.9.4.tar.gz) = 95d730dfb9fffe048c753e4d06dbe39a diff --git a/games/teg/files/patch-server::aux.c b/games/teg/files/patch-server::aux.c deleted file mode 100644 index fafc75fd2718..000000000000 --- a/games/teg/files/patch-server::aux.c +++ /dev/null @@ -1,13 +0,0 @@ - -$FreeBSD$ - ---- server/aux.c 2001/04/12 12:54:48 1.1 -+++ server/aux.c 2001/04/12 12:55:13 -@@ -28,6 +28,7 @@ - #include - #include - #include -+#include - #include - #include - #include diff --git a/games/teg/pkg-plist b/games/teg/pkg-plist index b1ffee9a4152..6eb3611f7887 100644 --- a/games/teg/pkg-plist +++ b/games/teg/pkg-plist @@ -2,42 +2,36 @@ bin/tegclient bin/tegrobot bin/tegserver share/gnome/apps/Games/teg.desktop -share/gnome/help/teg/C/armies1.html -share/gnome/help/teg/C/attack.html -share/gnome/help/teg/C/attack2.html -share/gnome/help/teg/C/book1.html share/gnome/help/teg/C/cbugs.html share/gnome/help/teg/C/chistory.html -share/gnome/help/teg/C/cintro.html -share/gnome/help/teg/C/commands.html -share/gnome/help/teg/C/connect.png share/gnome/help/teg/C/crisk.html share/gnome/help/teg/C/crules.html -share/gnome/help/teg/C/dices.png -share/gnome/help/teg/C/docbook.css +share/gnome/help/teg/C/figures/connect.png +share/gnome/help/teg/C/figures/dices.png +share/gnome/help/teg/C/figures/mission.png +share/gnome/help/teg/C/figures/selectcolor.png +share/gnome/help/teg/C/figures/server.png +share/gnome/help/teg/C/figures/toolbar_start.png share/gnome/help/teg/C/index.html -share/gnome/help/teg/C/ln8.html share/gnome/help/teg/C/mission.html -share/gnome/help/teg/C/mission.png -share/gnome/help/teg/C/newturn.html -share/gnome/help/teg/C/selectcolor.png share/gnome/help/teg/C/server.html -share/gnome/help/teg/C/server.png -share/gnome/help/teg/C/starting.html -share/gnome/help/teg/C/stylesheet-images/caution.gif -share/gnome/help/teg/C/stylesheet-images/home.gif -share/gnome/help/teg/C/stylesheet-images/important.gif -share/gnome/help/teg/C/stylesheet-images/next.gif -share/gnome/help/teg/C/stylesheet-images/note.gif -share/gnome/help/teg/C/stylesheet-images/prev.gif -share/gnome/help/teg/C/stylesheet-images/tip.gif -share/gnome/help/teg/C/stylesheet-images/toc-blank.gif -share/gnome/help/teg/C/stylesheet-images/toc-minus.gif -share/gnome/help/teg/C/stylesheet-images/toc-plus.gif -share/gnome/help/teg/C/stylesheet-images/up.gif -share/gnome/help/teg/C/stylesheet-images/warning.gif -share/gnome/help/teg/C/toolbar_start.png +share/gnome/help/teg/C/teg.sgml share/gnome/help/teg/C/topic.dat +share/gnome/help/teg/pl/cbugs.html +share/gnome/help/teg/pl/chistory.html +share/gnome/help/teg/pl/crisk.html +share/gnome/help/teg/pl/crules.html +share/gnome/help/teg/pl/figures/connect.png +share/gnome/help/teg/pl/figures/dices.png +share/gnome/help/teg/pl/figures/mission.png +share/gnome/help/teg/pl/figures/selectcolor.png +share/gnome/help/teg/pl/figures/server.png +share/gnome/help/teg/pl/figures/toolbar_start.png +share/gnome/help/teg/pl/index.html +share/gnome/help/teg/pl/mission.html +share/gnome/help/teg/pl/server.html +share/gnome/help/teg/pl/teg.sgml +share/gnome/help/teg/pl/topic.dat share/gnome/pixmaps/teg_icono.png share/gnome/pixmaps/teg_pix/objetivo.png share/gnome/pixmaps/teg_pix/soldier_black.png @@ -182,6 +176,10 @@ share/locale/pl/LC_MESSAGES/teg.mo @dirrm share/gnome/pixmaps/teg_pix/themes/modern @dirrm share/gnome/pixmaps/teg_pix/themes @dirrm share/gnome/pixmaps/teg_pix +@dirrm share/gnome/help/teg/pl/stylesheet-images +@dirrm share/gnome/help/teg/pl/figures +@dirrm share/gnome/help/teg/pl @dirrm share/gnome/help/teg/C/stylesheet-images +@dirrm share/gnome/help/teg/C/figures @dirrm share/gnome/help/teg/C @dirrm share/gnome/help/teg