freebsd-ports/deskutils/znotes/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
851 B
Makefile

PORTNAME= znotes
DISTVERSION= 0.4.7
CATEGORIES= deskutils
MAINTAINER= rigoletto@FreeBSD.org
COMMENT= Simple notes managment application based on Qt
WWW= http://znotes.sourceforge.net
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= compiler:c++11-lang gl qmake qt:5
USE_GL= gl
USE_QT= buildtools:build linguisttools:build core gui network \
printsupport widgets xml
USE_GITHUB= yes
GH_ACCOUNT= proton
GH_PROJECT= zNotes
CONFLICTS_INSTALL= znotes-qt[45]
DESKTOP_ENTRIES="zNotes" "Notes managment" \
"${PREFIX}/share/pixmaps/${PORTNAME}.png" "${PORTNAME}" \
"Utility;TextEditor;Qt;" true
post-patch:
@${REINPLACE_CMD} -e '/.path =/s|/usr|$$$$PREFIX|g' \
-e '/PREFIX = /d' \
${WRKSRC}/${PORTNAME}.pro
pre-configure:
#Work around badly written .pro
cd ${WRKSRC} && ${LRELEASE} ${WRKSRC}/${PORTNAME}.pro
.include <bsd.port.mk>