summaryrefslogtreecommitdiffstats
path: root/devel/qtez/Makefile
blob: 12f534f7900031bf56a9637922c5afb26c5263b4 (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
37
38
39
# New ports collection makefile for:	qtez
# Version required:			0.62a
# Date created:				14 May 1998
# Whom:					Andrey Zakhvatov
#
# $Id: Makefile,v 1.2 1998/06/07 14:57:08 jseger Exp $
#

DISTNAME=	QTEZ-v0.62a
PKGNAME=	qtez-0.62a
CATEGORIES=	devel x11
MASTER_SITES=	ftp://qtez.commkey.net/pub/QtEZ/
EXTRACT_SUFX=	-src.tar.gz

MAINTAINER=	andy@icc.surw.chel.su

BUILD_DEPENDS=	moc:${PORTSDIR}/x11/qt
LIB_DEPENDS=	qt\\.1\\.:${PORTSDIR}/x11/qt

USE_GMAKE=	yes
USE_X11=	yes
WRKSRC=		${WRKDIR}/qtez

do-install:
	@ ${INSTALL_PROGRAM} ${WRKDIR}/qtez/bin/qtez ${PREFIX}/bin
	@ ${MKDIR} ${PREFIX}/share/examples/qtez
	@ cd ${WRKDIR}/qtez/demo; tar cf - . | (cd ${PREFIX}/share/examples/qtez; tar xf - )
	@ ${MKDIR} ${PREFIX}/share/qtez
	@ ${INSTALL_DATA} ${WRKSRC}/lib/demo/progress/progress.qtl ${PREFIX}/share/qtez
	@ ${INSTALL_DATA} ${WRKSRC}/lib/demo/tableview/tableview.qtl ${PREFIX}/share/qtez
.if !defined(NOPORTDOCS)
	@ ${MKDIR} ${PREFIX}/share/doc/qtez
.for file in INSTALL KDE.README README TODO
	@ ${INSTALL_DATA} ${WRKDIR}/qtez/${file} ${PREFIX}/share/doc/qtez
.endfor
	@ cd ${WRKDIR}/qtez/docs; tar cf - . | (cd ${PREFIX}/share/doc/qtez; tar xf - )
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud