svn commit: r321808 - head/textproc/doclifter

Eitan Adler eadler at FreeBSD.org
Wed Jun 26 19:17:59 UTC 2013


Author: eadler
Date: Wed Jun 26 19:17:59 2013
New Revision: 321808
URL: http://svnweb.freebsd.org/changeset/ports/321808

Log:
  Doclifter does not work with pythonn 3
  
  Approved by:	araujo (maintainer)

Modified:
  head/textproc/doclifter/Makefile

Modified: head/textproc/doclifter/Makefile
==============================================================================
--- head/textproc/doclifter/Makefile	Wed Jun 26 18:43:34 2013	(r321807)
+++ head/textproc/doclifter/Makefile	Wed Jun 26 19:17:59 2013	(r321808)
@@ -10,12 +10,15 @@ MASTER_SITES=	http://www.catb.org/~esr/d
 MAINTAINER=	araujo at FreeBSD.org
 COMMENT=	Translates documents written in troff macros to DocBook
 
-USE_PYTHON=	yes
+USE_PYTHON=	-2.7
 NO_BUILD=	yes
 
 MAN1=		doclifter.1 manlifter.1
 PLIST_FILES=	bin/doclifter bin/manlifter
 
+post-patch:
+	${REINPLACE_CMD} '1s/python/python2/' ${WRKSRC}/doclifter
+
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/doclifter ${PREFIX}/bin
 	${INSTALL_SCRIPT} ${WRKSRC}/manlifter ${PREFIX}/bin


More information about the svn-ports-all mailing list