aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/kpovmodeler/Makefile
blob: a347956c98799957979c41d70868ce4d937c0a1e (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
38
# New ports collection makefile for:    kpovmodeler
# Date created:     2008-07-31
# Whom:         Max Brazhnikov <makc@issp.ac.ru>
#
# $FreeBSD$
#

PORTNAME=   kpovmodeler
PORTVERSION=    ${APP_VER}.${EXTRA_VER}
PORTREVISION=   4
CATEGORIES= graphics kde
MASTER_SITES=   ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${EXTRA_VER}/src/extragear
DISTNAME=   ${PORTNAME}-${APP_VER}-kde${EXTRA_VER}
DIST_SUBDIR=    KDE/extragear

MAINTAINER= kde@FreeBSD.org
COMMENT=    A KDE editor/frontend for Povray

BUILD_DEPENDS=  ${LOCALBASE}/share/xml/docbook/4.2/docbookx.dtd:${PORTSDIR}/textproc/docbook-xml

USE_BZIP2=  yes
USE_KDE4=   kdelibs kdeprefix kdehier automoc4
USE_QT_VER= 4
QT_COMPONENTS=  corelib opengl qmake_build moc_build rcc_build uic_build
USE_CMAKE=  yes
USE_GETTEXT=    yes
MAKE_JOBS_SAFE= yes

APP_VER=    1.1.3
EXTRA_VER=  4.3.1

post-patch:
#Fix build with kdelibs>=4.5.0
    ${REINPLACE_CMD} -e 's,V4.1.2-Based,V4.2-Based,g' \
        ${WRKSRC}/doc-translations/hu_kpovmodeler/kpovmodeler/index.docbook

.include <bsd.port.mk>