aboutsummaryrefslogtreecommitdiffstats
path: root/devel/kdesvn-kde4
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/kdesvn-kde4
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/kdesvn-kde4')
-rw-r--r--devel/kdesvn-kde4/Makefile17
1 files changed, 2 insertions, 15 deletions
diff --git a/devel/kdesvn-kde4/Makefile b/devel/kdesvn-kde4/Makefile
index 2fac46bec9d4..a5797f5ec0e8 100644
--- a/devel/kdesvn-kde4/Makefile
+++ b/devel/kdesvn-kde4/Makefile
@@ -6,27 +6,18 @@
PORTNAME= kdesvn
PORTVERSION= 0.14.1
+PORTREVISION= 1
CATEGORIES= devel kde
MASTER_SITES= http://www.alwins-world.de/programs/download/${PORTNAME}/${PORTVERSION:R}.x/
MAINTAINER= yuanjue@FreeBSD.org
COMMENT= KDE frontend for Subversion
-BUILD_DEPENDS= cmake:${PORTSDIR}/devel/cmake
-
-WRKSRC= ${WRKDIR}/${DISTNAME}-build
-PATCH_WRKSRC= ${WRKDIR}/${DISTNAME}
-
-CMAKE_ARGS= -DCMAKE_BUILD_TYPE:STRING=Release \
- -DCMAKE_C_COMPILER:STRING='${CC}' \
- -DCMAKE_CXX_COMPILER:STRING=${CXX} \
- -DCMAKE_CXX_FLAGS:STRING="${CXXFLAGS}" \
- -DCMAKE_INSTALL_PREFIX=${PREFIX}
-
LIB_DEPENDS+= apr-1:${PORTSDIR}/devel/apr-svn \
svn_client-1:${PORTSDIR}/devel/subversion \
neon:${PORTSDIR}/www/neon26
+USE_CMAKE= yes
USE_BZIP2= yes
USE_KDELIBS_VER=3
USE_LDCONFIG= yes
@@ -51,8 +42,4 @@ post-extract:
${ECHO} "ADD_SUBDIRECTORY(man)" > ${PATCH_WRKSRC}/doc/CMakeLists.txt
.endif
-do-configure:
- @(cd ${WRKSRC}; \
- ${LOCALBASE}/bin/cmake ${CMAKE_ARGS} ${PATCH_WRKSRC})
-
.include <bsd.port.mk>