aboutsummaryrefslogtreecommitdiffstats
path: root/devel/qtez/Makefile
blob: 994e6740e7da499042789bacd9b7845b8f0122e6 (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
# New ports collection makefile for:    qtez
# Version required:         0.77a
# Date created:             14 May 1998
# Whom:                 Andrey Zakhvatov
#
# $FreeBSD$
#

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

MAINTAINER= will@FreeBSD.org

USE_X_PREFIX=   yes
USE_QT=     yes
USE_GMAKE=  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>