1fc35b0522
The local definition of ifpdf caused a conflict with TeX Live.
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.17 2009/07/28 16:27:11 minskim Exp $
|
|
|
|
DISTNAME= db2latex-xsl-0.8pre1
|
|
PKGNAME= ${DISTNAME:S/xsl-//}
|
|
PKGREVISION= 6
|
|
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
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
NO_CONFIGURE= yes
|
|
NO_BUILD= yes
|
|
USE_LANGUAGES= # none
|
|
USE_TOOLS+= pax
|
|
|
|
DOCDIR= ${PREFIX}/share/doc/db2latex
|
|
XSLDIR= ${PREFIX}/share/xsl/db2latex
|
|
|
|
XML_ENTRIES= rewriteURI http://db2latex.sourceforge.net/xsl/ \
|
|
${PREFIX}/share/xsl/db2latex/
|
|
|
|
.include "../../textproc/xmlcatmgr/catalogs.mk"
|
|
|
|
post-extract:
|
|
cd ${WRKSRC} && ${FIND} . -name "*\\**" -exec ${RM} {} \;
|
|
|
|
pre-install:
|
|
${FIND} ${WRKSRC} -name \*.orig -exec ${RM} {} \;
|
|
|
|
INSTALLATION_DIRS= ${DOCDIR} ${XSLDIR}
|
|
|
|
do-install:
|
|
cd ${WRKSRC}/doc && pax -rwpm . ${DESTDIR}${DOCDIR}
|
|
cd ${WRKSRC} && pax -rwpm AUTHOR COPYING COPYRIGHT README \
|
|
TODO VERSION ${DESTDIR}${DOCDIR}
|
|
cd ${WRKSRC}/xsl && pax -rwpm . ${DESTDIR}${XSLDIR}
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|