blob: 4685cbeac31aa9220d3ce9264a85719d1c9627b1 (
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.12 2006/07/04 09:31:09 rillig Exp $
DISTNAME= db2latex-xsl-0.8pre1
PKGNAME= ${DISTNAME:S/xsl-//}
PKGREVISION= 4
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_LANGUAGES= # none
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} {} \;
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"
|