freebsd-ports/deskutils/todour/Makefile
Felix Palmen ddae4e92d8 Mk/Uses: always use colon for build/run suffix
Most USES use a colon for build/run(/test) suffixes. Change kde.mk,
qt.mk and pyqt.mk to do the same, and update all ports using that.

Document in CHANGES.

PR:			266034
Exp-run by:		antoine
Approved by:		tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D36349
2022-09-11 12:20:14 +02:00

37 lines
1.1 KiB
Makefile

PORTNAME= ${GH_PROJECT:tl}
PORTVERSION= 2.21
DISTVERSIONPREFIX= v
CATEGORIES= deskutils
MAINTAINER= mizhka@FreeBSD.org
COMMENT= Qt-based UI for editing of todo.txt files
WWW= https://nerdur.com/todour-pl/
LICENSE= GPLv2
USES= qmake qt:5
USE_QT= buildtools:build core gui network widgets
USE_GITHUB= yes
GH_ACCOUNT= SverrirValgeirsson
GH_PROJECT= Todour
GH_TUPLE= gamecreature:QtAwesome:86f3bb8:gamecreature/QtAwesome \
falceeffect:UGlobalHotkey:2edc485:falceeffect/UGlobalHotkey
DESKTOP_ENTRIES="${GH_PROJECT}" "${COMMENT}" "${PORTNAME}" "${PORTNAME}" \
"Utility;TextTools;" false
PLIST_FILES= bin/${PORTNAME} \
share/icons/hicolor/512x512/apps/${PORTNAME}.png
post-patch:
@${REINPLACE_CMD} -e 's,$$$$system(perl ver.*,${PORTVERSION},' \
${WRKSRC}/Todour.pro
do-install:
${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/Todour \
${STAGEDIR}${PREFIX}/bin/${PORTNAME}
@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/512x512/apps
${INSTALL_DATA} ${INSTALL_WRKSRC}/newicon.png \
${STAGEDIR}${PREFIX}/share/icons/hicolor/512x512/apps/${PORTNAME}.png
.include <bsd.port.mk>