[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / x11 / kdelibdocs3

File: [cvs.NetBSD.org] / pkgsrc / x11 / kdelibdocs3 / Attic / Makefile (download)

Revision 1.66, Thu Jun 14 07:45:00 2012 UTC (10 years, 7 months ago) by sbd
Branch: MAIN
CVS Tags: pkgsrc-2012Q2-base, pkgsrc-2012Q2
Changes since 1.65: +2 -2 lines

Recursive PKGREVISION bump for libxml2 buildlink addition.

# $NetBSD: Makefile,v 1.66 2012/06/14 07:45:00 sbd Exp $

DISTNAME=	kdelibs-${_KDE_VERSION}
PKGNAME=	kdelibdocs-${_KDE_VERSION}
PKGREVISION=	12
CATEGORIES=	x11 devel

COMMENT=	KDE library documentation

PKG_DESTDIR_SUPPORT=	user-destdir

.include "../../meta-pkgs/kde3/Makefile.kde3"

BUILD_DEPENDS+=		doxygen>=1.4.7:../../devel/doxygen
BUILD_DEPENDS+=		graphviz-[0-9]*:../../graphics/graphviz
BUILD_DEPENDS+=		qt3-docs>=3.1.1:../../x11/qt3-docs

BUILD_TARGET=		apidox
INSTALL_TARGET=		install-data-local

UNLIMIT_RESOURCES+=	datasize
CHECK_PORTABILITY_SKIP+=	kate/tests/highlight.sh

GENERATE_PLIST+=							\
	( cd ${WRKSRC}/apidocs;						\
	  ${FIND} . -type f -print | ${GREP} -v "classmap.inc" |	\
	  ${GREP} -v "^./.*/.*/.*\.tag" | ${SORT} |			\
	  ${SED} 's:^.:share/doc/kde/HTML/en/kdelibs-apidocs:' );

post-install:
	cd ${WRKSRC}/apidocs;						\
	DOCDIRS=`${FIND} . -name classmap.inc -print | ${SED} 's:/classmap.inc::'`; \
	cd ${WRKSRC};							\
	for d in $${DOCDIRS}; do					\
		(cd $${d}; ${GMAKE} DESTDIR=${DESTDIR} install-apidox);			\
	done

.include "../../meta-pkgs/kde3/kde3.mk"
.include "../../x11/kdelibs3/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"