pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/c-cpp-reference Add glue to plug this into kdeve...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/65bd22bebfc0
branches:  trunk
changeset: 468595:65bd22bebfc0
user:      markd <markd%pkgsrc.org@localhost>
date:      Sun Feb 15 11:59:04 2004 +0000

description:
Add glue to plug this into kdevelop-3's structure.
Bump PKGREVISION.

diffstat:

 devel/c-cpp-reference/Makefile                |  16 +++++++++++++---
 devel/c-cpp-reference/files/c++_reference.toc |   7 +++++++
 devel/c-cpp-reference/files/c_reference.toc   |   7 +++++++
 3 files changed, 27 insertions(+), 3 deletions(-)

diffs (61 lines):

diff -r 73535ddf0110 -r 65bd22bebfc0 devel/c-cpp-reference/Makefile
--- a/devel/c-cpp-reference/Makefile    Sun Feb 15 11:25:24 2004 +0000
+++ b/devel/c-cpp-reference/Makefile    Sun Feb 15 11:59:04 2004 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.8 2004/01/22 08:24:28 grant Exp $
+# $NetBSD: Makefile,v 1.9 2004/02/15 11:59:04 markd Exp $
 #
 
 DISTNAME=      c_cpp_reference-2.0.2
 PKGNAME=       ${DISTNAME:S/_/-/g}
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    devel kde
 MASTER_SITES=  ftp://ftp.e-technik.fh-muenchen.de/pub/unix/ide/KDevelop/
 
@@ -11,12 +11,22 @@
 HOMEPAGE=      http://www.kdevelop.org/
 COMMENT=       C and C++ reference for the KDE IDE
 
-DEPENDS+=      kdevelop-base>=2.1.1:../kdevelop-base
+DEPENDS+=      kdevelop-base>=3.0.0:../../devel/kdevelop-base
 
 USE_BUILDLINK2=        YES
 USE_GNU_TOOLS+=        make
 USE_LIBTOOL=   YES
 GNU_CONFIGURE= YES
 
+post-build:
+       ${SED} -e 's,@PREFIX@,${PREFIX},g'                      \
+       < ${FILESDIR}/c_reference.toc > ${WRKDIR}/c_reference.toc
+       ${SED} -e 's,@PREFIX@,${PREFIX},g'                      \
+       < ${FILESDIR}/c++_reference.toc > ${WRKDIR}/c++_reference.toc
+
+post-install:
+       ${INSTALL_DATA} ${WRKDIR}/c_reference.toc ${PREFIX}/share/kde/apps/kdevdoctreeview/tocs/c_reference.toc
+       ${INSTALL_DATA} ${WRKDIR}/c++_reference.toc ${PREFIX}/share/kde/apps/kdevdoctreeview/tocs/c++_reference.toc
+
 .include "../../meta-pkgs/kde3/buildlink2.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 73535ddf0110 -r 65bd22bebfc0 devel/c-cpp-reference/files/c++_reference.toc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/c-cpp-reference/files/c++_reference.toc     Sun Feb 15 11:59:04 2004 +0000
@@ -0,0 +1,7 @@
+<!DOCTYPE kdeveloptoc>
+<kdeveloptoc>
+<title>C++ Reference</title>
+<base href="file:@PREFIX@/share/doc/kde/HTML/en/kdevelop/reference/"/>
+<tocsect1 name="Query" url="CPLUSPLUS/cref.html">
+</tocsect1>
+</kdeveloptoc>
diff -r 73535ddf0110 -r 65bd22bebfc0 devel/c-cpp-reference/files/c_reference.toc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/c-cpp-reference/files/c_reference.toc       Sun Feb 15 11:59:04 2004 +0000
@@ -0,0 +1,7 @@
+<!DOCTYPE kdeveloptoc>
+<kdeveloptoc>
+<title>C Reference</title>
+<base href="file:@PREFIX@/share/doc/kde/HTML/en/kdevelop/reference/"/>
+<tocsect1 name="Query" url="C/cref.html">
+</tocsect1>
+</kdeveloptoc>



Home | Main Index | Thread Index | Old Index