View | Details | Raw Unified | Return to bug 143528
Collapse All | Expand All

(-)znotes/Makefile (-4 / +20 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	znotes
8
PORTNAME=	znotes
9
PORTVERSION=	0.3.9
9
PORTVERSION=	0.4.0
10
CATEGORIES=	deskutils
10
CATEGORIES=	deskutils
11
MASTER_SITES=	SF/${PORTNAME}/${PORTVERSION}/
11
MASTER_SITES=	SF/${PORTNAME}/${PORTVERSION}/
12
DISTNAME=	${PORTNAME}-${PORTVERSION}
12
DISTNAME=	${PORTNAME}-${PORTVERSION}
Lines 22-39 Link Here
22
		"${PREFIX}/share/pixmaps/${PORTNAME}.png" "${PORTNAME}" \
22
		"${PREFIX}/share/pixmaps/${PORTNAME}.png" "${PORTNAME}" \
23
		"Utility;TextEditor;Qt;" ${FALSE}
23
		"Utility;TextEditor;Qt;" ${FALSE}
24
24
25
OPTIONS=	NLS		"Build with NLS support" on
26
25
PLIST_FILES=	bin/${PORTNAME} \
27
PLIST_FILES=	bin/${PORTNAME} \
26
		share/pixmaps/${PORTNAME}.png
28
		share/pixmaps/${PORTNAME}.png
27
29
28
post-patch:
30
post-patch:
29
	    @${REINPLACE_CMD} -e 's|lrelease|lrelease-qt4|g' \
31
	    @${REINPLACE_CMD} -e 's|lrelease|lrelease-qt4|g' \
30
		${WRKSRC}/znotes.pro
32
		${WRKSRC}/${PORTNAME}.pro
33
	    @${REINPLACE_CMD} -i -e 's,QCoreApplication::applicationDirPath()+"/translations","${DATADIR}/translations",g' \
34
		${WRKSRC}/settings.cpp
35
36
.include <bsd.port.pre.mk>
31
37
32
do-configure:
38
do-configure:
33
	cd ${WRKSRC} && ${QMAKE} ${QMAKE_PRO}
39
	cd ${WRKSRC} && ${QMAKE} ${QMAKE_PRO}
34
40
35
do-install:
41
do-install:
36
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
42
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
37
	${INSTALL_DATA} ${WRKSRC}/znotes.png ${PREFIX}/share/pixmaps/
43
	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.png ${PREFIX}/share/pixmaps/
44
45
.if defined(WITH_NLS)
46
	${MKDIR} ${DATADIR}/translations
47
	${INSTALL_DATA} ${WRKSRC}/translations/*.qm ${DATADIR}/translations
48
PLIST_FILES+=	share/${PORTNAME}/translations/${PORTNAME}_cs.qm \
49
		share/${PORTNAME}/translations/${PORTNAME}_ru.qm
50
PLIST_DIRS+=	share/${PORTNAME}/translations \
51
		share/${PORTNAME}
52
.else
53
.endif
38
54
39
.include <bsd.port.mk>
55
.include <bsd.port.post.mk>
(-)znotes/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (znotes-0.3.9.tar.gz) = 4f39a77ac659029598225ce93c1429a4
1
MD5 (znotes-0.4.0.tar.gz) = e724a70e9cd81def57c91196fd404c09
2
SHA256 (znotes-0.3.9.tar.gz) = 16e7785b1e38c587a8dc75e7b5509cd4a972b45f762af80aeb0588065631c56d
2
SHA256 (znotes-0.4.0.tar.gz) = d296ba567b96e820c6bca46d0977c6a8058cfbf0f8c26aaa42abdf6fb3edd244
3
SIZE (znotes-0.3.9.tar.gz) = 60485
3
SIZE (znotes-0.4.0.tar.gz) = 71108

Return to bug 143528