aboutsummaryrefslogtreecommitdiffstats
path: root/devel/qtez/Makefile
blob: 04f5e4c2ea643d9d99a8c2dc4732d56d59f56754 (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
# New ports collection makefile for:    qtez
# Version required:         0.77a
# Date created:             14 May 1998
# Whom:                 Andrey Zakhvatov
#
# $Id: Makefile,v 1.9 1998/08/12 06:29:26 asami Exp $
#

DISTNAME=   QtEZ.current-src
PKGNAME=    qtez-0.77a
CATEGORIES= devel
MASTER_SITES=   http://qtez.zax.net/qtez-extras/
#EXTRACT_SUFX=  tar.gz

MAINTAINER= andy@icc.surw.chel.su

USE_QT=     yes
USE_GMAKE=  yes
USE_X_PREFIX=   yes
WRKSRC=     ${WRKDIR}/qtez_src

do-install:
    @ ${INSTALL_PROGRAM} ${WRKDIR}/qtez_src/bin/qtez ${PREFIX}/bin
    @ ${MKDIR} ${PREFIX}/share/examples/qtez
    @ cd ${WRKDIR}/qtez_src/demo; tar cf - . | (cd ${PREFIX}/share/examples/qtez; tar xf - )

post-install:
.if !defined(NOPORTDOCS)
    @ ${MKDIR} ${PREFIX}/share/doc/qtez
.for file in INSTALL KDE.README README TODO
    @ ${INSTALL_DATA} ${WRKDIR}/qtez_src/${file} ${PREFIX}/share/doc/qtez
.endfor
    @ cd ${WRKDIR}/qtez_src/docs; tar cf - . | (cd ${PREFIX}/share/doc/qtez; tar xf - )
.endif

.include <bsd.port.mk>