summaryrefslogtreecommitdiff
path: root/shells/bash2-doc/Makefile
blob: 6c1692d5f8e62e4b6555d44113a07d8cfc1c0327 (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
# $NetBSD: Makefile,v 1.17 2019/10/12 20:51:48 rillig Exp $

DISTNAME=	bash-doc-2.05b
PKGNAME=	bash-doc-2.05.2
PKGREVISION=	1
CATEGORIES=	shells
MASTER_SITES=	${MASTER_SITE_GNU:=bash/}
MASTER_SITES+=	ftp://ftp.cwru.edu/pub/bash/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.gnu.org/software/bash/bash.html
COMMENT=	Documentation for the GNU Bourne Again Shell

CONFLICTS=	bash<=2.05nb1

WRKSRC=		${WRKDIR}/doc
NO_CONFIGURE=	yes
NO_BUILD=	yes

USE_TOOLS+=	gzip

DOCDIR=		${PREFIX}/share/doc/bash
DOCDIR_FILES=	article.ps bashref.ps article.txt bash.html bashref.html

INSTALLATION_DIRS=	${DOCDIR}

do-install:
	cd ${WRKSRC} && ${INSTALL_DATA} ${DOCDIR_FILES} ${DESTDIR}${DOCDIR}
	${GZIP_CMD} ${DESTDIR}${DOCDIR}/*.ps

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