aboutsummaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2013-06-26 19:17:59 +0000
committerEitan Adler <eadler@FreeBSD.org>2013-06-26 19:17:59 +0000
commit1e95a0ea79dd257bd5637135dfd1099fca38b0d4 (patch)
treec85778add0c73ae0b02754cd3f5d69530a451c3b /textproc
parent172b04f3506739d23b18abe9ffda9b0ceabd3e1a (diff)
downloadports-1e95a0ea79dd257bd5637135dfd1099fca38b0d4.tar.gz
ports-1e95a0ea79dd257bd5637135dfd1099fca38b0d4.zip
Doclifter does not work with pythonn 3
Approved by: araujo (maintainer)
Notes
Notes: svn path=/head/; revision=321808
Diffstat (limited to 'textproc')
-rw-r--r--textproc/doclifter/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/textproc/doclifter/Makefile b/textproc/doclifter/Makefile
index f401f6e1f461..fa967278d1e0 100644
--- a/textproc/doclifter/Makefile
+++ b/textproc/doclifter/Makefile
@@ -10,12 +10,15 @@ MASTER_SITES= http://www.catb.org/~esr/doclifter/
MAINTAINER= araujo@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