diff options
author | tobez <tobez@FreeBSD.org> | 2004-10-22 23:20:32 +0800 |
---|---|---|
committer | tobez <tobez@FreeBSD.org> | 2004-10-22 23:20:32 +0800 |
commit | 817caf63130da17db9dafa1118358602ba8a423d (patch) | |
tree | dbe3703a8e55ee9b889fe8c506af2b457a6daffe /deskutils | |
parent | 6ab1d1e23325310e70b8b0089d6e5552b890dd27 (diff) | |
download | freebsd-ports-gnome-817caf63130da17db9dafa1118358602ba8a423d.tar.gz freebsd-ports-gnome-817caf63130da17db9dafa1118358602ba8a423d.tar.zst freebsd-ports-gnome-817caf63130da17db9dafa1118358602ba8a423d.zip |
Add deskutils/vym 1.5.0.
VYM (View Your Mind) is a tool to generate and manipulate "mind maps".
PR: 72786
Submitted by: Gerrit Beine <tux@pinguru.net>
Diffstat (limited to 'deskutils')
-rw-r--r-- | deskutils/Makefile | 1 | ||||
-rw-r--r-- | deskutils/vym/Makefile | 49 | ||||
-rw-r--r-- | deskutils/vym/distinfo | 2 | ||||
-rw-r--r-- | deskutils/vym/files/patch-floatimageobj.cpp | 15 | ||||
-rw-r--r-- | deskutils/vym/files/patch-linkablemapobj.cpp | 33 | ||||
-rw-r--r-- | deskutils/vym/files/patch-mainwindow.cpp | 11 | ||||
-rw-r--r-- | deskutils/vym/files/patch-mapeditor.cpp | 11 | ||||
-rw-r--r-- | deskutils/vym/files/patch-misc.cpp | 15 | ||||
-rw-r--r-- | deskutils/vym/pkg-descr | 8 | ||||
-rw-r--r-- | deskutils/vym/pkg-plist | 36 |
10 files changed, 181 insertions, 0 deletions
diff --git a/deskutils/Makefile b/deskutils/Makefile index 52c6f70518dd..1abf31c35bf6 100644 --- a/deskutils/Makefile +++ b/deskutils/Makefile @@ -112,6 +112,7 @@ SUBDIR += teapot SUBDIR += treeline SUBDIR += tuxcards + SUBDIR += vym SUBDIR += wmpinboard SUBDIR += xcalendar SUBDIR += xchm diff --git a/deskutils/vym/Makefile b/deskutils/vym/Makefile new file mode 100644 index 000000000000..f8f7becf5660 --- /dev/null +++ b/deskutils/vym/Makefile @@ -0,0 +1,49 @@ +# New ports collection makefile for: vym +# Date created: 17 Oct 2004 +# Whom: Gerrit Beine <tux@pinguru.net> +# +# $FreeBSD$ +# + +PORTNAME= vym +PORTVERSION= 1.5.0 +CATEGORIES= deskutils +MASTER_SITES= http://www.insilmaril.de/vym/download/ +MASTER_SITE_SUBDIR= ${PORTVERSION} + +MAINTAINER= tux@pinguru.net +COMMENT= VYM (View Your Mind) is a tool to generate and manipulate maps + +BUILD_DEPENDS= qmake:${PORTSDIR}/devel/qmake + +USE_QT_VER= 3 +MAKE_ENV= QTDIR="${QT_PREFIX}" + +.include <bsd.port.pre.mk> + +# Add this condititonal while people might still have old versions +# of qmake, living in X11BASE, installed. This should go away eventually. + +.if exists(${X11BASE}/share/qt/mkspecs/freebsd-g++) +QMAKESPEC= ${X11BASE}/share/qt/mkspecs/freebsd-g++ +.else +QMAKESPEC= ${LOCALBASE}/share/qt/mkspecs/freebsd-g++ +.endif + +do-configure: + @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} qmake \ + -spec ${QMAKESPEC} vym.pro + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin + @${MKDIR} ${DATADIR} + @${CP} -R ${WRKSRC}/scripts ${DATADIR} + @${CP} -R ${WRKSRC}/styles ${DATADIR} +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + @${MKDIR} ${EXAMPLESDIR} + @${CP} -R ${WRKSRC}/doc/* ${DOCSDIR} + @${CP} -R ${WRKSRC}/demos/* ${EXAMPLESDIR} +.endif + +.include <bsd.port.post.mk> diff --git a/deskutils/vym/distinfo b/deskutils/vym/distinfo new file mode 100644 index 000000000000..74acec692296 --- /dev/null +++ b/deskutils/vym/distinfo @@ -0,0 +1,2 @@ +MD5 (vym-1.5.0.tar.gz) = 3343b35d1b072e5359c76b9625a21cbb +SIZE (vym-1.5.0.tar.gz) = 326937 diff --git a/deskutils/vym/files/patch-floatimageobj.cpp b/deskutils/vym/files/patch-floatimageobj.cpp new file mode 100644 index 000000000000..1ece7c0af72f --- /dev/null +++ b/deskutils/vym/files/patch-floatimageobj.cpp @@ -0,0 +1,15 @@ +--- floatimageobj.cpp.orig Sun Sep 26 22:45:56 2004 ++++ floatimageobj.cpp Sun Oct 17 17:12:27 2004 +@@ -2,6 +2,12 @@ + #include "branchobj.h" + #include <math.h> + ++#if !defined(HAVE_LRINTF) ++static inline long int lrint(double x) ++{ ++ return (long)(rint(x)); ++} ++#endif + + ///////////////////////////////////////////////////////////////// + // FloatImageObj diff --git a/deskutils/vym/files/patch-linkablemapobj.cpp b/deskutils/vym/files/patch-linkablemapobj.cpp new file mode 100644 index 000000000000..dbdc7306bd4a --- /dev/null +++ b/deskutils/vym/files/patch-linkablemapobj.cpp @@ -0,0 +1,33 @@ +--- linkablemapobj.cpp.orig Fri Sep 24 16:50:15 2004 ++++ linkablemapobj.cpp Thu Oct 21 17:22:44 2004 +@@ -6,6 +6,12 @@ + + #include "version.h" + ++#if !defined(HAVE_LRINTF) ++static inline long int lrint(double x) ++{ ++ return (long)(rint(x)); ++} ++#endif + + ///////////////////////////////////////////////////////////////// + // LinkableMapObj +@@ -400,7 +406,7 @@ + lrint(p1y) ); + + double a; // angle +- if (abs(vx)<0.000001) ++ if (fabs(vx)<0.000001) + a=M_PI_2; + else + a=atan( vy / vx ); +@@ -611,7 +617,7 @@ + double pny; + double m; + +- if (abs(vx) <0.0001) ++ if (fabs(vx) <0.0001) + m=0; + else + m=(vy / (vx*vx)); diff --git a/deskutils/vym/files/patch-mainwindow.cpp b/deskutils/vym/files/patch-mainwindow.cpp new file mode 100644 index 000000000000..daf05aa2cb73 --- /dev/null +++ b/deskutils/vym/files/patch-mainwindow.cpp @@ -0,0 +1,11 @@ +--- mainwindow.cpp.orig Tue Sep 28 14:13:06 2004 ++++ mainwindow.cpp Sun Oct 17 23:49:36 2004 +@@ -53,6 +53,8 @@ + #include "showtextdialog.h" + #include "process.h" + ++#include <unistd.h> ++ + extern TextEditor *textEditor; + extern Main *mainWindow; + extern int statusbarTime; diff --git a/deskutils/vym/files/patch-mapeditor.cpp b/deskutils/vym/files/patch-mapeditor.cpp new file mode 100644 index 000000000000..f2f59f90b5db --- /dev/null +++ b/deskutils/vym/files/patch-mapeditor.cpp @@ -0,0 +1,11 @@ +--- mapeditor.cpp.orig Sun Sep 26 22:45:57 2004 ++++ mapeditor.cpp Sun Oct 17 23:49:21 2004 +@@ -53,6 +53,8 @@ + #include "icons/flag-flash.xpm" + #include "icons/flag-lifebelt.xpm" + ++#include <unistd.h> ++ + extern TextEditor *textEditor; + extern int statusbarTime; + extern Main *mainWindow; diff --git a/deskutils/vym/files/patch-misc.cpp b/deskutils/vym/files/patch-misc.cpp new file mode 100644 index 000000000000..a829799337d6 --- /dev/null +++ b/deskutils/vym/files/patch-misc.cpp @@ -0,0 +1,15 @@ +--- misc.cpp.orig Sun Sep 26 22:45:57 2004 ++++ misc.cpp Sun Oct 17 17:11:40 2004 +@@ -5,6 +5,12 @@ + + #include "misc.h" + ++#if !defined(HAVE_LRINTF) ++static inline long int lrint(double x) ++{ ++ return (long)(rint(x)); ++} ++#endif + + ostream &operator<< (ostream &stream, QPoint const &p) + { diff --git a/deskutils/vym/pkg-descr b/deskutils/vym/pkg-descr new file mode 100644 index 000000000000..42f9755ccfd9 --- /dev/null +++ b/deskutils/vym/pkg-descr @@ -0,0 +1,8 @@ +VYM (View Your Mind) is a tool to generate and manipulate maps which +show your thoughts. Such maps can help you to improve your creativity +and effectivity. You can use them for time management, to organize +tasks, to get an overview over complex contexts, to sort your ideas +etc. Some people even think it is fun to work with such maps... + +WWW: http://www.insilmaril.de/vym/index.html +Author: Uwe Drechsel <vym@insilmaril.de> diff --git a/deskutils/vym/pkg-plist b/deskutils/vym/pkg-plist new file mode 100644 index 000000000000..ebfa0b3c2b11 --- /dev/null +++ b/deskutils/vym/pkg-plist @@ -0,0 +1,36 @@ +bin/vym +%%DATADIR%%/scripts/exportvym +%%DATADIR%%/scripts/vym2html.sh +%%DATADIR%%/scripts/vym2txt.sh +%%DATADIR%%/styles/wiki/answer.gif +%%DATADIR%%/styles/wiki/point.gif +%%DATADIR%%/styles/wiki/question.gif +%%DATADIR%%/styles/cm.xsl +%%DATADIR%%/styles/tm.xsl +%%DATADIR%%/styles/vym.css +%%DATADIR%%/styles/vym2html.xsl +%%DATADIR%%/styles/vym2txt.xsl +%%DATADIR%%/styles/vym2xhtml.xsl +%%PORTDOCS%%%%DOCSDIR%%/tex/branches-flags.png +%%PORTDOCS%%%%DOCSDIR%%/tex/branches.png +%%PORTDOCS%%%%DOCSDIR%%/tex/color-buttons.png +%%PORTDOCS%%%%DOCSDIR%%/tex/default-flags.png +%%PORTDOCS%%%%DOCSDIR%%/tex/example1.png +%%PORTDOCS%%%%DOCSDIR%%/tex/find-window.png +%%PORTDOCS%%%%DOCSDIR%%/tex/flag-url.png +%%PORTDOCS%%%%DOCSDIR%%/tex/flag-vymlink.png +%%PORTDOCS%%%%DOCSDIR%%/tex/formatfixedfont.png +%%PORTDOCS%%%%DOCSDIR%%/tex/move-buttons.png +%%PORTDOCS%%%%DOCSDIR%%/tex/vym.tex +%%PORTDOCS%%%%DOCSDIR%%/tex/windows.png +%%PORTDOCS%%%%DOCSDIR%%/tex/zoom-buttons.png +%%PORTDOCS%%%%EXAMPLESDIR%%/liveform.vym +%%PORTDOCS%%%%EXAMPLESDIR%%/time-management.vym +%%PORTDOCS%%%%EXAMPLESDIR%%/todo.vym +%%PORTDOCS%%@dirrm %%DOCSDIR%%/tex +%%PORTDOCS%%@dirrm %%DOCSDIR%% +%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% +@dirrm %%DATADIR%%/scripts +@dirrm %%DATADIR%%/styles/wiki +@dirrm %%DATADIR%%/styles +@dirrm %%DATADIR%% |