freebsd-ports/devel/qross/Makefile
Max Brazhnikov ffd97a0193 - convert USE_CMAKE to USES
- while here clean up some ports from CMAKE_VERBOSE, which is intended
  for users

Approved by:	portmgr (miwi)
2013-03-22 20:06:14 +00:00

42 lines
946 B
Makefile

# Created by: Gvozdikov Veniamin <g.veniamin@googlemail.com>
# $FreeBSD$
PORTNAME= qross
PORTVERSION= 0.2.2
PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= http://cloud.github.com/downloads/0xd34df00d/Qross/
MAINTAINER= g.veniamin@googlemail.com
COMMENT= Qt-only fork of Kross, the KDE scripting framework
USE_BZIP2= yes
USES= cmake
USE_LDCONFIG= yes
USE_QT4= designer gui network xml qmake_build uic_build moc_build \
rcc_build script
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
@${LN} -s ${lib}.so.0.1 ${PREFIX}/lib/${lib}.so.1
.endfor
.include <bsd.port.mk>