freebsd-ports/deskutils/freeplane/Makefile
Fernando Apesteguía 963335dd57 deskutils/freeplane: update to 1.10.6
ChangeLog: https://www.freeplane.org/info/history/history_en.txt

Performance optimizations.

Reported by:	portscout
2022-12-08 20:01:36 +01:00

36 lines
937 B
Makefile

PORTNAME= freeplane
DISTVERSION= 1.10.6
CATEGORIES= deskutils editors java
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20stable
DISTNAME= ${PORTNAME}_bin-${PORTVERSION}
MAINTAINER= ports@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
USE_JAVA= yes
SHEBANG_FILES= ${WRKSRC}/freeplane.sh
NO_ARCH= yes
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
PLIST_SUB= PORTVERSION="${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>