blob: a9fd7f3a8a3e43118431428163193c71ca2354ed (
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.24 2006/03/21 06:00:49 jlam Exp $
#
DISTNAME= docbook-website-2.6.0
PKGREVISION= 3
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=docbook/}
MAINTAINER= grant@NetBSD.org
HOMEPAGE= http://docbook.sourceforge.net/
COMMENT= DocBook XML DTD for building websites
DEPENDS+= docbook-simple-[0-9]*:../../textproc/docbook-simple
DEPENDS+= docbook-xsl>=1.58:../../textproc/docbook-xsl
USE_LANGUAGES= # empty
NO_BUILD= YES
NO_CONFIGURE= YES
DOCDIR= ${PREFIX}/share/doc/docbook-website
DTDDIR= ${PREFIX}/share/xml/website
EGDIR= ${PREFIX}/share/examples/docbook-website
XML_CATALOGS= ${DTDDIR}/catalog.xml
SGML_CATALOGS= ${DTDDIR}/catalog
do-install:
cd ${WRKSRC} && ${FIND} . -name "*.orig" -exec ${RM} {} \;
${INSTALL_DATA_DIR} ${DOCDIR}
${INSTALL_DATA_DIR} ${DTDDIR}
${INSTALL_DATA_DIR} ${EGDIR}
cd ${WRKSRC} && ${PAX} -rwpm ChangeLog README VERSION \
RELEASE-NOTES.html RELEASE-NOTES.txt RELEASE-NOTES.xml \
TODO ${DOCDIR}
cd ${WRKSRC}/example && ${PAX} -rwpm . ${EGDIR}
cd ${WRKSRC} && ${PAX} -rwpm VERSION extensions schema xsl \
${DTDDIR}
${INSTALL_DATA} ${WRKSRC}/catalog.xml ${WRKSRC}/catalog ${DTDDIR}
.include "../../textproc/xmlcatmgr/catalogs.mk"
.include "../../mk/bsd.pkg.mk"
|