Changeset View
Changeset View
Standalone View
Standalone View
head/deskutils/freeplane/Makefile
Show All 10 Lines | |||||
COMMENT= Free mind mapping and knowledge management software | COMMENT= Free mind mapping and knowledge management software | ||||
LICENSE= GPLv2+ | LICENSE= GPLv2+ | ||||
LICENSE_FILE= ${WRKSRC}/license.txt | LICENSE_FILE= ${WRKSRC}/license.txt | ||||
USES= cpe zip | USES= cpe zip | ||||
USE_JAVA= yes | USE_JAVA= yes | ||||
JAVA_VERSION= 1.6+ | |||||
NO_ARCH= yes | NO_ARCH= yes | ||||
NO_BUILD= yes | NO_BUILD= yes | ||||
PLIST_SUB= PORTVERSION="${PORTVERSION}" | PLIST_SUB= PORTVERSION="${PORTVERSION}" | ||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} | WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} | ||||
do-install: | do-install: | ||||
cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} \ | cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} \ | ||||
"! ( -name freeplane\.sh* -or -name license\.txt -or -name *\.bat -or -name *\.exe )" | "! ( -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/ | # Install freeplane.sh with the right permission, link to it to bin/ | ||||
# and let it resolve the path to DATADIR automatically. | # and let it resolve the path to DATADIR automatically. | ||||
${INSTALL_SCRIPT} ${WRKSRC}/freeplane.sh ${STAGEDIR}${DATADIR} | ${INSTALL_SCRIPT} ${WRKSRC}/freeplane.sh ${STAGEDIR}${DATADIR} | ||||
${RLN} ${STAGEDIR}${DATADIR}/freeplane.sh ${STAGEDIR}${PREFIX}/bin/freeplane | ${RLN} ${STAGEDIR}${DATADIR}/freeplane.sh ${STAGEDIR}${PREFIX}/bin/freeplane | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |