# $NetBSD: Makefile,v 1.51 2006/05/21 07:06:19 rillig Exp $ DISTNAME= kdesdk-${_KDE_VERSION} PKGREVISION= 2 CATEGORIES= devel COMMENT= Support applications and tools used by KDE developers CONFLICTS+= cervisia-[0-9]* CONFLICTS+= umbrello-[0-9]* .include "../../meta-pkgs/kde3/Makefile.kde3" USE_DIRS+= xdg-1.1 USE_TOOLS+= lex perl:run REPLACE_PERL+= cervisia/change_colors.pl \ cervisia/move_repositories.pl \ cervisia/cervisia-change_repos_list.pl \ cervisia/cervisia-normalize_cvsroot.pl \ kapptemplate/admin/am_edit \ kapptemplate/admin/bcheck.pl \ kapptemplate/admin/debianrules \ kapptemplate/admin/nmcheck \ kcachegrind/converters/dprof2calltree \ kcachegrind/converters/memprof2calltree \ kcachegrind/converters/op2calltree \ scripts/authors2xml.pl \ scripts/check_licenses \ scripts/colorcvs \ scripts/cvs-clean \ scripts/cvsblame \ scripts/cvscheck \ scripts/cvslastchange \ scripts/cvslastreferenced \ scripts/cxxmetric \ scripts/extend_dmalloc \ scripts/extractattr \ scripts/extractrc \ scripts/fixheaders \ scripts/fixkdeincludes \ scripts/fixuifiles \ scripts/includemocs \ scripts/kde-spellcheck.pl \ scripts/kdemangen.pl \ scripts/kdesvn-build \ scripts/licensecheck \ scripts/noncvslist \ scripts/png2mng.pl \ scripts/rc2kcfgxt.pl \ kunittest/kunittest_debughelper REPLACE_INTERPRETER+= bash REPLACE.bash.old= /bin/bash REPLACE.bash.new= ${SH} REPLACE_FILES.bash= scripts/cvs2dist scripts/makeobj \ scripts/package_crystalsvg \ kunittest/kunittest \ kunittest/kunittestmod .include "../../mk/bsd.prefs.mk" PLIST_SRC= # empty .if ${OPSYS} == "Linux" PLIST_SRC+= ${PKGDIR}/PLIST.kmtrace .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-base/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 CONFIGURE_ARGS+= --with-subversion=no PLIST_SUBST+= HAVE_SVN="@comment " .endif # Makefile{,.am,.in} weren't supposed to be installed so clean up post-install: ${RM} ${KDEDIR}/share/kde/apps/kapptemplate/admin/Makefile ${RM} ${KDEDIR}/share/kde/apps/kapptemplate/admin/Makefile.am ${RM} ${KDEDIR}/share/kde/apps/kapptemplate/admin/Makefile.in .include "../../meta-pkgs/kde3/kde3.mk" .include "../../databases/db4/buildlink3.mk" .include "../../devel/libltdl/buildlink3.mk" .include "../../x11/kdelibs3/buildlink3.mk" .include "../../x11/kdebase3/buildlink3.mk" .include "../../mk/bsd.pkg.mk"