diff options
author | markd <markd@pkgsrc.org> | 2004-02-15 11:59:04 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2004-02-15 11:59:04 +0000 |
commit | b7a626b100bd7a6f2af1485e9b7781f3045e67da (patch) | |
tree | 79fbc536f7f8bddc217c07ecc5557e4556c60fbf /devel | |
parent | d3b764916d857a75c5fb76e1b3741524269fe6b5 (diff) | |
download | pkgsrc-b7a626b100bd7a6f2af1485e9b7781f3045e67da.tar.gz |
Add glue to plug this into kdevelop-3's structure.
Bump PKGREVISION.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/c-cpp-reference/Makefile | 16 | ||||
-rw-r--r-- | devel/c-cpp-reference/files/c++_reference.toc | 7 | ||||
-rw-r--r-- | devel/c-cpp-reference/files/c_reference.toc | 7 |
3 files changed, 27 insertions, 3 deletions
diff --git a/devel/c-cpp-reference/Makefile b/devel/c-cpp-reference/Makefile index ab3592775bb..a32994fcdd6 100644 --- a/devel/c-cpp-reference/Makefile +++ b/devel/c-cpp-reference/Makefile @@ -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 @@ MAINTAINER= tron@NetBSD.org 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 --git a/devel/c-cpp-reference/files/c++_reference.toc b/devel/c-cpp-reference/files/c++_reference.toc new file mode 100644 index 00000000000..325064b9214 --- /dev/null +++ b/devel/c-cpp-reference/files/c++_reference.toc @@ -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 --git a/devel/c-cpp-reference/files/c_reference.toc b/devel/c-cpp-reference/files/c_reference.toc new file mode 100644 index 00000000000..3712ccaa2a1 --- /dev/null +++ b/devel/c-cpp-reference/files/c_reference.toc @@ -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> |