aboutsummaryrefslogtreecommitdiffstats
path: root/devel/qt4-qdoc3/Makefile
blob: d43507b5736625519bc12f3d296b72024dad80ac (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:    qdoc3
# Date created:     2009-08-20
# Whom:         Maxim Ignatenko <gelraen.ua@gmail.com>
#
# $FreeBSD$
#

PORTNAME=   qdoc3
PORTVERSION=    ${QT4_VERSION}
CATEGORIES= devel textproc
PKGNAMEPREFIX=  qt4-

MAINTAINER= kde@FreeBSD.org
COMMENT=    Qt documentation generator

USE_QT_VER= 4
QT_COMPONENTS=  qmake_build corelib xml
QT_NONSTANDART= yes
QT_DIST=    yes

HAS_CONFIGURE=  yes

EXTRACT_AFTER_ARGS= | ${TAR} -xf - --include '${DISTNAME}/tools/${PORTNAME}'

PLIST_FILES=    bin/${PORTNAME}

WRKSRC= ${WRKDIR}/${DISTNAME}/tools/${PORTNAME}

do-configure:
    @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
        ${QMAKE} -unix PREFIX=${PREFIX} ${PORTNAME}.pro

do-install:
    ${INSTALL_PROGRAM} "${WRKSRC}/${PORTNAME}" "${PREFIX}/bin/${PORTNAME}"

.include <bsd.port.mk>