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

(-)znotes/Makefile (-11 / +8 lines)
Lines 1-13 Link Here
1
# New ports collection makefile for:	znotes
1
# Created by: Gvozdikov Veniamin <g.veniamin@googlemail.com>
2
# Date created:		2009-11-12
2
# $FreeBSD$
3
# Whom:			Gvozdikov Veniamin <g.veniamin@googlemail.com>
4
#
5
# $FreeBSD: ports/deskutils/znotes/Makefile,v 1.13 2013/01/23 15:05:32 svnexp Exp $
6
#
7
3
8
PORTNAME=	znotes
4
PORTNAME=	znotes
9
PORTVERSION=	0.4.5
5
PORTVERSION=	0.4.5
10
PORTREVISION=	2
6
PORTREVISION=	3
11
CATEGORIES=	deskutils
7
CATEGORIES=	deskutils
12
MASTER_SITES=	SF/${PORTNAME}/${PORTVERSION}/
8
MASTER_SITES=	SF/${PORTNAME}/${PORTVERSION}/
13
9
Lines 23-29 Link Here
23
		"${PREFIX}/share/pixmaps/${PORTNAME}.png" "${PORTNAME}" \
19
		"${PREFIX}/share/pixmaps/${PORTNAME}.png" "${PORTNAME}" \
24
		"Utility;TextEditor;Qt;" ${FALSE}
20
		"Utility;TextEditor;Qt;" ${FALSE}
25
21
26
OPTIONS=	NLS		"Build with NLS support" on
22
OPTIONS_DEFINE= NLS
23
NLS_DESC=	Build with NLS support
27
24
28
PLIST_FILES=	bin/${PORTNAME} \
25
PLIST_FILES=	bin/${PORTNAME} \
29
		share/pixmaps/${PORTNAME}.png
26
		share/pixmaps/${PORTNAME}.png
Lines 34-40 Link Here
34
	    @${REINPLACE_CMD} -i -e 's,QCoreApplication::applicationDirPath()+"/translations","${DATADIR}/translations",g' \
31
	    @${REINPLACE_CMD} -i -e 's,QCoreApplication::applicationDirPath()+"/translations","${DATADIR}/translations",g' \
35
		${WRKSRC}/settings.cpp
32
		${WRKSRC}/settings.cpp
36
33
37
.include <bsd.port.pre.mk>
34
.include <bsd.port.options.mk>
38
35
39
do-configure:
36
do-configure:
40
	cd ${WRKSRC} && ${QMAKE} ${QMAKEFLAGS}
37
	cd ${WRKSRC} && ${QMAKE} ${QMAKEFLAGS}
Lines 43-49 Link Here
43
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
40
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
44
	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.png ${PREFIX}/share/pixmaps/
41
	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.png ${PREFIX}/share/pixmaps/
45
42
46
.if defined(WITH_NLS)
43
.if ${PORT_OPTIONS:MNLS}
47
	${MKDIR} ${DATADIR}/translations
44
	${MKDIR} ${DATADIR}/translations
48
	${INSTALL_DATA} ${WRKSRC}/translations/*.qm ${DATADIR}/translations
45
	${INSTALL_DATA} ${WRKSRC}/translations/*.qm ${DATADIR}/translations
49
PLIST_FILES+=	%%DATADIR%%/translations/${PORTNAME}_cs.qm \
46
PLIST_FILES+=	%%DATADIR%%/translations/${PORTNAME}_cs.qm \
Lines 59-62 Link Here
59
.else
56
.else
60
.endif
57
.endif
61
58
62
.include <bsd.port.post.mk>
59
.include <bsd.port.mk>

Return to bug 175840