summaryrefslogtreecommitdiff
path: root/sysutils/bacula-doc/Makefile
blob: 5bfa54cc90c440de258bee9af887588a75ed2925 (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
# $NetBSD: Makefile,v 1.22 2009/10/28 09:30:22 adam Exp $

DISTNAME=	bacula-docs-3.0.3
PKGNAME=	${DISTNAME:S/docs/doc/}
CATEGORIES=	sysutils
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=bacula/}
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.bacula.org/
COMMENT=	Documentation for Bacula - The Network Backup Solution

PKG_DESTDIR_SUPPORT=	user-destdir

NO_CONFIGURE=		yes
NO_BUILD=		yes

DOCDIR=			share/doc/bacula

INSTALLATION_DIRS=	${DOCDIR}
INSTALLATION_DIRS+=	${DOCDIR}/catalog
INSTALLATION_DIRS+=	${DOCDIR}/concepts
INSTALLATION_DIRS+=	${DOCDIR}/console
INSTALLATION_DIRS+=	${DOCDIR}/developers
INSTALLATION_DIRS+=	${DOCDIR}/install
INSTALLATION_DIRS+=	${DOCDIR}/problems
INSTALLATION_DIRS+=	${DOCDIR}/utility

do-install:
	${INSTALL_DATA} ${WRKSRC}/manuals/en/catalog/catalog/* ${DESTDIR}${PREFIX}/${DOCDIR}/catalog/
	${INSTALL_DATA} ${WRKSRC}/manuals/en/concepts/concepts/* ${DESTDIR}${PREFIX}/${DOCDIR}/concepts/
	${INSTALL_DATA} ${WRKSRC}/manuals/en/console/console/* ${DESTDIR}${PREFIX}/${DOCDIR}/console/
	${INSTALL_DATA} ${WRKSRC}/manuals/en/developers/developers/* ${DESTDIR}${PREFIX}/${DOCDIR}/developers/
	${INSTALL_DATA} ${WRKSRC}/manuals/en/install/install/* ${DESTDIR}${PREFIX}/${DOCDIR}/install/
	${INSTALL_DATA} ${WRKSRC}/manuals/en/problems/problems/* ${DESTDIR}${PREFIX}/${DOCDIR}/problems/
	${INSTALL_DATA} ${WRKSRC}/manuals/en/utility/utility/* ${DESTDIR}${PREFIX}/${DOCDIR}/utility/

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