3 CATEGORIES= deskutils editors java
4 MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20stable
5 DISTNAME= ${PORTNAME}_bin-${PORTVERSION}
7 MAINTAINER= lbartoletti@FreeBSD.org
8 COMMENT= Free mind mapping and knowledge management software
9 WWW= https://www.freeplane.org/
12 LICENSE_FILE= ${WRKSRC}/license.txt
14 RUN_DEPENDS= bash:shells/bash
16 USES= cpe zip shebangfix
17 SHEBANG_FILES= ${WRKSRC}/freeplane.sh
21 PLIST_SUB= PORTVERSION="${PORTVERSION}"
23 WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
26 cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} \
27 "! ( -name license\.txt -or -name *\.bat -or -name *\.exe )"
28 # Install freeplane.sh with the right permission
29 ${SED} -e 's|%%DATADIR%%|${DATADIR}|' < ${FILESDIR}/freeplane.in > \
31 ${INSTALL_SCRIPT} ${WRKSRC}/freeplane ${STAGEDIR}${PREFIX}/bin/
33 .include <bsd.port.mk>