1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00
freebsd-ports/textproc/ecromedos/Makefile
Koop Mast 289883b11b Update ImageMagick to 6.9.10.14 [1]
* 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>
2018-11-10 19:57:07 +00:00

48 lines
1.5 KiB
Makefile

# Created by: Nicola Vitale <nivit@email.it>
# $FreeBSD$
PORTNAME= ecromedos
PORTVERSION= 2.1.0
PORTREVISION= 2
CATEGORIES= textproc print www
MASTER_SITES= http://www.ecromedos.net/files/src/${PORTVERSION}/
MAINTAINER= nivit@FreeBSD.org
COMMENT= Document preparation system that allows concurrent publication
LICENSE= GPLv2
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}libxml2>=0:textproc/py-libxml2@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}libxslt>=0:textproc/py-libxslt@${PY_FLAVOR} \
convert:graphics/ImageMagick6 \
${PYTHON_PKGNAMEPREFIX}pygments>=0:textproc/py-pygments@${PY_FLAVOR}
NO_BUILD= yes
USES= python:2.7
USE_GNOME= libxml2 libxslt
USE_TEX= latex
post-patch:
@(cd ${WRKSRC} && \
${REINPLACE_CMD} \
-e 's|^\#!${SETENV} python|\#!${PYTHON_CMD}|1' \
-e 's|[^!]/usr/bin|${LOCALBASE}/bin|g' \
-e 's|%%ETCDIR%%|${ETCDIR}|g' \
bin/${PORTNAME} etc/ecmds.conf lib/ecmds/configreader.py)
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}/bin
@${MKDIR} ${STAGEDIR}${ETCDIR}
(cd ${WRKSRC} ; \
${COPYTREE_SHARE} "data lib transform" ${STAGEDIR}${DATADIR} \
"-not ( -name "*.orig" -or -name "*.bak" )" ; \
${INSTALL_DATA} etc/ecmds.conf ${STAGEDIR}${ETCDIR}/ecmds.conf.sample ; \
${INSTALL_DATA} etc/plugins.conf ${STAGEDIR}${ETCDIR}/plugins.conf.sample ; \
${INSTALL_SCRIPT} bin/${PORTNAME} ${STAGEDIR}${DATADIR}/bin/${PORTNAME})
@(cd ${STAGEDIR}${PREFIX}/bin ; \
${LN} -s ../${DATADIR_REL}/bin/${PORTNAME} ecmds ; \
${LN} -s ../${DATADIR_REL}/bin/${PORTNAME} ${PORTNAME})
.include <bsd.port.mk>