From owner-svn-ports-head@freebsd.org Sat Dec 9 09:25:28 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BBC63E84682; Sat, 9 Dec 2017 09:25:28 +0000 (UTC) (envelope-from antoine@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 888137E336; Sat, 9 Dec 2017 09:25:28 +0000 (UTC) (envelope-from antoine@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vB99PRrp036104; Sat, 9 Dec 2017 09:25:27 GMT (envelope-from antoine@FreeBSD.org) Received: (from antoine@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vB99PRIG036103; Sat, 9 Dec 2017 09:25:27 GMT (envelope-from antoine@FreeBSD.org) Message-Id: <201712090925.vB99PRIG036103@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: antoine set sender to antoine@FreeBSD.org using -f From: Antoine Brodin Date: Sat, 9 Dec 2017 09:25:27 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r455828 - head/textproc/ecromedos X-SVN-Group: ports-head X-SVN-Commit-Author: antoine X-SVN-Commit-Paths: head/textproc/ecromedos X-SVN-Commit-Revision: 455828 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Dec 2017 09:25:28 -0000 Author: antoine Date: Sat Dec 9 09:25:27 2017 New Revision: 455828 URL: https://svnweb.freebsd.org/changeset/ports/455828 Log: - Add explicit FLAVOR to dependencies (useful when using DEFAULT_VERSIONS=python=3.x) - Fix dependency on py-pigments, ecromedos requires the pygments module, not the pygmentize command - Remove dependency on python2 metaport Modified: head/textproc/ecromedos/Makefile Modified: head/textproc/ecromedos/Makefile ============================================================================== --- head/textproc/ecromedos/Makefile Sat Dec 9 09:20:30 2017 (r455827) +++ head/textproc/ecromedos/Makefile Sat Dec 9 09:25:27 2017 (r455828) @@ -3,7 +3,7 @@ PORTNAME= ecromedos PORTVERSION= 2.1.0 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= textproc print www MASTER_SITES= http://www.ecromedos.net/files/src/${PORTVERSION}/ @@ -12,21 +12,21 @@ COMMENT= Document preparation system that allows concu LICENSE= GPLv2 -RUN_DEPENDS= ${PYTHON_SITELIBDIR}/libxml2.py:textproc/py-libxml2 \ - ${PYTHON_SITELIBDIR}/libxslt.py:textproc/py-libxslt \ +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}libxml2>=0:textproc/py-libxml2@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}libxslt>=0:textproc/py-libxslt@${PY_FLAVOR} \ convert:graphics/ImageMagick \ - pygmentize:textproc/py-pygments + ${PYTHON_PKGNAMEPREFIX}pygments>=0:textproc/py-pygments@${PY_FLAVOR} NO_BUILD= yes -USES= python:2 +USES= python:2.7 USE_GNOME= libxml2 libxslt USE_TEX= latex post-patch: @(cd ${WRKSRC} && \ ${REINPLACE_CMD} \ - -e 's|^\#!${SETENV} python|&2|1' \ + -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)