Index: head/deskutils/docear/Makefile =================================================================== --- head/deskutils/docear/Makefile (revision 389114) +++ head/deskutils/docear/Makefile (revision 389115) @@ -1,56 +1,57 @@ # Created by: Matthias Andree # $FreeBSD$ PORTNAME= docear PORTVERSION= 1.1.0 +PORTREVISION= 1 _suffix= _stable CATEGORIES= deskutils java MASTER_SITES= http://downloads.docear.org/${PORTVERSION}${_suffix}/ \ SF/docear/1.x/${PORTVERSION}${_suffix} \ LOCAL/mandree/${DIST_SUBDIR}/ DISTNAME= docear_linux DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}${_suffix} MAINTAINER= mandree@FreeBSD.org COMMENT= Mind Mapping tool with Reference, Library, and PDF Management LICENSE= GPLv2 USES= desktop-file-utils shared-mime-info USE_JAVA= yes JAVA_VENDOR= openjdk JAVA_VERSION= 1.6+ NO_BUILD= yes JDATADIR= ${JAVASHAREDIR}/${PORTNAME} icon= ${DATADIR}/${PORTNAME}-icon48x48.png WRKSRC= ${WRKDIR}/docear-1.1.0.1_stable_build232 SUB_FILES= docear.desktop post-patch: ${REINPLACE_CMD} -e 's/readlink -mn/readlink -n/g' \ -e 's,#!/bin/bash,#!/bin/sh,' \ ${WRKSRC}/docear.sh do-install: @${RM} -f ${WRKSRC}/docear.bat \ ${WRKSRC}/docear.exe \ ${WRKSRC}/*.bak # We can't install into $DOCSDIR or support disabling a DOCS option # since the documentation is an integral part of the installation, # such as online help via the program menus. ${MKDIR} ${STAGEDIR}${JDATADIR} (cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}${JDATADIR}) ${PRINTF} '#!/bin/sh\nset -eu\nexport JAVA_HOME="%s"\ncd "%s"\nexec "%s" "$$@"\n' \ '${JAVA_HOME}' '${JDATADIR}' '${JDATADIR}/docear.sh' \ >${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${CHMOD} a=rx ${STAGEDIR}${JDATADIR}/docear.sh \ ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${FILESDIR}/docear48.png "${STAGEDIR}${icon}" ${MKDIR} ${STAGEDIR}${DESKTOPDIR} ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR} ${MKDIR} ${STAGEDIR}${PREFIX}/share/mime/packages ${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.xml ${STAGEDIR}${PREFIX}/share/mime/packages/ .include Index: head/deskutils/docear/files/patch-docear.sh =================================================================== --- head/deskutils/docear/files/patch-docear.sh (nonexistent) +++ head/deskutils/docear/files/patch-docear.sh (revision 389115) @@ -0,0 +1,18 @@ +--- docear.sh 2015-06-10 19:42:49.000000000 +0200 ++++ /tmp/docear.sh.new 2015-06-10 19:41:56.000000000 +0200 +@@ -190,6 +190,7 @@ + fi + _debug "Calling: "\ + "${JAVACMD}" -Xmx512m\ ++ "-Dawt.useSystemAAFontSettings=on"\ + "-Dorg.freeplane.param1=$1"\ + "-Dorg.freeplane.param2=$2"\ + "-Dorg.freeplane.param3=$3"\ +@@ -204,6 +205,7 @@ + -xargs "${freedir}/init.xargs" + ( echo "${DEBUG}" | grep -qe "exit" ) && exit 0 # do not start Freeplane + "${JAVACMD}" -Xmx512m\ ++ "-Dawt.useSystemAAFontSettings=on"\ + "-Dorg.freeplane.param1=$1"\ + "-Dorg.freeplane.param2=$2"\ + "-Dorg.freeplane.param3=$3"\ Property changes on: head/deskutils/docear/files/patch-docear.sh ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property