Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Dec 2013 13:33:54 +0000 (UTC)
From:      Marcus von Appen <mva@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r335892 - in head/textproc: gtk-doc txt2tags
Message-ID:  <201312081333.rB8DXsZ2082705@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mva
Date: Sun Dec  8 13:33:54 2013
New Revision: 335892
URL: http://svnweb.freebsd.org/changeset/ports/335892

Log:
  - Fix the usage of 'python' to get rid of the implicit lang/python
    dependency
  
  Approved by:	portmgr (blanket)

Modified:
  head/textproc/gtk-doc/Makefile
  head/textproc/txt2tags/Makefile   (contents, props changed)

Modified: head/textproc/gtk-doc/Makefile
==============================================================================
--- head/textproc/gtk-doc/Makefile	Sun Dec  8 13:33:35 2013	(r335891)
+++ head/textproc/gtk-doc/Makefile	Sun Dec  8 13:33:54 2013	(r335892)
@@ -25,6 +25,7 @@ CATALOG_DIR=		${PREFIX}/share/sgml/${POR
 XMLCATMGR=		${LOCALBASE}/bin/xmlcatmgr
 CATALOG_PORTS_SGML=	${PREFIX}/share/sgml/catalog.ports
 
+USE_PYTHON_RUN=	2
 USE_XZ=		yes
 GNU_CONFIGURE=	yes
 USES=		gmake pathfix pkgconfig shebangfix perl5

Modified: head/textproc/txt2tags/Makefile
==============================================================================
--- head/textproc/txt2tags/Makefile	Sun Dec  8 13:33:35 2013	(r335891)
+++ head/textproc/txt2tags/Makefile	Sun Dec  8 13:33:54 2013	(r335892)
@@ -10,7 +10,7 @@ EXTRACT_SUFX=	.tgz
 MAINTAINER=	sylvio@FreeBSD.org
 COMMENT=	Convert simply formatted text into markup (e.g., HTML)
 
-USE_PYTHON=	yes
+USE_PYTHON=	2
 NO_BUILD=	yes
 
 PORTDOCS=	ChangeLog README userguide.pdf
@@ -18,6 +18,8 @@ SAMPLE_DIRS=	css img module
 
 NO_STAGE=	yes
 post-patch:
+	@${REINPLACE_CMD} -e 's|/env python|/env python2|' \
+		${WRKSRC}/txt2tags
 	@${MV} ${WRKSRC}/doc/userguide.pdf ${WRKSRC}/
 
 do-install:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312081333.rB8DXsZ2082705>