Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Dec 2017 08:29:35 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r455393 - head/textproc/py-docutils
Message-ID:  <201712030829.vB38TZVK045123@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



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