freebsd-ports/math/rpcalc/Makefile
Loïc Bartoletti 5ead0a2f78 Update py-sip to 4.19.21 and qscintilla2 to 2.11.4
- Update py-sip to 4.19.21
  - Update qscintilla2 to 2.11.4
  - Replace MASTER_SITE_RIVERBANK with https versions
  - Replace QSCI2_DISTNAME to match with the new one

PR:		245308
Approved by:	tcberner (mentor)
Exp-run by:	antoine
2020-04-11 05:04:40 +00:00

33 lines
795 B
Makefile

# Created by: Edwin Groothuis <edwin@mavetju.org>
# $FreeBSD$
PORTNAME= rpcalc
PORTVERSION= 0.8.2
PORTREVISION= 3
CATEGORIES= math
MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}
MAINTAINER= jhale@FreeBSD.org
COMMENT= Simple RPN calculator
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/doc/LICENSE
USES= pyqt:5 python:3.4+ shebangfix
USE_PYQT= core gui widgets sip
SHEBANG_FILES= source/rpcalc.py
CONFIGURE_ARGS= -p ${PREFIX} -d ${DOCSDIR} -i ${DATADIR}/icons -b ${STAGEDIR}
NO_ARCH= yes
NO_BUILD= yes
WRKSRC= ${WRKDIR}/rpCalc
do-install:
(cd ${WRKSRC} && ${PYTHON_CMD} install.py ${CONFIGURE_ARGS})
(cd ${STAGEDIR}${PREFIX} && \
${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \
-d ${DATADIR} -f ${DATADIR_REL})
(cd ${STAGEDIR}${DOCSDIR} && ${RM} INSTALL LICENSE)
.include <bsd.port.mk>