ports/72786: New port: deskutils/vym VYM (View Your Mind) is a tool to generate and manipulate maps
Gerrit Beine
tux at pinguru.net
Sun Oct 17 22:00:46 UTC 2004
The following reply was made to PR ports/72786; it has been noted by GNATS.
From: Gerrit Beine <tux at pinguru.net>
To: freebsd-gnats-submit at FreeBSD.org, tux at pinguru.net
Cc:
Subject: Re: ports/72786: New port: deskutils/vym VYM (View Your Mind) is
a tool to generate and manipulate maps
Date: Sun, 17 Oct 2004 23:56:39 +0200
This is a multi-part message in MIME format.
--------------080505040004090002010503
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
> I was unable to build this port without adding #include <unistd.h> to
> mainwindow.cpp, mapeditor.cpp (the compilation failed on my
> 4.10-STABLE due to undeclared mkdtemp() function).
This should be fixed now.
So long...
Gerrit
--
Der einfachste Weg zum Herzen einer Frau ist Aufrichtigkeit.
Wenn Du die vortäuschen kannst, dann hast Du es schon geschafft.
mail tux at pinguru.net
icq 123851585
web http://arme-und-beine.de
--------------080505040004090002010503
Content-Type: text/plain;
name="vym.shar"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="vym.shar"
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# vym
# vym/Makefile
# vym/files
# vym/files/patch-mainwindow.cpp
# vym/files/patch-mapeditor.cpp
# vym/files/patch-floatimageobj.cpp
# vym/files/patch-linkablemapobj.cpp
# vym/files/patch-misc.cpp
# vym/distinfo
# vym/pkg-descr
# vym/pkg-plist
#
echo c - vym
mkdir -p vym > /dev/null 2>&1
echo x - vym/Makefile
sed 's/^X//' >vym/Makefile << 'END-of-vym/Makefile'
X# New ports collection makefile for: vym
X# Date created: 17 Oct 2004
X# Whom: Gerrit Beine <tux at pinguru.net>
X#
X# $FreeBSD:$
X#
X
XPORTNAME= vym
XPORTVERSION= 1.5.0
XCATEGORIES= deskutils
XMASTER_SITES= http://www.insilmaril.de/vym/download/
XMASTER_SITE_SUBDIR= ${PORTVERSION}
X
XMAINTAINER= tux at pinguru.net
XCOMMENT= VYM (View Your Mind) is a tool to generate and manipulate maps
X
XBUILD_DEPENDS= qmake:${PORTSDIR}/devel/qmake
X
XUSE_QT_VER= 3
XMAKE_ENV= QTDIR="${QT_PREFIX}"
X
X.include <bsd.port.pre.mk>
X
X# Add this condititonal while people might still have old versions
X# of qmake, living in X11BASE, installed. This should go away eventually.
X
X.if exists(${X11BASE}/share/qt/mkspecs/freebsd-g++)
XQMAKESPEC= ${X11BASE}/share/qt/mkspecs/freebsd-g++
X.else
XQMAKESPEC= ${LOCALBASE}/share/qt/mkspecs/freebsd-g++
X.endif
X
Xdo-configure:
X @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} qmake \
X -spec ${QMAKESPEC} vym.pro
X
Xdo-install:
X ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
X @${MKDIR} ${DATADIR}
X @${CP} -R ${WRKSRC}/scripts ${DATADIR}
X @${CP} -R ${WRKSRC}/styles ${DATADIR}
X.if !defined(NOPORTDOCS)
X @${MKDIR} ${DOCSDIR}
X @${MKDIR} ${EXAMPLESDIR}
X @${CP} -R ${WRKSRC}/doc/* ${DOCSDIR}
X @${CP} -R ${WRKSRC}/demos/* ${EXAMPLESDIR}
X.endif
X
X.include <bsd.port.post.mk>
END-of-vym/Makefile
echo c - vym/files
mkdir -p vym/files > /dev/null 2>&1
echo x - vym/files/patch-mainwindow.cpp
sed 's/^X//' >vym/files/patch-mainwindow.cpp << 'END-of-vym/files/patch-mainwindow.cpp'
X--- mainwindow.cpp.orig Tue Sep 28 14:13:06 2004
X+++ mainwindow.cpp Sun Oct 17 23:49:36 2004
X@@ -53,6 +53,8 @@
X #include "showtextdialog.h"
X #include "process.h"
X
X+#include <unistd.h>
X+
X extern TextEditor *textEditor;
X extern Main *mainWindow;
X extern int statusbarTime;
END-of-vym/files/patch-mainwindow.cpp
echo x - vym/files/patch-mapeditor.cpp
sed 's/^X//' >vym/files/patch-mapeditor.cpp << 'END-of-vym/files/patch-mapeditor.cpp'
X--- mapeditor.cpp.orig Sun Sep 26 22:45:57 2004
X+++ mapeditor.cpp Sun Oct 17 23:49:21 2004
X@@ -53,6 +53,8 @@
X #include "icons/flag-flash.xpm"
X #include "icons/flag-lifebelt.xpm"
X
X+#include <unistd.h>
X+
X extern TextEditor *textEditor;
X extern int statusbarTime;
X extern Main *mainWindow;
END-of-vym/files/patch-mapeditor.cpp
echo x - vym/files/patch-floatimageobj.cpp
sed 's/^X//' >vym/files/patch-floatimageobj.cpp << 'END-of-vym/files/patch-floatimageobj.cpp'
X--- floatimageobj.cpp.orig Sun Sep 26 22:45:56 2004
X+++ floatimageobj.cpp Sun Oct 17 17:12:27 2004
X@@ -2,6 +2,12 @@
X #include "branchobj.h"
X #include <math.h>
X
X+#if !defined(HAVE_LRINTF)
X+static inline long int lrint(double x)
X+{
X+ return (long)(rint(x));
X+}
X+#endif
X
X /////////////////////////////////////////////////////////////////
X // FloatImageObj
END-of-vym/files/patch-floatimageobj.cpp
echo x - vym/files/patch-linkablemapobj.cpp
sed 's/^X//' >vym/files/patch-linkablemapobj.cpp << 'END-of-vym/files/patch-linkablemapobj.cpp'
X--- linkablemapobj.cpp.orig Fri Sep 24 16:50:15 2004
X+++ linkablemapobj.cpp Sun Oct 17 17:11:44 2004
X@@ -6,6 +6,12 @@
X
X #include "version.h"
X
X+#if !defined(HAVE_LRINTF)
X+static inline long int lrint(double x)
X+{
X+ return (long)(rint(x));
X+}
X+#endif
X
X /////////////////////////////////////////////////////////////////
X // LinkableMapObj
END-of-vym/files/patch-linkablemapobj.cpp
echo x - vym/files/patch-misc.cpp
sed 's/^X//' >vym/files/patch-misc.cpp << 'END-of-vym/files/patch-misc.cpp'
X--- misc.cpp.orig Sun Sep 26 22:45:57 2004
X+++ misc.cpp Sun Oct 17 17:11:40 2004
X@@ -5,6 +5,12 @@
X
X #include "misc.h"
X
X+#if !defined(HAVE_LRINTF)
X+static inline long int lrint(double x)
X+{
X+ return (long)(rint(x));
X+}
X+#endif
X
X ostream &operator<< (ostream &stream, QPoint const &p)
X {
END-of-vym/files/patch-misc.cpp
echo x - vym/distinfo
sed 's/^X//' >vym/distinfo << 'END-of-vym/distinfo'
XMD5 (vym-1.5.0.tar.gz) = 3343b35d1b072e5359c76b9625a21cbb
XSIZE (vym-1.5.0.tar.gz) = 326937
END-of-vym/distinfo
echo x - vym/pkg-descr
sed 's/^X//' >vym/pkg-descr << 'END-of-vym/pkg-descr'
XVYM (View Your Mind) is a tool to generate and manipulate maps which
Xshow your thoughts. Such maps can help you to improve your creativity
Xand effectivity. You can use them for time management, to organize
Xtasks, to get an overview over complex contexts, to sort your ideas
Xetc. Some people even think it is fun to work with such maps...
X
XWWW: http://www.insilmaril.de/vym/index.html
XAuthor: Uwe Drechsel <vym at insilmaril.de>
END-of-vym/pkg-descr
echo x - vym/pkg-plist
sed 's/^X//' >vym/pkg-plist << 'END-of-vym/pkg-plist'
Xbin/vym
X%%DATADIR%%/scripts/exportvym
X%%DATADIR%%/scripts/vym2html.sh
X%%DATADIR%%/scripts/vym2txt.sh
X%%DATADIR%%/styles/wiki/answer.gif
X%%DATADIR%%/styles/wiki/point.gif
X%%DATADIR%%/styles/wiki/question.gif
X%%DATADIR%%/styles/cm.xsl
X%%DATADIR%%/styles/tm.xsl
X%%DATADIR%%/styles/vym.css
X%%DATADIR%%/styles/vym2html.xsl
X%%DATADIR%%/styles/vym2txt.xsl
X%%DATADIR%%/styles/vym2xhtml.xsl
X%%PORTDOCS%%%%DOCSDIR%%/tex/branches-flags.png
X%%PORTDOCS%%%%DOCSDIR%%/tex/branches.png
X%%PORTDOCS%%%%DOCSDIR%%/tex/color-buttons.png
X%%PORTDOCS%%%%DOCSDIR%%/tex/default-flags.png
X%%PORTDOCS%%%%DOCSDIR%%/tex/example1.png
X%%PORTDOCS%%%%DOCSDIR%%/tex/find-window.png
X%%PORTDOCS%%%%DOCSDIR%%/tex/flag-url.png
X%%PORTDOCS%%%%DOCSDIR%%/tex/flag-vymlink.png
X%%PORTDOCS%%%%DOCSDIR%%/tex/formatfixedfont.png
X%%PORTDOCS%%%%DOCSDIR%%/tex/move-buttons.png
X%%PORTDOCS%%%%DOCSDIR%%/tex/vym.tex
X%%PORTDOCS%%%%DOCSDIR%%/tex/windows.png
X%%PORTDOCS%%%%DOCSDIR%%/tex/zoom-buttons.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/liveform.vym
X%%PORTDOCS%%%%EXAMPLESDIR%%/time-management.vym
X%%PORTDOCS%%%%EXAMPLESDIR%%/todo.vym
X%%PORTDOCS%%@dirrm %%DOCSDIR%%/tex
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
X%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
X at dirrm %%DATADIR%%/scripts
X at dirrm %%DATADIR%%/styles/wiki
X at dirrm %%DATADIR%%/styles
X at dirrm %%DATADIR%%
END-of-vym/pkg-plist
exit
--------------080505040004090002010503--
More information about the freebsd-ports-bugs
mailing list