summaryrefslogtreecommitdiff
path: root/deskutils
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2004-11-29 09:39:52 +0000
committerThierry Thomas <thierry@FreeBSD.org>2004-11-29 09:39:52 +0000
commit12c2fcd1eb9a162d959e47d5e168d17cb6cb316e (patch)
tree50c7f9e21e38875c48f22624dcd1de88c2a560a1 /deskutils
parent- As discussed on apache@, don't create httpd.conf.bak, and remove stalled (diff)
Add freemind 0.7.1, free mind-mapping software written in Java.
PR: 72806 Submitted by: cartola (Carlos E. G. Carvalho)
Notes
Notes: svn path=/head/; revision=122744
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/Makefile1
-rw-r--r--deskutils/freemind/Makefile54
-rw-r--r--deskutils/freemind/distinfo2
-rw-r--r--deskutils/freemind/pkg-descr24
-rw-r--r--deskutils/freemind/pkg-plist12
5 files changed, 93 insertions, 0 deletions
diff --git a/deskutils/Makefile b/deskutils/Makefile
index 2fdca6f1de79..dc158f50f4e5 100644
--- a/deskutils/Makefile
+++ b/deskutils/Makefile
@@ -17,6 +17,7 @@
SUBDIR += dragstack
SUBDIR += drivel
SUBDIR += egroupware
+ SUBDIR += freemind
SUBDIR += fusenshi
SUBDIR += gaddr
SUBDIR += ganttproject
diff --git a/deskutils/freemind/Makefile b/deskutils/freemind/Makefile
new file mode 100644
index 000000000000..9fd129786386
--- /dev/null
+++ b/deskutils/freemind/Makefile
@@ -0,0 +1,54 @@
+# New ports collection makefile for: freemind
+# Date created: 22 september 2004
+# Whom: cartola (Carlos E. G. Carvalho)
+#
+# $FreeBSD$
+#
+
+PORTNAME= freemind
+PORTVERSION= 0.7.1
+CATEGORIES= deskutils editors java
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= freemind
+DISTNAME= ${PORTNAME}-bin-${PORTVERSION:S/./_/g}
+
+MAINTAINER= cartola@openit.com.br
+COMMENT= Free mind-mapping software written in Java
+
+.if defined(ZIPDEPENDS)
+BUILD_DEPENDS+= unzip:${PORTSDIR}/archivers/unzip
+.endif
+.if !exists(/usr/bin/zip)
+BUILD_DEPENDS+= zip:${PORTSDIR}/archivers/zip
+.endif
+
+USE_ZIP= yes
+USE_JAVA= yes
+JAVA_VERSION= 1.4+
+USE_REINPLACE= yes
+
+PLIST_SUB= VER=${PORTVERSION}
+
+EXTRACT_AFTER_ARGS= -d ${WRKSRC}
+ZIP_CMD= zip
+
+do-build:
+ (cd ${WRKSRC}; \
+ ${UNZIP_CMD} lib/freemind.jar freemind.properties; \
+ ${REINPLACE_CMD} -e '/^properties_folder/ s/freemind/.&/; s|./doc/freemind.mm|${PREFIX}/${PORTNAME}-${PORTVERSION}/doc/freemind.mm|' freemind.properties; \
+ ${ZIP_CMD} -u lib/freemind.jar freemind.properties)
+
+do-install:
+ ${MKDIR} ${PREFIX}/${PORTNAME}-${PORTVERSION}/accessories
+ ${MKDIR} ${PREFIX}/${PORTNAME}-${PORTVERSION}/doc
+ ${MKDIR} ${PREFIX}/${PORTNAME}-${PORTVERSION}/lib
+ ${INSTALL_DATA} ${WRKSRC}/user.properties ${PREFIX}/${PORTNAME}-${PORTVERSION}
+ ${INSTALL_DATA} ${WRKSRC}/license ${PREFIX}/${PORTNAME}-${PORTVERSION}
+ ${INSTALL_DATA} ${WRKSRC}/patterns.xml ${PREFIX}/${PORTNAME}-${PORTVERSION}
+ ${INSTALL_DATA} ${WRKSRC}/accessories/* ${PREFIX}/${PORTNAME}-${PORTVERSION}/accessories
+ ${INSTALL_DATA} ${WRKSRC}/doc/freemind.mm ${PREFIX}/${PORTNAME}-${PORTVERSION}/doc
+ ${INSTALL_DATA} ${WRKSRC}/lib/freemind.jar ${PREFIX}/${PORTNAME}-${PORTVERSION}/lib
+ @(${ECHO} "#\!/bin/sh"; ${ECHO} "${JAVA_HOME}/bin/java -jar ${PREFIX}/${PORTNAME}-${PORTVERSION}/lib/freemind.jar \$*") > ${WRKDIR}/freemind
+ ${INSTALL_SCRIPT} ${WRKDIR}/freemind ${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/deskutils/freemind/distinfo b/deskutils/freemind/distinfo
new file mode 100644
index 000000000000..e8626fb0f4cc
--- /dev/null
+++ b/deskutils/freemind/distinfo
@@ -0,0 +1,2 @@
+MD5 (freemind-bin-0_7_1.zip) = f2f928c860ba45fd5206e54392cd12c8
+SIZE (freemind-bin-0_7_1.zip) = 402336
diff --git a/deskutils/freemind/pkg-descr b/deskutils/freemind/pkg-descr
new file mode 100644
index 000000000000..01d307a201f3
--- /dev/null
+++ b/deskutils/freemind/pkg-descr
@@ -0,0 +1,24 @@
+ Freemind is an incredible thought organization tool
+
+ FROM THE AUTHORS:
+FreeMind is a premier free mind-mapping software written in Java. The recent
+development has hopefully turned it into high productivity tool. We are proud
+that the operation and navigation of FreeMind is faster than that of Mind
+Manager because of one-click "fold / unfold" and "follow link" operations.
+
+So you want to write a completely new metaphysics? Why don't you use FreeMind?
+You have a tool at hand that remarkably resembles the tray slips of Robert
+Pirsig, described in his sequel to Zen and the Art of Motorcycle Maintenance
+called Lila. Do you want to refactor your essays in a similar way you would
+refactor software? Or do you want to keep personal knowledge base, which is
+easy to manage? Why don't you try FreeMind?
+
+ FROM THE PORTER (me):
+Freemind is usable for many different things. I'm using it to plan
+projects, document servers and systems, plan and do html presentations
+guides, record and mantain progress of tasks and many other things.
+
+WWW: http://freemind.sourceforge.net/
+
+- Ported by Cartola
+cartola@openit.com.br
diff --git a/deskutils/freemind/pkg-plist b/deskutils/freemind/pkg-plist
new file mode 100644
index 000000000000..a8ebc44adedb
--- /dev/null
+++ b/deskutils/freemind/pkg-plist
@@ -0,0 +1,12 @@
+bin/freemind
+freemind-%%VER%%/accessories/mm2xbel.xsl
+freemind-%%VER%%/accessories/xbel2mm.xsl
+freemind-%%VER%%/doc/freemind.mm
+freemind-%%VER%%/lib/freemind.jar
+freemind-%%VER%%/license
+freemind-%%VER%%/patterns.xml
+freemind-%%VER%%/user.properties
+@dirrm freemind-%%VER%%/accessories
+@dirrm freemind-%%VER%%/doc
+@dirrm freemind-%%VER%%/lib
+@dirrm freemind-%%VER%%