Update deskutils/korganizer to version 22.08.1_1
[dports.git] / deskutils / freeplane / Makefile
1 PORTNAME=       freeplane
2 DISTVERSION=    1.10.3
3 CATEGORIES=     deskutils editors java
4 MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}%20stable
5 DISTNAME=       ${PORTNAME}_bin-${PORTVERSION}
6
7 MAINTAINER=     lbartoletti@FreeBSD.org
8 COMMENT=        Free mind mapping and knowledge management software
9 WWW=            https://www.freeplane.org/
10
11 LICENSE=        GPLv2+
12 LICENSE_FILE=   ${WRKSRC}/license.txt
13
14 RUN_DEPENDS=    bash:shells/bash
15
16 USES=           cpe zip shebangfix
17 SHEBANG_FILES=  ${WRKSRC}/freeplane.sh
18 USE_JAVA=       yes
19 NO_ARCH=        yes
20 NO_BUILD=       yes
21 PLIST_SUB=      PORTVERSION="${PORTVERSION}"
22
23 WRKSRC=         ${WRKDIR}/${PORTNAME}-${PORTVERSION}
24
25 do-install:
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 > \
30                 ${WRKSRC}/freeplane
31         ${INSTALL_SCRIPT} ${WRKSRC}/freeplane ${STAGEDIR}${PREFIX}/bin/
32
33 .include <bsd.port.mk>