summaryrefslogtreecommitdiff
path: root/www/quanta-docs/Makefile
blob: 8d48dd6d4a73e6633ac6602ebe9c75b89c014516 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# $NetBSD: Makefile,v 1.13 2004/01/23 21:50:49 jmmv Exp $

DISTNAME=	quanta-docs-1.0
PKGREVISION=	5
CATEGORIES=	www
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=quanta/}
EXTRACT_SUFX=	.tar.bz2

QUANTA_DOCS=	css html javascript php
DISTFILES=	# empty
.for DOCS in ${QUANTA_DOCS}
DISTFILES+=	${DOCS}${EXTRACT_SUFX}
.endfor

MAINTAINER=	tech-pkg@NetBSD.org
HOMEPAGE=	http://quanta.sourceforge.net/
COMMENT= 	Documentation collection for Quanta, the KDE web editor

DEPENDS+=	quanta>=1.9.9.2:../../www/quanta

WRKSRC=			${WRKDIR}
BUILD_USES_MSGFMT=	YES
USE_BUILDLINK2=		YES

DIST_SUBDIR=	${PKGBASE}
NO_BUILD=	YES

DOCDIR=		${PREFIX}/share/kde/apps/quanta/doc

do-install:
	cd ${WRKSRC};							\
	for dir in ${QUANTA_DOCS}; do					\
		( cd $${dir}; ${CP} -r $${dir} $${dir}.docrc ${DOCDIR} ); \
		${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCDIR}/$${dir};	\
		${CHMOD} -R a-w ${DOCDIR}/$${dir};			\
	done

.include "../../x11/kde2/buildlink2.mk"
.include "../../x11/kdebase2/buildlink2.mk"

.include "../../mk/bsd.pkg.mk"