99d6d12a38
While here, chase some KDE4 ports and functionality, these are scheduled for removal on 2018-12-31. Change the default option/flavor to QT5 where applicable or use alternative toolkits like GTK. Submitted by: tcberner Reviewed by: adridg, jhale, rene, tcberner Approved by: portmgr (implicit, flavor hook) Differential Revision: https://reviews.freebsd.org/D17741
35 lines
864 B
Makefile
35 lines
864 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
|
|
|
|
DEPRECATED= Qt4 has been EOL since december 2015
|
|
EXPIRATION_DATE= 2019-03-15
|
|
|
|
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>
|