summaryrefslogtreecommitdiffstats
path: root/misc/menushki
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2001-09-07 06:59:34 +0000
committerlioux <lioux@FreeBSD.org>2001-09-07 06:59:34 +0000
commita6c6c07eb55ff0b1752b971fce7acb9936ba3fd1 (patch)
treeb3139b44e1f1061f5906136b23b7cc3a994f835c /misc/menushki
parentbd90f940a6b8bc980adf505a20e85a0e0c5e9855 (diff)
downloadFreeBSD-ports-a6c6c07eb55ff0b1752b971fce7acb9936ba3fd1.zip
FreeBSD-ports-a6c6c07eb55ff0b1752b971fce7acb9936ba3fd1.tar.gz
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/menushki')
-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 714a418..f08cc17 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 c27cd9b..05b08e6 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 0000000..5630087
--- /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 0000000..a4101fb
--- /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 23a1b68..bc7aac4 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 f719f45..3fca614 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
OpenPOWER on IntegriCloud