9a9dd8905a
ignored by xsltproc, but the recent version generates an error. - Delete share/xsl only it is emtpy, since it is shared by other xsl packages. Bump PKGREVISION.
41 lines
1.1 KiB
Makefile
41 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.9 2005/11/18 08:04:25 minskim Exp $
|
|
|
|
DISTNAME= db2latex-xsl-0.8pre1
|
|
PKGNAME= ${DISTNAME:S/xsl-//}
|
|
PKGREVISION= 2
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=db2latex/}
|
|
|
|
MAINTAINER= minskim@NetBSD.org
|
|
HOMEPAGE= http://db2latex.sourceforge.net/
|
|
COMMENT= Set of XSLT stylesheets converting DocBook to LaTeX2e
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
NO_CONFIGURE= yes
|
|
NO_BUILD= yes
|
|
USE_LANGUAGE= # empty
|
|
|
|
DOCDIR= ${PREFIX}/share/doc/db2latex
|
|
XSLDIR= ${PREFIX}/share/xsl/db2latex
|
|
|
|
XML_ENTRIES= system "http://db2latex.sourceforge.net/xsl/docbook.xsl" \
|
|
${PREFIX}/share/xsl/db2latex/docbook.xsl
|
|
|
|
.include "../../textproc/xmlcatmgr/catalogs.mk"
|
|
|
|
post-extract:
|
|
cd ${WRKSRC} && ${FIND} . -name "*\**" -exec ${RM} {} \;
|
|
|
|
pre-install:
|
|
${FIND} ${WRKSRC} -name \*.orig -exec ${RM} {} \;
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${DOCDIR}
|
|
${INSTALL_DATA_DIR} ${XSLDIR}
|
|
cd ${WRKSRC}/doc && ${PAX} -rwpm . ${DOCDIR}
|
|
cd ${WRKSRC} && ${PAX} -rwpm AUTHOR COPYING COPYRIGHT README \
|
|
TODO VERSION ${DOCDIR}
|
|
cd ${WRKSRC}/xsl && ${PAX} -rwpm . ${XSLDIR}
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|