mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
8c348c8141
DocBook to LaTeX XSL stylesheets
42 lines
1001 B
Makefile
42 lines
1001 B
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: db2latex
|
|
# Date created: Jun 24, 2004
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= db2latex
|
|
PORTVERSION= 0.8p1
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
DISTNAME= ${PORTNAME}-xsl-${PORTVERSION:S/p/pre/}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= DocBook to LaTeX XSL stylesheets
|
|
|
|
RUN_DEPENDS= xsltproc:${PORTSDIR}/textproc/libxslt \
|
|
${LOCALBASE}/share/xml/docbook/4.2/docbook.cat:${PORTSDIR}/textproc/docbook-xml \
|
|
${LOCALBASE}/share/xsl/docbook/VERSION:${PORTSDIR}/textproc/docbook-xsl
|
|
|
|
NO_BUILD= yes
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
PORTDOCS= *
|
|
.endif
|
|
|
|
do-install:
|
|
@${MKDIR} ${DATADIR}
|
|
${CP} -R ${WRKSRC}/xsl ${DATADIR}
|
|
@${FIND} ${DATADIR} ! -type d | \
|
|
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
|
|
@${FIND} ${DATADIR} -type d | ${SORT} -r | \
|
|
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
${CP} -R ${WRKSRC}/doc/ ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|