diff options
author | mandree <mandree@FreeBSD.org> | 2010-12-27 04:22:03 +0800 |
---|---|---|
committer | mandree <mandree@FreeBSD.org> | 2010-12-27 04:22:03 +0800 |
commit | 672246719c18a3b1b0de2ab2f51bbdb6c38c5258 (patch) | |
tree | fc9b0e18d533b1b93f599e5c389c5023fdd73f3d /deskutils | |
parent | 6c35855272d990e7eebf001f10d45ee9f4efe5d4 (diff) | |
download | freebsd-ports-gnome-672246719c18a3b1b0de2ab2f51bbdb6c38c5258.tar.gz freebsd-ports-gnome-672246719c18a3b1b0de2ab2f51bbdb6c38c5258.tar.zst freebsd-ports-gnome-672246719c18a3b1b0de2ab2f51bbdb6c38c5258.zip |
Make sure to use diablo Java (freebsd), bsdjava exhibits JAXB issues.
Bump portrevision (changed launcher script that exports JAVA_HOME).
Diffstat (limited to 'deskutils')
-rw-r--r-- | deskutils/sciplore-mindmapping/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/deskutils/sciplore-mindmapping/Makefile b/deskutils/sciplore-mindmapping/Makefile index 66b9ed6ce87d..eeec4a2c2ce6 100644 --- a/deskutils/sciplore-mindmapping/Makefile +++ b/deskutils/sciplore-mindmapping/Makefile @@ -7,6 +7,7 @@ PORTNAME= sciplore-mindmapping PORTVERSION= 0.b013 +PORTREVISION= 1 CATEGORIES= deskutils java MASTER_SITES= SF MASTER_SITE_SUBDIR= splmm/beta13 @@ -21,6 +22,7 @@ LICENSE= GPLv2 USE_ZIP= yes USE_JAVA= yes +JAVA_VENDOR= freebsd JAVA_VERSION= 1.6 NO_BUILD= yes DATADIR= ${JAVASHAREDIR}/${PORTNAME} @@ -29,6 +31,7 @@ WRKSRC= ${WRKDIR} post-patch: ${REINPLACE_CMD} -e 's/readlink -mn/readlink -n/' \ + -e 's,/etc/freemind,${DATADIR},' \ ${WRKSRC}/SciploreMindMapping.sh do-install: @@ -41,7 +44,10 @@ do-install: # installation, as online help via the program menus. ${MKDIR} ${DATADIR} (cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${DATADIR}) - ${CHMOD} a=rx ${DATADIR}/SciploreMindMapping.sh - ${LN} -s ${DATADIR}/SciploreMindMapping.sh ${PREFIX}/bin/${PORTNAME} + ${PRINTF} '#!/bin/sh\nexport JAVA_HOME=%s\nexec %s\n' \ + '${JAVA_HOME}' '${DATADIR}/SciploreMindMapping.sh' \ + >${PREFIX}/bin/${PORTNAME} + ${CHMOD} a=rx ${DATADIR}/SciploreMindMapping.sh \ + ${PREFIX}/bin/${PORTNAME} .include <bsd.port.mk> |