403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.89
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/comms/py-elelabs-zigbee-ezsp-utility/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/comms/py-elelabs-zigbee-ezsp-utility/Makefile
PORTNAME=	elelabs-zigbee-ezsp-utility
DISTVERSION=	20220218
CATEGORIES=	comms python
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	rozhuk.im@gmail.com
COMMENT=	Elelabs Firmware Update Utility
WWW=		https://github.com/Elelabs/elelabs-zigbee-ezsp-utility

LICENSE=	APACHE20
LICENSE_FILE=	${WRKSRC}/LICENSE

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pyserial>=3.4:comms/py-pyserial@${PY_FLAVOR} \
		${PYTHON_PKGNAMEPREFIX}xmodem>=0.4.5:comms/py-xmodem@${PY_FLAVOR}

USES=		python:3.6+ shebangfix
USE_GITHUB=	yes
GH_ACCOUNT=	Elelabs
GH_TAGNAME=	7fc415497f7e2b3410e3350b359ac5c71043399e
USE_PYTHON=	flavors

SHEBANG_FILES=	Elelabs_EzspFwUtility.py

NO_ARCH=	yes
NO_BUILD=	yes

post-patch:
	@${REINPLACE_CMD} -e "s|data/EFR32|${DATADIR}/EFR32|g" \
		${WRKSRC}/Elelabs_EzspFwUtility.py

# This is to prevent Mk/Uses/python.mk do-configure target from firing.
do-configure:
	@${ECHO} 'No configure'

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/Elelabs_EzspFwUtility.py ${STAGEDIR}${PREFIX}/bin/
	${CHMOD} +x ${STAGEDIR}${PREFIX}/bin/Elelabs_EzspFwUtility.py
	(cd ${WRKSRC}/data && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})

post-install:
# Regenerate .PLIST.pymodtemp to get all installed files from
# ${STAGEDIR}.
	@${FIND} ${STAGEDIR} -type f -o -type l | \
		${SORT} | ${SED} -e 's|${STAGEDIR}||' \
		>> ${WRKDIR}/.PLIST.mktmp

.include <bsd.port.mk>

Youez - 2016 - github.com/yon3zu
LinuXploit