[Midnightbsd-cvs] mports [20423] trunk/textproc/itstool: patch for python depends

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Oct 3 15:31:46 EDT 2015


Revision: 20423
          http://svnweb.midnightbsd.org/mports/?rev=20423
Author:   laffer1
Date:     2015-10-03 15:31:45 -0400 (Sat, 03 Oct 2015)
Log Message:
-----------
patch for python depends

Modified Paths:
--------------
    trunk/textproc/itstool/Makefile
    trunk/textproc/itstool/pkg-plist

Modified: trunk/textproc/itstool/Makefile
===================================================================
--- trunk/textproc/itstool/Makefile	2015-10-03 19:30:38 UTC (rev 20422)
+++ trunk/textproc/itstool/Makefile	2015-10-03 19:31:45 UTC (rev 20423)
@@ -2,6 +2,7 @@
 
 PORTNAME=	itstool
 PORTVERSION=	2.0.2
+PORTREVISION=	2
 CATEGORIES=	textproc
 MASTER_SITES=	http://files.itstool.org/itstool/
 
@@ -13,12 +14,11 @@
 BUILD_DEPENDS=	${PYTHON_SITELIBDIR}/libxml2.py:${PORTSDIR}/textproc/py-libxml2
 RUN_DEPENDS=	${PYTHON_SITELIBDIR}/libxml2.py:${PORTSDIR}/textproc/py-libxml2
 
-USES=		tar:bzip2
-USE_PYTHON_RUN=	yes
+USES=		python:2,run tar:bzip2
 GNU_CONFIGURE=	yes
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|/usr/bin/python|${PYTHON_CMD}|g' \
+	@${REINPLACE_CMD} -e 's|@PYTHON@|${PYTHON_CMD}|g' \
 		${WRKSRC}/itstool.in
 
 .include <bsd.port.mk>

Modified: trunk/textproc/itstool/pkg-plist
===================================================================
--- trunk/textproc/itstool/pkg-plist	2015-10-03 19:30:38 UTC (rev 20422)
+++ trunk/textproc/itstool/pkg-plist	2015-10-03 19:31:45 UTC (rev 20423)
@@ -6,5 +6,3 @@
 %%DATADIR%%/its/mallard.its
 %%DATADIR%%/its/ttml.its
 %%DATADIR%%/its/xhtml.its
- at dirrm %%DATADIR%%/its
- at dirrm %%DATADIR%%



More information about the Midnightbsd-cvs mailing list