pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/kdesdk3 Add optional subversion support.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a48e15d0de23
branches:  trunk
changeset: 491735:a48e15d0de23
user:      markd <markd%pkgsrc.org@localhost>
date:      Tue Mar 29 10:50:14 2005 +0000

description:
Add optional subversion support.

diffstat:

 devel/kdesdk3/Makefile |  15 ++++++++++++++-
 devel/kdesdk3/PLIST    |  10 +++++++++-
 2 files changed, 23 insertions(+), 2 deletions(-)

diffs (71 lines):

diff -r 6730e5e125e2 -r a48e15d0de23 devel/kdesdk3/Makefile
--- a/devel/kdesdk3/Makefile    Tue Mar 29 10:39:12 2005 +0000
+++ b/devel/kdesdk3/Makefile    Tue Mar 29 10:50:14 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2005/03/23 22:33:47 markd Exp $
+# $NetBSD: Makefile,v 1.32 2005/03/29 10:50:14 markd Exp $
 
 DISTNAME=      kdesdk-${_KDE_VERSION}
 CATEGORIES=    devel
@@ -63,6 +63,19 @@
 .endif
 PLIST_SRC+=    ${PKGDIR}/PLIST
 
+PKG_OPTIONS_VAR=       PKG_OPTIONS.kdesdk
+PKG_SUPPORTED_OPTIONS= svn
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Msvn)
+.include "../../devel/subversion/buildlink3.mk"
+CONFIGURE_ARGS+=       --with-svn-include="${BUILDLINK_PREFIX.subversion-base}/include"
+CONFIGURE_ARGS+=       --with-svn-lib="${BUILDLINK_PREFIX.subversion-base}/lib"
+PLIST_SUBST+=          HAVE_SVN=""
+.else
+PLIST_SUBST+=          HAVE_SVN="@comment"
+.endif
+
 .include "../../meta-pkgs/kde3/kde3.mk"
 
 .include "../../databases/db4/buildlink3.mk"
diff -r 6730e5e125e2 -r a48e15d0de23 devel/kdesdk3/PLIST
--- a/devel/kdesdk3/PLIST       Tue Mar 29 10:39:12 2005 +0000
+++ b/devel/kdesdk3/PLIST       Tue Mar 29 10:50:14 2005 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.16 2005/03/23 22:33:47 markd Exp $
+@comment $NetBSD: PLIST,v 1.17 2005/03/29 10:50:14 markd Exp $
 bin/adddebug
 bin/build-progress.sh
 bin/catalogmanager
@@ -106,10 +106,12 @@
 lib/kde3/kbabeldict_poauxiliary.la
 lib/kde3/kbabeldict_pocompendium.la
 lib/kde3/kbabeldict_tmxcompendium.la
+${HAVE_SVN}lib/kde3/kded_ksvnd.la
 lib/kde3/kfile_cpp.la
 lib/kde3/kfile_diff.la
 lib/kde3/kfile_po.la
 lib/kde3/kfile_ts.la
+${HAVE_SVN}lib/kde3/kio_svn.la
 lib/kde3/libcervisiapart.la
 lib/kde3/libkomparenavtreepart.la
 lib/kde3/libkomparepart.la
@@ -766,6 +768,7 @@
 share/kde/services/kbabel_xliff_export.desktop
 share/kde/services/kbabel_xliff_import.desktop
 share/kde/services/kbabel_xmltool.desktop
+${HAVE_SVN}share/kde/services/kded/ksvnd.desktop
 share/kde/services/kfile_cpp.desktop
 share/kde/services/kfile_diff.desktop
 share/kde/services/kfile_h.desktop
@@ -777,6 +780,11 @@
 share/kde/services/poauxiliary.desktop
 share/kde/services/pocompendium.desktop
 share/kde/services/pothumbnail.desktop
+${HAVE_SVN}share/kde/services/svn+file.protocol
+${HAVE_SVN}share/kde/services/svn+http.protocol
+${HAVE_SVN}share/kde/services/svn+https.protocol
+${HAVE_SVN}share/kde/services/svn+ssh.protocol
+${HAVE_SVN}share/kde/services/svn.protocol
 share/kde/services/tmxcompendium.desktop
 share/kde/servicetypes/kbabel_tool.desktop
 share/kde/servicetypes/kbabel_validator.desktop



Home | Main Index | Thread Index | Old Index