mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
ffd97a0193
- while here clean up some ports from CMAKE_VERBOSE, which is intended for users Approved by: portmgr (miwi)
66 lines
1.3 KiB
Makefile
66 lines
1.3 KiB
Makefile
# New ports collection makefile for: shiboken
|
|
# Date created: 2011-03-21
|
|
# Whom: Nicola Vitale <nivit@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= shiboken
|
|
PORTVERSION= 1.1.1
|
|
PORTREVISION= 0
|
|
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
|
|
|
|
LIB_DEPENDS= xml2:${PORTSDIR}/textproc/libxml2 \
|
|
xslt:${PORTSDIR}/textproc/libxslt
|
|
|
|
PLIST_SUB= PORTVERSION=${PORTVERSION} \
|
|
PYTHON_VERSION=${PYTHON_VERSION}
|
|
|
|
USE_QT4= gui qmake_build qtestlib moc_build \
|
|
uic_build rcc_build xml xmlpatterns
|
|
|
|
USE_BZIP2= yes
|
|
USES= cmake
|
|
USE_LDCONFIG= yes
|
|
USE_PYTHON= yes
|
|
|
|
ALL_TARGET= all
|
|
|
|
OPTIONS_DEFINE= DOCS MANPAGES
|
|
OPTIONS_DEFAULT= MANPAGES
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MMANPAGES}
|
|
MAN1= shiboken.1
|
|
.else
|
|
CMAKE_ARGS= -DNO_INSTALL_MANPAGES:BOOL="ON"
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
BUILD_DEPENDS+= sphinx-build:${PORTSDIR}/textproc/py-sphinx
|
|
ALL_TARGET+= doc
|
|
post-install:
|
|
if [ -d ${WRKSRC}/doc/html ]; then \
|
|
${MKDIR} ${DOCSDIR} && \
|
|
cd ${WRKSRC}/doc/html && ${COPYTREE_SHARE} . ${DOCSDIR}; \
|
|
fi
|
|
.endif
|
|
|
|
post-patch:
|
|
@cd ${WRKSRC}/generator && \
|
|
${MV} ${PORTNAME} ${PORTNAME}.dir
|
|
|
|
regression-test: build
|
|
@${ECHO_MSG} "===> Running shiboken regression tests"
|
|
@cd ${WRKSRC} && ${MAKE} test
|
|
|
|
.include <bsd.port.mk>
|