1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00
freebsd-ports/deskutils/znotes/Makefile
Alexandre C. Guimarães 53feed73dd
Returning all my ports to the pool.
- Unfortunately I have no time to maintain them anymore.
2023-09-10 20:13:40 -03:00

37 lines
847 B
Makefile

PORTNAME= znotes
DISTVERSION= 0.4.7
CATEGORIES= deskutils
MAINTAINER= ports@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>