aboutsummaryrefslogtreecommitdiff
path: root/polish/qfaktury/Makefile
blob: 46d4bdd7830c7d119142ff094568d52f6f0b47a5 (plain) (blame)
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
37
# New ports collection makefile for:	qfaktury
# Date created:		2009-04-20
# Whom:			Piotr Rybicki (meritus@innervision.pl)
#
# $FreeBSD$
#

PORTNAME=	qfaktury
PORTVERSION=	0.6.2
PORTREVISION=	2
CATEGORIES=	polish deskutils
MASTER_SITES=	SF

MAINTAINER=	meritus@innervision.pl
COMMENT=	Polish invoicing desktop program

USE_QT_VER=	4
QT_COMPONENTS=	qmake_build uic_build moc_build rcc_build corelib gui xml qt3support

PORTDOCS=	ChangeLog.txt ReadMe.txt ReleaseNotes.txt TODO.txt

post-patch:
	@cd ${WRKSRC} && ${REINPLACE_CMD} -e 's|@PREFIX@|${PREFIX}|g' qfaktury.pro \
	QFaktury.desktop

pre-build:
	@cd ${WRKSRC} && ${QMAKE} -spec ${QMAKESPEC}

post-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
.for file in ${PORTDOCS}
	@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>