summaryrefslogtreecommitdiff
path: root/textproc/dsssl-docbook-modular/Makefile
blob: 0e3e9f81283f3016853587af13cbc2ec9f543a16 (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
42
43
# $NetBSD: Makefile,v 1.17 2003/07/17 22:54:13 grant Exp $
# FreeBSD Id: Makefile,v 1.17 1999/04/24 09:25:32 kuriyama Exp

DISTNAME=	db157
PKGNAME=	dsssl-docbook-modular-1.57
PKGREVISION=	2
WRKSRC=		${WRKDIR}/docbook
CATEGORIES=	textproc
MASTER_SITES=	http://nwalsh.com/docbook/dsssl/
DISTFILES=	db157.zip db157d.zip

MAINTAINER=	hubertf@NetBSD.org
HOMEPAGE=	http://nwalsh.com/docbook/dsssl/
COMMENT=	DSSSL stylesheets for the DocBook DTD by Norman Walsh

BUILD_DEPENDS=	unzip-[0-9]*:../../archivers/unzip
DEPENDS+=	docbook>=4.0:../../textproc/docbook

EXTRACT_CMD=	unzip ${DOWNLOADED_DISTFILE}
NO_MTREE=	yes

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

SGML_CATALOGS=	${INSTDIR}/catalog

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

pre-install:
	${INSTALL_DATA_DIR} ${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 "../../textproc/xmlcatmgr/catalogs.mk"
.include "../../mk/bsd.pkg.mk"