40 lines
1.1 KiB
Makefile
40 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.12 2004/02/25 11:48:15 grant Exp $
|
|
#
|
|
|
|
DISTNAME= website-2.3
|
|
PKGNAME= docbook-${DISTNAME}
|
|
PKGREVISION= 4
|
|
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-xsl>=1.58:../../textproc/docbook-xsl
|
|
|
|
USE_BUILDLINK3= yes
|
|
USE_LANGUAGES= # empty
|
|
NO_BUILD= # defined
|
|
NO_CONFIGURE= # defined
|
|
|
|
DOCDIR= ${PREFIX}/share/doc/docbook-website
|
|
DTDDIR= ${PREFIX}/share/xml/website
|
|
EGDIR= ${PREFIX}/share/examples/docbook-website
|
|
|
|
XML_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 WhatsNew \
|
|
${DOCDIR}
|
|
cd ${WRKSRC}/example && ${PAX} -rwpm . ${EGDIR}
|
|
cd ${WRKSRC} && ${PAX} -rwpm VERSION extensions xsl *.dtd *.mod \
|
|
${DTDDIR}
|
|
${INSTALL_DATA} ${FILESDIR}/catalog ${DTDDIR}/catalog
|
|
|
|
.include "../../textproc/xmlcatmgr/catalogs.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|