f8a65e4c1b
The last change submitted or approved by Horia in Bugzilla dates back to September 2015. Since then, all commits to his ports were landed by others after the maintainer timeout period expired (see r383744, r405055, r405057, r400461 and r414655, for example). Horia did show interest in coming back after I sent a private email a few months ago, but since nothing has changed it is better to reassign his ports back to the heap. Differential Revision: https://reviews.freebsd.org/D5980
46 lines
1.3 KiB
Makefile
46 lines
1.3 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= ports@FreeBSD.org
|
|
COMMENT= Convert docbook document to Oasis Open Document
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LIB_DEPENDS= libsablot.so:textproc/sablotron \
|
|
libxslt.so:textproc/libxslt
|
|
RUN_DEPENDS= convert:graphics/ImageMagick \
|
|
zip:archivers/zip \
|
|
p5-Archive-Zip>=0: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>
|