diff options
Diffstat (limited to 'devel/qross/Makefile')
-rw-r--r-- | devel/qross/Makefile | 25 |
1 files changed, 19 insertions, 6 deletions
diff --git a/devel/qross/Makefile b/devel/qross/Makefile index a8ea2d390444..dc4903f8a209 100644 --- a/devel/qross/Makefile +++ b/devel/qross/Makefile @@ -1,12 +1,9 @@ -# New ports collection makefile for: Qross -# Date created: 2012-01-08 -# Whom: Gvozdikov Veniamin <g.veniamin@googlemail.com> -# +# Created by: Gvozdikov Veniamin <g.veniamin@googlemail.com> # $FreeBSD$ -# PORTNAME= qross PORTVERSION= 0.2.2 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= http://cloud.github.com/downloads/0xd34df00d/Qross/ @@ -19,7 +16,23 @@ USE_LDCONFIG= yes USE_QT4= designer gui network xml qmake_build uic_build moc_build \ rcc_build script -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src/qross +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src + +OPTIONS_DEFINE= PYTHON +OPTIONS_DEFAULT=PYTHON + +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MPYTHON} +BUILD_DEPENDS= sip:${PORTSDIR}/devel/py-sip +PLIST_SUB+= PYTHON="" +.else +CMAKE_ARGS= -DENABLE_PYTHON=OFF +PLIST_SUB+= PYTHON="@comment " +.endif + +post-extract: + @${CP} ${FILESDIR}/CMakeLists.txt ${WRKSRC} post-install: .for lib in libqrossui libqrosscore qrossqts |