# $FreeBSD: head/cad/k40-whisperer/Makefile 566481 2021-02-24 15:23:50Z antoine $ PORTNAME= k40-whisperer DISTVERSION= 0.55 CATEGORIES= cad python MASTER_SITES= http://www.scorchworks.com/K40whisperer/ DISTNAME= K40_Whisperer-${DISTVERSION}_src MAINTAINER= 0mp@FreeBSD.org COMMENT= GUI control software for the stock K40 laser cutter controller LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/gpl-3.0.txt RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyusb>0:devel/py-pyusb@${PY_FLAVOR} \ ${PY_PILLOW} USES= python:run,3.6+ shebangfix zip SHEBANG_FILES= *.py DESKTOP_ENTRIES= "K40 Whisperer" \ "${COMMENT}" \ "${DATADIR}/scorchworks.ico" \ "${_WHISPERER_COMMAND}" \ "Development;Art;Engineering;VectorGraphics;" \ false NO_ARCH= yes NO_BUILD= yes SUB_FILES= ${_WHISPERER_COMMAND} pkg-message SUB_LIST= PYTHON_CMD=${PYTHON_CMD} \ WHISPERER_COMMAND=${_WHISPERER_COMMAND} PLIST_SUB= WHISPERER_COMMAND=${_WHISPERER_COMMAND} OPTIONS_DEFINE= DOCS _DOCS= Change_Log.txt README_Linux.txt README_MacOS.md _NON_DATA_FILES= ${_DOCS} ${LICENSE_FILE:S,${WRKSRC}/,,} build_exe.bat \ py2exe_setup.py requirements.txt _WHISPERER_COMMAND= ${PORTNAME} do-install: ${INSTALL_SCRIPT} ${WRKDIR}/${_WHISPERER_COMMAND} ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DATADIR} (cd ${WRKSRC} && ${COPYTREE_SHARE} . \ ${STAGEDIR}${DATADIR} "${_NON_DATA_FILES:S,^,! -name &,}") @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${_DOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include