aboutsummaryrefslogtreecommitdiffstats
path: root/devel/qsvn/Makefile
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-05-28 06:12:09 +0800
committermiwi <miwi@FreeBSD.org>2008-05-28 06:12:09 +0800
commitc486a60f04933c8227640b8faca0f931afbe32ef (patch)
tree827b6cdb889eaa1ccc00ca4598ae40dee1a42a50 /devel/qsvn/Makefile
parent888eabb1977d6504355090d942963975c8d755ed (diff)
downloadfreebsd-ports-gnome-c486a60f04933c8227640b8faca0f931afbe32ef.tar.gz
freebsd-ports-gnome-c486a60f04933c8227640b8faca0f931afbe32ef.tar.zst
freebsd-ports-gnome-c486a60f04933c8227640b8faca0f931afbe32ef.zip
- Add common code to support for cmake based ports.
- Update devel/cmake to 2.6.0 (also fix ports/123092) - Use the new CMAKE build framework in all ports using cmake Approved by: portmgr (pav)
Diffstat (limited to 'devel/qsvn/Makefile')
-rw-r--r--devel/qsvn/Makefile17
1 files changed, 3 insertions, 14 deletions
diff --git a/devel/qsvn/Makefile b/devel/qsvn/Makefile
index 0f08d611d8de..4da6579ca503 100644
--- a/devel/qsvn/Makefile
+++ b/devel/qsvn/Makefile
@@ -14,26 +14,15 @@ MASTER_SITES= http://www.anrichter.net/projects/qsvn/chrome/site/
MAINTAINER= makc@issp.ac.ru
COMMENT= Qt based GUI frontend for Subversion
-BUILD_DEPENDS= ${CMAKE}:${PORTSDIR}/devel/cmake
LIB_DEPENDS+= svn_client-1:${PORTSDIR}/devel/subversion
USE_QT_VER= 4
QT_COMPONENTS= gui moc_build uic_build rcc_build qmake_build qt3support_build
USE_LDCONFIG= yes
-MAKE_ENV+= VERBOSE=1
+USE_CMAKE= yes
-DESKTOP_ENTRIES="QSvn" "SVN client" "" "qsvn" "" false
-
-CMAKE?= ${LOCALBASE}/bin/cmake
-CMAKE_ARGS= -DCMAKE_INSTALL_PREFIX:PATH=${PREFIX} \
- -DCMAKE_C_COMPILER:STRING="${CC}" \
- -DCMAKE_CXX_COMPILER:STRING="${CXX}" \
- -DCMAKE_C_FLAGS:STRING="${CFLAGS}" \
- -DCMAKE_CXX_FLAGS:STRING="${CXXFLAGS}"
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-
-do-configure:
- cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${CMAKE} ${CMAKE_ARGS} src
+DESKTOP_ENTRIES="QSvn" "SVN client" "" "qsvn" "" false
.include <bsd.port.mk>