1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/devel/shiboken/Makefile
Tobias C. Berner b1a1d38bf9 Replace bsd.qt.mk by Uses/qt.mk and Uses/qt-dist.mk
From now on, ports that depend on Qt4 will have to set
	USES=		qt:4
	USE_QT=		foo bar
ports depending on Qt5 will use
	USES=		qt:5
	USE_QT=		foo bar

PR:		229225
Exp-run by:	antoine
Reviewed by:	mat
Approved by:	portmgr (antoine)
Differential Revision:	→https://reviews.freebsd.org/D15540
2018-06-28 17:39:53 +00:00

49 lines
1.1 KiB
Makefile

# Created by: Nicola Vitale <nivit@FreeBSD.org>
# $FreeBSD$
PORTNAME= shiboken
PORTVERSION= 1.2.2
PORTREVISION= 3
CATEGORIES= devel
MASTER_SITES= https://download.qt-project.org/official_releases/pyside/
MAINTAINER= ports@FreeBSD.org
COMMENT= C++ code generator for CPython extensions
LICENSE= GPLv2 LGPL21
LICENSE_COMB= multi
LIB_DEPENDS= libxml2.so:textproc/libxml2 \
libxslt.so:textproc/libxslt
PLIST_SUB= PORTVERSION=${PORTVERSION} \
PYTHON_VERSION=${PYTHON_VERSION}
USE_QT= corelib qmake_build qtestlib moc_build network \
uic_build rcc_build xml xmlpatterns
USES= cmake python:2.7 qt:4 tar:bzip2
USE_LDCONFIG= yes
ALL_TARGET= all
TEST_TARGET= test
OPTIONS_DEFINE= DOCS MANPAGES
OPTIONS_DEFAULT= MANPAGES
OPTIONS_SUB= yes
MANPAGES_PLIST_FILES= man/man1/shiboken.1.gz
MANPAGES_CMAKE_OFF= -DNO_INSTALL_MANPAGES:BOOL="ON"
DOCS_BUILD_DEPENDS= sphinx-build:textproc/py-sphinx
DOCS_ALL_TARGET= doc
post-install-DOCS-on:
cd ${WRKSRC}/doc/html && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
post-patch:
@cd ${WRKSRC}/generator && \
${MV} ${PORTNAME} ${PORTNAME}.dir
.include <bsd.port.mk>