1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/misc/urh/Makefile
Loïc Bartoletti 2933bb22c3 Update PyQt to 5.15.0, py-sip to 4.19.24 and qscintilla2 to 2.11.5
- Update PyQt to 5.15.0, py-sip to 4.19.24 and qscintilla2 to 2.11.5
- Use pypi for PYQT [1]
- Add devel/py-qt5-sip (Don't use it for now. It will be used in future updates of PyQt with py-sip >= 5)
- Add missing py-qt5 ports: comms/py-qt5-sensors, devel/py-qt5-location, devel/py-qt5-remoteobjects, net/py-qt5-networkauth
- Strip libs
- Refactor *_PATH and *_PORT parts

[1] RiverBankComputing doesn't offer links to download latest version of some ports

PR:		247369
Reviewed by:	tcberner
Differential Revision:	https://reviews.freebsd.org/D25749
Exp-run by:	antoine
2020-10-05 15:50:03 +00:00

34 lines
923 B
Makefile

# $FreeBSD$
PORTNAME= urh
DISTVERSION= 2.8.9
PORTREVISION= 1
CATEGORIES= misc hamradio python
MASTER_SITES= CHEESESHOP
MAINTAINER= yuri@FreeBSD.org
COMMENT= Universal Radio Hacker: investigate wireless protocols like a boss
LICENSE= GPLv3
BUILD_DEPENDS= ${PYNUMPY}
RUN_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}psutil>0:sysutils/py-psutil@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pyzmq>0:net/py-pyzmq@${PY_FLAVOR}
USES= compiler:c++11-lang fortran python:3.4+ localbase pyqt:5
USE_PYQT= core gui test widgets
USE_PYTHON= distutils cython noflavors autoplist
PLIST_FILES= bin/urh.shadow
post-install:
@${MV} ${STAGEDIR}${PREFIX}/bin/urh ${STAGEDIR}${PREFIX}/bin/urh.shadow
@(echo "#!/bin/sh"; \
echo ""; \
echo "LD_PRELOAD=${PREFIX}/lib/gcc${GCC_DEFAULT}/libgcc_s.so ${PREFIX}/bin/urh.shadow \"$$@\"" \
) > ${STAGEDIR}${PREFIX}/bin/urh
@${CHMOD} +x ${STAGEDIR}${PREFIX}/bin/urh
.include <bsd.port.mk>