svn commit: r455393 - head/textproc/py-docutils

Antoine Brodin antoine at FreeBSD.org
Sun Dec 3 08:29:36 UTC 2017


Author: antoine
Date: Sun Dec  3 08:29:35 2017
New Revision: 455393
URL: https://svnweb.freebsd.org/changeset/ports/455393

Log:
  Fix the symlinks when using a non default version of python
  
  PR:		224042
  Reported and tested by:	 Peter Wullinger

Modified:
  head/textproc/py-docutils/Makefile

Modified: head/textproc/py-docutils/Makefile
==============================================================================
--- head/textproc/py-docutils/Makefile	Sun Dec  3 08:25:31 2017	(r455392)
+++ head/textproc/py-docutils/Makefile	Sun Dec  3 08:29:35 2017	(r455393)
@@ -3,6 +3,7 @@
 
 PORTNAME=	docutils
 PORTVERSION=	0.14
+PORTREVISION=	1
 CATEGORIES=	textproc python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -28,7 +29,7 @@ SCRIPTS=	rst2html rst2latex rst2man rst2odt rst2odt_pr
 
 post-install:
 .for script in ${SCRIPTS}
-	${LN} -s ${script}.py ${STAGEDIR}${PREFIX}/bin/${script}
+	${LN} -s ${script}.py-${PYTHON_VER} ${STAGEDIR}${PREFIX}/bin/${script}
 .endfor
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list