1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/math/rpcalc/Makefile

38 lines
862 B
Makefile
Raw Normal View History

# Created by: Edwin Groothuis <edwin@mavetju.org>
# $FreeBSD$
PORTNAME= rpcalc
PORTVERSION= 0.7.1
CATEGORIES= math
MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}
MAINTAINER= jhale@FreeBSD.org
COMMENT= Simple RPN calculator
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/doc/LICENSE
USES= pyqt:4 python:3.3+
USE_PYQT= core gui
CONFIGURE_ARGS= -p ${PREFIX} -d ${DOCSDIR} -i ${DATADIR}/icons -b ${STAGEDIR}
NO_ARCH= yes
NO_BUILD= yes
WRKSRC= ${WRKDIR}/rpCalc
DESKTOP_ENTRIES="rpCalc" \
"RPN Calculator" \
"${DATADIR}/icons/calc_lg.png" \
"${PORTNAME}" \
"Qt;Utility;Calculator;" \
false
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>