289883b11b
* Add PKGNAMESUFFIX and rename the directory. This was done to show that IM6 is not the "main" version. But still fully supported by upstream. * Convert a number of options to optionhelpers. * Add option for ISO/IEC 23008-12:2017 HEIF suport * Add comment to pkg-descr explaining IM6's "legacy" tag. * Add comment to the patch-config_policy.xml file why it still needed. Please note that IM7 is not a drop in replacement due to library API and command arguments changes. And as a result ports need to decide for themself which version to use. Chase these changes in all the ports that using IM6. PR: 225102 (based on, only the version update) [1] Submitted by: Pascal Christen <pascal.christen@hostpoint.ch>
48 lines
1.3 KiB
Makefile
48 lines
1.3 KiB
Makefile
# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= docbook2odf
|
|
PORTVERSION= 0.244
|
|
PORTREVISION= 1
|
|
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/ImageMagick6 \
|
|
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>
|