freebsd-ports/deskutils/znotes/Makefile
Kevin Bowling da3162c7c9 graphics/mesa-libs: Bump reverse deps for libglvnd
Per discussion with bapt on helping pkg handle the changing of these
deps and avoiding impossible upgrade senarios.

PR:		246767
Reviewed by:	manu, bapt
Approved by:	x11
Differential Revision:	https://reviews.freebsd.org/D30824
2021-06-22 11:53:08 -07:00

38 lines
882 B
Makefile

# Created by: Veniamin Gvozdikov <vg@FreeBSD.org>
PORTNAME= znotes
DISTVERSION= 0.4.6
PORTREVISION= 1
CATEGORIES= deskutils
MAINTAINER= rigoletto@FreeBSD.org
COMMENT= Simple notes managment application based on Qt
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>