1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00
freebsd-ports/textproc/db2latex/Makefile
Mathieu Arnold 7f67d157d9 Chase docbook cleanup dependencies.
Sponsored by:	Absolight
2014-02-18 14:50:34 +00:00

33 lines
921 B
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= db2latex
PORTVERSION= 0.8p1
PORTREVISION= 2
CATEGORIES= textproc
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/0.8pre1
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:${PORTSDIR}/textproc/docbook-xml \
${LOCALBASE}/share/xsl/docbook/VERSION:${PORTSDIR}/textproc/docbook-xsl
NO_BUILD= yes
PORTDOCS= *
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
${CP} -R ${WRKSRC}/xsl ${STAGEDIR}${DATADIR}
@${FIND} ${STAGEDIR}${DATADIR} ! -type d | \
${SED} 's,^${STAGEDIR}${PREFIX}/,,' >> ${TMPPLIST}
@${FIND} ${STAGEDIR}${DATADIR} -type d | ${SORT} -r | \
${SED} 's,^${STAGEDIR}${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${CP} -R ${WRKSRC}/doc/ ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>