blob: 3e18d7e71b2ead687c98d31c090c34745ac034cd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
PORTNAME= freeplane
DISTVERSION= 1.10.3
CATEGORIES= deskutils editors java
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20stable
DISTNAME= ${PORTNAME}_bin-${PORTVERSION}
MAINTAINER= lbartoletti@FreeBSD.org
COMMENT= Free mind mapping and knowledge management software
WWW= https://www.freeplane.org/
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/license.txt
RUN_DEPENDS= bash:shells/bash
USES= cpe zip shebangfix
SHEBANG_FILES= ${WRKSRC}/freeplane.sh
USE_JAVA= yes
NO_ARCH= yes
NO_BUILD= yes
PLIST_SUB= PORTVERSION="${PORTVERSION}"
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
do-install:
cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} \
"! ( -name license\.txt -or -name *\.bat -or -name *\.exe )"
# Install freeplane.sh with the right permission
${SED} -e 's|%%DATADIR%%|${DATADIR}|' < ${FILESDIR}/freeplane.in > \
${WRKSRC}/freeplane
${INSTALL_SCRIPT} ${WRKSRC}/freeplane ${STAGEDIR}${PREFIX}/bin/
.include <bsd.port.mk>
|