Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Sep 2004 06:46:18 +0900 (JST)
From:      MOROHOSHI Akihiko <moro@remus.dti.ne.jp>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/72184: New port: editors/freemind: Mind-mapping software written in Java
Message-ID:  <20040929214618.248055AB3@kikyou.m.ayame.com>
Resent-Message-ID: <200409292150.i8TLoOMX014483@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         72184
>Category:       ports
>Synopsis:       New port: editors/freemind: Mind-mapping software written in Java
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 29 21:50:24 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     MOROHOSHI Akihiko
>Release:        FreeBSD 5.3-BETA1 i386
>Organization:
>Environment:
System: FreeBSD kikyou.local.domain 5.3-BETA1 FreeBSD 5.3-BETA1 #6: Thu Aug 26 21:19:55 JST 2004 moro@kikyou.local.domain:/home/tmp/obj/home/releng5/src/sys/KIKYOU i386


	
>Description:
Mind-mapping software written in Java.
It is a GPL'ed free software.
	
>How-To-Repeat:
	
>Fix:
# 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:
#
#	freemind
#	freemind/Makefile
#	freemind/files
#	freemind/files/freemind.sh
#	freemind/files/README.FreeBSD
#	freemind/distinfo
#	freemind/pkg-plist
#	freemind/pkg-descr
#
echo c - freemind
mkdir -p freemind > /dev/null 2>&1
echo x - freemind/Makefile
sed 's/^X//' >freemind/Makefile << 'END-of-freemind/Makefile'
X# New ports collection makefile for:	FreeMind
X# Date created:		29 September 2004
X# Whom:			MOROHOSHI Akihiko <moro@remus.dti.ne.jp>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	freemind
XPORTVERSION=	0.7.1
XCATEGORIES=	editors java
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	${PORTNAME}
XDISTNAME=	${PORTNAME}-bin-${PORTVERSION:C/\./_/g}
X
XMAINTAINER=	moro@remus.dti.ne.jp
XCOMMENT=	Mind-mapping software written in Java
X
XBUILD_DEPENDS=	${ZIP_CMD}:${PORTSDIR}/archivers/zip
X
XNO_WRKSUBDIR=	yes
X
XUSE_JAVA=	1.4+
XUSE_ZIP=	yes
XUSE_REINPLACE=	yes
X
XZIP_CMD?=	${LOCALBASE}/bin/zip
XDATASUBDIRS=	accessories lib
XDATAFILES=	patterns.xml user.properties
XPORTDOCS=	*
X
Xdo-build:
X	${SED} 's|%%LOCALBASE%%|${LOCALBASE}|; s|%%DATADIR%%|${DATADIR}|' \
X		${FILESDIR}/freemind.sh > ${WRKDIR}/freemind.sh
X	(cd ${WRKSRC}; \
X	${UNZIP_CMD} lib/freemind.jar freemind.properties; \
X	${REINPLACE_CMD} -e '/^properties_folder/ s/freemind/.&/; s|./doc/freemind.mm|${DOCSDIR}/freemind.mm|' freemind.properties; \
X	${ZIP_CMD} -u lib/freemind.jar freemind.properties)
X
Xdo-install:
X	${INSTALL_SCRIPT} ${WRKDIR}/freemind.sh ${PREFIX}/bin/freemind
X	${MKDIR} ${DATADIR}
X	cd ${WRKSRC} && ${FIND} ${DATAFILES} ${DATASUBDIRS} | \
X		${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${DATADIR}
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/license ${DOCSDIR}
X	${INSTALL_DATA} ${FILESDIR}/README.FreeBSD ${DOCSDIR}
X	cd ${WRKSRC}/doc && ${FIND} . | \
X		${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
X.endif
X
X.include <bsd.port.mk>
END-of-freemind/Makefile
echo c - freemind/files
mkdir -p freemind/files > /dev/null 2>&1
echo x - freemind/files/freemind.sh
sed 's/^X//' >freemind/files/freemind.sh << 'END-of-freemind/files/freemind.sh'
X#!/bin/sh
X# $FreeBSD$
X
X# If your java dumps core with signal 10, uncomment this:
X#export MALLOC_OPTIONS=aj
X
XJAVA_CMD="%%LOCALBASE%%/bin/javavm"
XDATADIR="%%DATADIR%%"
XJAVA_ARGS=
X
Xexec "${JAVA_CMD}" ${JAVA_ARGS} -jar "${DATADIR}/lib/freemind.jar" "$@"
END-of-freemind/files/freemind.sh
echo x - freemind/files/README.FreeBSD
sed 's/^X//' >freemind/files/README.FreeBSD << 'END-of-freemind/files/README.FreeBSD'
XNote for FreeBSD users:
X
XUser's configuration directory is changed to ~/.freemind,
Xhaving regard to the standard dot-directory manner.
X
XIn fact, it is the same change as Debian and SuSE Linux packages do.
END-of-freemind/files/README.FreeBSD
echo x - freemind/distinfo
sed 's/^X//' >freemind/distinfo << 'END-of-freemind/distinfo'
XMD5 (freemind-bin-0_7_1.zip) = f2f928c860ba45fd5206e54392cd12c8
XSIZE (freemind-bin-0_7_1.zip) = 402336
END-of-freemind/distinfo
echo x - freemind/pkg-plist
sed 's/^X//' >freemind/pkg-plist << 'END-of-freemind/pkg-plist'
Xbin/freemind
Xshare/freemind/accessories/mm2xbel.xsl
Xshare/freemind/accessories/xbel2mm.xsl
Xshare/freemind/lib/freemind.jar
Xshare/freemind/patterns.xml
Xshare/freemind/user.properties
X@dirrm share/freemind/accessories
X@dirrm share/freemind/lib
X@dirrm share/freemind
END-of-freemind/pkg-plist
echo x - freemind/pkg-descr
sed 's/^X//' >freemind/pkg-descr << 'END-of-freemind/pkg-descr'
XFreeMind is a premier free mind-mapping software written in Java.
XThe recent development has hopefully turned it into high productivity tool.
X
XWWW: http://freemind.sourceforge.net/
END-of-freemind/pkg-descr
exit


	


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040929214618.248055AB3>