blob: 9a7c69f4ee0d8210248bd12fa5800010a55910e3 (
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
|
# Created by: Loïc Bartoletti <lbartoletti@FreeBSD.org>
# $FreeBSD$
PORTNAME= freeplane
DISTVERSION= 1.7.10
CATEGORIES= deskutils editors java
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20stable/archive/${PORTVERSION}
DISTNAME= ${PORTNAME}_bin-${PORTVERSION}
MAINTAINER= lbartoletti@FreeBSD.org
COMMENT= Free mind mapping and knowledge management software
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/license.txt
USES= cpe zip
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 freeplane\.sh* -or -name license\.txt -or -name *\.bat -or -name *\.exe )"
# Install freeplane.sh with the right permission, link to it to bin/
# and let it resolve the path to DATADIR automatically.
${INSTALL_SCRIPT} ${WRKSRC}/freeplane.sh ${STAGEDIR}${DATADIR}
${RLN} ${STAGEDIR}${DATADIR}/freeplane.sh ${STAGEDIR}${PREFIX}/bin/freeplane
.include <bsd.port.mk>
|