mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
d424283e95
Horia Racoviceanu <horia at racoviceanu.com> wishes to maintain these ports with my help. textproc/docbook2odf - Pass maintainership to horia at racoviceanu.com - Break lines around 80 characters - Change pkg-plist, remove mtree textproc/py-ltxml - Pass maintainership to horia at racoviceanu.com - Break lines around 80 characters textproc/xsv - Pass maintainership to horia at racoviceanu.com - Remove blank characters
47 lines
1.4 KiB
Makefile
47 lines
1.4 KiB
Makefile
# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= docbook2odf
|
|
PORTVERSION= 0.244
|
|
CATEGORIES= textproc perl5
|
|
MASTER_SITES= http://open.comsultia.com/docbook2odf/dwn/
|
|
|
|
MAINTAINER= horia@racoviceanu.com
|
|
COMMENT= Convert docbook document to Oasis Open Document
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LIB_DEPENDS= libsablot.so:${PORTSDIR}/textproc/sablotron \
|
|
libxslt.so:${PORTSDIR}/textproc/libxslt
|
|
RUN_DEPENDS= convert:${PORTSDIR}/graphics/ImageMagick \
|
|
zip:${PORTSDIR}/archivers/zip \
|
|
p5-Archive-Zip>=0:${PORTSDIR}/archivers/p5-Archive-Zip
|
|
|
|
USES= desktop-file-utils perl5 shebangfix
|
|
SHEBANG_FILES= utils/maketests utils/${PORTNAME}
|
|
USE_PERL5= run
|
|
NO_BUILD= yes
|
|
|
|
PORTEXAMPLES= *
|
|
OPTIONS_DEFINE= EXAMPLES
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|#!/usr/bin/perl|#!${PERL}|' \
|
|
${WRKSRC}/tests/tests/docbook-43.001.xml
|
|
@${FIND} ${WRKSRC} -name "*.bak" -delete -or -name "*.cvsignore" -delete
|
|
|
|
do-install:
|
|
${LN} -sf ${DATADIR}/utils/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
|
|
@(cd ${WRKSRC} && ${COPYTREE_SHARE} "tests utils xsl" \
|
|
${STAGEDIR}${DATADIR})
|
|
${INSTALL_DATA} ${WRKSRC}/bindings/desktop/${PORTNAME}.desktop \
|
|
${STAGEDIR}${DESKTOPDIR}
|
|
${LN} -sf ${EXAMPLESDIR}/${PORTNAME}.png \
|
|
${STAGEDIR}${PREFIX}/share/pixmaps/
|
|
${INSTALL_MAN} ${WRKSRC}/docs/${PORTNAME}.1 \
|
|
${STAGEDIR}${MAN1PREFIX}/man/man1/
|
|
|
|
@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
|
|
|
|
.include <bsd.port.mk>
|