aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2001-09-07 14:59:34 +0800
committerlioux <lioux@FreeBSD.org>2001-09-07 14:59:34 +0800
commita6c6c07eb55ff0b1752b971fce7acb9936ba3fd1 (patch)
treeb3139b44e1f1061f5906136b23b7cc3a994f835c /misc
parentbd90f940a6b8bc980adf505a20e85a0e0c5e9855 (diff)
downloadfreebsd-ports-gnome-a6c6c07eb55ff0b1752b971fce7acb9936ba3fd1.tar.gz
freebsd-ports-gnome-a6c6c07eb55ff0b1752b971fce7acb9936ba3fd1.tar.zst
freebsd-ports-gnome-a6c6c07eb55ff0b1752b971fce7acb9936ba3fd1.zip
o update to 0.6
o install additional documentation (support NOPORTDOCS) o add MASTER_SITE_SOURCEFORGE to MASTER_SITES o update DESCR since Englightement is supported PR: 30397 Submitted by: MAINTAINER
Diffstat (limited to 'misc')
-rw-r--r--misc/menushki/Makefile22
-rw-r--r--misc/menushki/distinfo2
-rw-r--r--misc/menushki/files/patch-konst.string.h10
-rw-r--r--misc/menushki/files/patch-konst.ui.dlg.h13
-rw-r--r--misc/menushki/pkg-descr3
-rw-r--r--misc/menushki/pkg-plist5
6 files changed, 51 insertions, 4 deletions
diff --git a/misc/menushki/Makefile b/misc/menushki/Makefile
index 714a418ac7d4..f08cc17c054b 100644
--- a/misc/menushki/Makefile
+++ b/misc/menushki/Makefile
@@ -6,9 +6,11 @@
#
PORTNAME= menushki
-PORTVERSION= 0.4
+PORTVERSION= 0.6
CATEGORIES= misc x11
-MASTER_SITES= http://www.geocities.com/loki_bg/
+MASTER_SITES= http://www.geocities.com/loki_bg/ \
+ ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= pat@databits.net
@@ -16,4 +18,20 @@ USE_X_PREFIX= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
+DOCS= AUTHORS ChangeLog README TODO
+PATCH_CLOSE= editor.cc menushki.cc
+
+post-patch:
+.for files in ${PATCH_CLOSE}
+ @${PERL} -pi -e "s!(tw\.close);!\1\(\);!" ${WRKSRC}/${files}
+.endfor
+
+post-install:
+.ifndef(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for files in ${DOCS}
+ @${INSTALL_DATA} ${WRKSRC}/${files} ${DOCSDIR}
+.endfor
+.endif
+
.include <bsd.port.mk>
diff --git a/misc/menushki/distinfo b/misc/menushki/distinfo
index c27cd9b08ee7..05b08e68512b 100644
--- a/misc/menushki/distinfo
+++ b/misc/menushki/distinfo
@@ -1 +1 @@
-MD5 (menushki-0.4.tar.gz) = 4361fcdac8ddd6e8c87b8cab5d25bc60
+MD5 (menushki-0.6.tar.gz) = cff44749fe162746c73898459ef0aa4d
diff --git a/misc/menushki/files/patch-konst.string.h b/misc/menushki/files/patch-konst.string.h
new file mode 100644
index 000000000000..56300871d0d6
--- /dev/null
+++ b/misc/menushki/files/patch-konst.string.h
@@ -0,0 +1,10 @@
+--- ktools-1.1/include/konst.string.h.orig Thu Sep 6 10:50:02 2001
++++ ktools-1.1/include/konst.string.h Thu Sep 6 10:49:40 2001
+@@ -3,6 +3,7 @@
+
+ #include <string>
+ #include <vector>
++#include <time.h>
+
+ #include "konst.list.h"
+ #include "konst.conf.h"
diff --git a/misc/menushki/files/patch-konst.ui.dlg.h b/misc/menushki/files/patch-konst.ui.dlg.h
new file mode 100644
index 000000000000..a4101fb3f4c8
--- /dev/null
+++ b/misc/menushki/files/patch-konst.ui.dlg.h
@@ -0,0 +1,13 @@
+--- ktools-1.1/include/konst.ui.dlg.h.orig Thu Sep 6 10:51:48 2001
++++ ktools-1.1/include/konst.ui.dlg.h Thu Sep 6 10:53:05 2001
+@@ -4,6 +4,10 @@
+ #include <list>
+ #include <algorithm>
+
++#include <time.h>
++#include <unistd.h>
++#include <sys/types.h>
++
+ #include "konst.conf.h"
+ #include "konst.ui.window.h"
+ #include "konst.ui.menu.h"
diff --git a/misc/menushki/pkg-descr b/misc/menushki/pkg-descr
index 23a1b68deb9e..bc7aac416ffb 100644
--- a/misc/menushki/pkg-descr
+++ b/misc/menushki/pkg-descr
@@ -1,5 +1,6 @@
This program converts the menus between different Window Managers.
-Currently works with Window Maker, KDE, GNOME, BlackBox and IceWM.
+Currently works with WindowMaker, KDE, GNOME, BlackBox, Enlightenment
+and IceWM.
NOTE: for Window Maker you need to have the menu in plain (not
property list) format.
diff --git a/misc/menushki/pkg-plist b/misc/menushki/pkg-plist
index f719f45a1720..3fca614347f7 100644
--- a/misc/menushki/pkg-plist
+++ b/misc/menushki/pkg-plist
@@ -1 +1,6 @@
bin/menushki
+%%PORTDOCS%%share/doc/menushki/AUTHORS
+%%PORTDOCS%%share/doc/menushki/ChangeLog
+%%PORTDOCS%%share/doc/menushki/README
+%%PORTDOCS%%share/doc/menushki/TODO
+%%PORTDOCS%%@dirrm share/doc/menushki