aboutsummaryrefslogtreecommitdiffstats
path: root/devel/shiboken/Makefile
blob: 50ca454b435ead00ee8562e5aaa4228103752cea (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
39
40
41
# New ports collection makefile for:    shiboken
# Date created:     2011-03-21
# Whom:         Nicola Vitale <nivit@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   shiboken
PORTVERSION=    1.1.0
PORTREVISION=   1
CATEGORIES= devel
MASTER_SITES=   http://www.pyside.org/files/

MAINTAINER= nivit@FreeBSD.org
COMMENT=    C++ code generator for CPython extensions

LICENSE=    GPLv2 LGPL21
LICENSE_COMB=   multi

BUILD_DEPENDS=  sphinx-build:${PORTSDIR}/textproc/py-sphinx
LIB_DEPENDS=    apiextractor.0:${PORTSDIR}/devel/apiextractor \
        genrunner.0:${PORTSDIR}/devel/generatorrunner

PLIST_SUB=  PORTVERSION=${PORTVERSION} \
        PYTHON_VERSION=${PYTHON_VERSION}

QT_COMPONENTS=  corelib qmake_build moc_build uic_build rcc_build

USE_BZIP2=  yes
USE_CMAKE=  yes
USE_LDCONFIG=   yes
USE_PYTHON= yes
USE_QT_VER= 4

.if !defined(NO_INSTALL_MANPAGES)
MAN1=   shiboken.1
.else
CMAKE_ARGS= -DNO_INSTALL_MANPAGES:BOOL="ON"
.endif

.include <bsd.port.mk>