1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

- Fix the usage of 'python' to get rid of the implicit lang/python

dependency

Approved by:	portmgr (blanket)
This commit is contained in:
Marcus von Appen 2013-12-08 13:33:54 +00:00
parent 5d7fab8cad
commit 8d46303f76
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=335892
2 changed files with 4 additions and 1 deletions

View File

@ -25,6 +25,7 @@ CATALOG_DIR= ${PREFIX}/share/sgml/${PORTNAME}
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

View File

@ -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: