b1a1d38bf9
From now on, ports that depend on Qt4 will have to set USES= qt:4 USE_QT= foo bar ports depending on Qt5 will use USES= qt:5 USE_QT= foo bar PR: 229225 Exp-run by: antoine Reviewed by: mat Approved by: portmgr (antoine) Differential Revision: →https://reviews.freebsd.org/D15540
33 lines
785 B
Makefile
33 lines
785 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= acalc
|
|
PORTVERSION= 0.21
|
|
DISTVERSIONPREFIX= ${PORTNAME}-
|
|
CATEGORIES= math
|
|
|
|
MAINTAINER= andrey.nik.ponomarenko@gmail.com
|
|
COMMENT= Simple and pretty Qt4-based expression calculator
|
|
|
|
LICENSE= BSD4CLAUSE
|
|
|
|
BROKEN_powerpc64= fails to compile: cc1plus: unrecognized command line option "-std=c++11"
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= anpp
|
|
|
|
USES= qmake qt:4
|
|
USE_QT= corelib gui moc_build rcc_build uic_build
|
|
WRKSRC_SUBDIR= aCalc/aCalc
|
|
|
|
PLIST_FILES= bin/acalc share/pixmaps/Calculator-50.png
|
|
|
|
DESKTOP_ENTRIES="acalc" "" "${PREFIX}/share/pixmaps/Calculator-50.png" \
|
|
"${PORTNAME}" "" ""
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/acalc ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_DATA} ${WRKSRC}/Icons/Calculator-50.png \
|
|
${STAGEDIR}${PREFIX}/share/pixmaps
|
|
|
|
.include <bsd.port.mk>
|