1 # $NetBSD: Makefile,v 1.112 2013/04/06 13:01:26 rodent Exp $
3 DISTNAME
= kdevelop_3.5
.5.orig
4 PKGNAME
= kdevelop-base-3.5
.5
7 MASTER_SITES
= http
://download.opensuse.org
/repositories
/home
:/amilcarlucas
/xUbuntu_6.06
/
9 HOMEPAGE
= http
://www.kdevelop.org
/
10 COMMENT
= Base modules for IDE for Unix
/X11
/KDE
11 LICENSE
= gnu-gpl-v2 AND gnu-lgpl-v2
13 WRKSRC
= ${WRKDIR}/kdevelop-3.5
.5
15 .
include "../../meta-pkgs/kde3/Makefile.kde3"
16 # default in Makefile.kde3 is wrong, so we need to set EXTRACT_SUFX here
19 DEPENDS
+= automake
>=1.7:..
/..
/devel
/automake
20 DEPENDS
+= doxygen
>=1.3.5:..
/..
/devel
/doxygen
21 DEPENDS
+= graphviz
>=1.10nb1
:..
/..
/graphics
/graphviz
22 DEPENDS
+= htdig
>=3.2.0:..
/..
/www
/htdig
23 DEPENDS
+= a2ps
>=4.12:..
/..
/print/a2ps
24 DEPENDS
+= kdelibdocs
>=3.2:..
/..
/x11
/kdelibdocs3
25 DEPENDS
+= qt3-docs
>=3.1.1:..
/..
/x11
/qt3-docs
26 DEPENDS
+= qt3-tools
>=3.1.1:..
/..
/x11
/qt3-tools
28 CONFLICTS
+= kdevelop
<=1.3
31 USE_LANGUAGES
= c c
++ fortran77
32 USE_TOOLS
+= msgfmt perl
:run
35 REPLACE_PERL
+= kdevprj2kdevelop
36 REPLACE_PERL
+= doc
/tools
/index-python
37 REPLACE_PERL
+= doc
/tools
/index-texi
38 REPLACE_PERL
+= doc
/tools
/toc-docbook
39 REPLACE_PERL
+= doc
/tools
/toc-gsdoc
40 REPLACE_PERL
+= doc
/tools
/toc-python
41 REPLACE_PERL
+= doc
/tools
/toc-texi
42 REPLACE_PERL
+= languages
/perl
/app_templates
/perlhello
/app.pl
43 REPLACE_PERL
+= languages
/perl
/file_templates
/pl
45 SUBST_CLASSES
+= perlpath
46 SUBST_STAGE.perlpath
= post-patch
47 SUBST_MESSAGE.perlpath
= Fix perl path.
48 SUBST_FILES.perlpath
= languages
/perl
/perlparser.
cpp parts
/doxygen
/config.
cpp
49 SUBST_SED.perlpath
= -e s
:/usr
/bin
/perl
:${PERL5
:Q
}:
51 EVAL_PREFIX
+= QT3DIR
=qt3
52 EVAL_PREFIX
+= KDELIBDIR
=kdelibs
54 CONFIGURE_ARGS
+= --with-db-includedir
=${BDBBASE}/include/${BDB_TYPE}
55 CONFIGURE_ARGS
+= --with-db-libdir
=${BDBBASE}/lib
56 CONFIGURE_ARGS
+= --with-db-lib
=${BDB_TYPE}
57 CONFIGURE_ARGS
+= --with-qtdoc-dir
=${QT3DIR}/qt3
/doc
/html
58 CONFIGURE_ARGS
+= --with-kdelibsdoxy-dir
=${KDELIBDIR}/share
/doc
/kde
/HTML
/en
/kdelibs-apidocs
62 .
include "../../meta-pkgs/kde3/kde3.mk"
64 # XXX: need to include compiler.mk before including bdb.buildlink3.mk,
65 # otherwise f2c is not added as a dependency correctly
66 .
include "../../mk/compiler.mk"
67 .
include "../../devel/kdesdk3/buildlink3.mk"
68 .
include "../../graphics/hicolor-icon-theme/buildlink3.mk"
69 .
include "../../x11/kdebase3/buildlink3.mk"
70 .
include "../../x11/kdelibs3/buildlink3.mk"
71 .
include "../../sysutils/desktop-file-utils/desktopdb.mk"
72 .
include "../../mk/bdb.buildlink3.mk"
73 .
include "../../mk/bsd.pkg.mk"