blob: 122bee97ddb803960b706c550b6e7fa3972bf042 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
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>
|