summaryrefslogtreecommitdiff
path: root/textproc/dsssl-docbook-modular/Makefile
blob: 06c6dbe24c4cdf578a4e7693e600ce72ce6c9eab (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
# $NetBSD: Makefile,v 1.2 1999/09/28 20:40:05 soren Exp $
# FreeBSD Id: Makefile,v 1.17 1999/04/24 09:25:32 kuriyama Exp

DISTNAME=	db141
PKGNAME=	dsssl-docbook-modular-1.41
CATEGORIES=	textproc
MASTER_SITES=	http://nwalsh.com/docbook/dsssl/
DISTFILES=	db141.zip db141d.zip

MAINTAINER=	packages@netbsd.org
HOMEPAGE=	http://nwalsh.com/docbook/dsssl/

BUILD_DEPENDS=	unzip:../../archivers/unzip
DEPENDS+=	docbook-3.1:../../textproc/docbook

EXTRACT_CMD=	unzip ${DOWNLOADED_DISTFILE}
NO_MTREE=	yes
WRKSRC=		${WRKDIR}/docbook

INSTDIR=	${PREFIX}/share/sgml/docbook/dsssl/modular

do-build:
	@${RM} -Rf ${WRKSRC}/docsrc

pre-install:
	@[ -d ${INSTDIR} ] || ${MKDIR} ${INSTDIR}
#	@find ${WRKDIR} -name '*~' -exec ${RM} {} \;
#	@find ${WRKDIR} -name '*.orig' -exec ${RM} {} \;

do-install:
	@${CP} -Rp ${WRKDIR}/docbook/* ${INSTDIR}
	@$(CHOWN) -R ${SHAREOWN}.${SHAREGRP} ${INSTDIR}

post-install:
	@${CAT} ${FILESDIR}/install-note

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