aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/kmud/Makefile19
-rw-r--r--net/kmud/distinfo2
-rw-r--r--net/kmud/files/patch-aa20
-rw-r--r--net/kmud/pkg-plist41
4 files changed, 68 insertions, 14 deletions
diff --git a/net/kmud/Makefile b/net/kmud/Makefile
index 273427f019c5..db65b8d5058d 100644
--- a/net/kmud/Makefile
+++ b/net/kmud/Makefile
@@ -6,18 +6,27 @@
#
PORTNAME= kmud
-PORTVERSION= 0.4.1
-PORTREVISION= 1
+PORTVERSION= 0.5
CATEGORIES= net
-MASTER_SITES= ftp://ftp.kmud.de/pub/kmud/
+MASTER_SITES= ${MASTER_SITE_SUNSITE} \
+ ftp://ftp.kmud.de/pub/kmud/
+MASTER_SITE_SUBDIR= games/muds
MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= kdecore.3:${PORTSDIR}/x11/kdelibs11
BUILD_DEPENDS= gettext:${PORTSDIR}/devel/gettext
+RUN_DEPENDS= kdehelp:${PORTSDIR}/x11/kdebase11
-GNU_CONFIGURE= yes
-USE_GMAKE= yes
USE_QT= yes
+USE_LIBTOOL= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LIBS="-L${LOCALBASE}/lib" \
+ QTDIR="${X11BASE}"
+CONFIGURE_ARGS= --with-qt-includes=${X11BASE}/include/X11/qt \
+ --with-qt-libraries=${X11BASE}/lib
+
+pre-patch:
+ @${PERL} -pi -e "s|-ldl ||g" ${WRKSRC}/kmud/Makefile.in
.include <bsd.port.mk>
diff --git a/net/kmud/distinfo b/net/kmud/distinfo
index fcc5757e5956..778069454174 100644
--- a/net/kmud/distinfo
+++ b/net/kmud/distinfo
@@ -1 +1 @@
-MD5 (kmud-0.4.1.tar.gz) = 91c5e6125ca57debc823dfaeb549d97e
+MD5 (kmud-0.5.tar.gz) = 9073d50272a3fe0ce04cb321607cfc62
diff --git a/net/kmud/files/patch-aa b/net/kmud/files/patch-aa
new file mode 100644
index 000000000000..3ebd3b74b925
--- /dev/null
+++ b/net/kmud/files/patch-aa
@@ -0,0 +1,20 @@
+--- kmud/cpluginmanager.cpp.orig Sun Nov 5 07:55:13 2000
++++ kmud/cpluginmanager.cpp Thu Jan 18 05:20:32 2001
+@@ -109,7 +109,7 @@
+ int i;
+ void* handle=NULL;
+ KmudPlugin* (*create_function)(void);
+- char* error;
++ const char* error;
+ bool b;
+
+ // search plugin
+@@ -229,7 +229,7 @@
+ PluginInfo* info;
+ int i;
+ bool b;
+- char* error;
++ const char* error;
+ QString name;
+
+ // search plugin
diff --git a/net/kmud/pkg-plist b/net/kmud/pkg-plist
index 3d61e195a435..0eaf3b9ead3d 100644
--- a/net/kmud/pkg-plist
+++ b/net/kmud/pkg-plist
@@ -1,9 +1,28 @@
bin/kmud
share/applnk/Games/kmud.kdelnk
+share/apps/kmud/toolbar/kmud_aliases.xpm
+share/apps/kmud/toolbar/kmud_connectionwizard.xpm
+share/apps/kmud/toolbar/kmud_create.xpm
+share/apps/kmud/toolbar/kmud_disconnect.xpm
+share/apps/kmud/toolbar/kmud_eraser.xpm
+share/apps/kmud/toolbar/kmud_follow.xpm
+share/apps/kmud/toolbar/kmud_grid.xpm
+share/apps/kmud/toolbar/kmud_log.xpm
+share/apps/kmud/toolbar/kmud_lvldown.xpm
+share/apps/kmud/toolbar/kmud_lvlup.xpm
+share/apps/kmud/toolbar/kmud_mapper.xpm
+share/apps/kmud/toolbar/kmud_null.xpm
+share/apps/kmud/toolbar/kmud_path.xpm
+share/apps/kmud/toolbar/kmud_pointer.xpm
+share/apps/kmud/toolbar/kmud_quickconnect.xpm
+share/apps/kmud/toolbar/kmud_room.xpm
+share/apps/kmud/toolbar/kmud_text.xpm
+share/apps/kmud/toolbar/kmud_triggers.xpm
share/doc/HTML/de/kmud/index-1.html
share/doc/HTML/de/kmud/index-2.html
share/doc/HTML/de/kmud/index-3.html
share/doc/HTML/de/kmud/index-4.html
+share/doc/HTML/de/kmud/index-5.html
share/doc/HTML/de/kmud/index.html
share/doc/HTML/de/kmud/logotp3.gif
share/doc/HTML/de/kmud/logotp3.png
@@ -11,9 +30,18 @@ share/doc/HTML/en/kmud/index-1.html
share/doc/HTML/en/kmud/index-2.html
share/doc/HTML/en/kmud/index-3.html
share/doc/HTML/en/kmud/index-4.html
+share/doc/HTML/en/kmud/index-5.html
share/doc/HTML/en/kmud/index.html
share/doc/HTML/en/kmud/logotp3.gif
share/doc/HTML/en/kmud/logotp3.png
+share/doc/HTML/fr/kmud/index-1.html
+share/doc/HTML/fr/kmud/index-2.html
+share/doc/HTML/fr/kmud/index-3.html
+share/doc/HTML/fr/kmud/index-4.html
+share/doc/HTML/fr/kmud/index-5.html
+share/doc/HTML/fr/kmud/index.html
+share/doc/HTML/fr/kmud/logotp3.gif
+share/doc/HTML/fr/kmud/logotp3.png
share/doc/HTML/ru/kmud/index-1.html
share/doc/HTML/ru/kmud/index-2.html
share/doc/HTML/ru/kmud/index-3.html
@@ -30,16 +58,10 @@ share/doc/HTML/sv/kmud/logotp3.gif
share/doc/HTML/sv/kmud/logotp3.png
share/icons/kmud.xpm
share/icons/mini/kmud.xpm
-share/icons/mini/kmud_aliases.xpm
-share/icons/mini/kmud_connectionwizard.xpm
-share/icons/mini/kmud_disconnect.xpm
-share/icons/mini/kmud_logoff.xpm
-share/icons/mini/kmud_logon.xpm
-share/icons/mini/kmud_null.xpm
-share/icons/mini/kmud_quickconnect.xpm
-share/icons/mini/kmud_triggers.xpm
share/locale/de/LC_MESSAGES/kmud.mo
+share/locale/es/LC_MESSAGES/kmud.mo
share/locale/fr/LC_MESSAGES/kmud.mo
+share/locale/pt_BR/LC_MESSAGES/kmud.mo
share/locale/ru/LC_MESSAGES/kmud.mo
share/locale/sv/LC_MESSAGES/kmud.mo
@unexec rmdir %D/share/locale/*/LC_MESSAGES 2>/dev/null || true
@@ -47,5 +69,8 @@ share/locale/sv/LC_MESSAGES/kmud.mo
@unexec rmdir %D/share/locale 2>/dev/null || true
@dirrm share/doc/HTML/sv/kmud
@dirrm share/doc/HTML/ru/kmud
+@dirrm share/doc/HTML/fr/kmud
@dirrm share/doc/HTML/en/kmud
@dirrm share/doc/HTML/de/kmud
+@dirrm share/apps/kmud/toolbar
+@dirrm share/apps/kmud