aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/doclifter
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2018-02-19 21:18:57 +0800
committerantoine <antoine@FreeBSD.org>2018-02-19 21:18:57 +0800
commit4aef5414a36b9333faac24d5900d5502bfde588e (patch)
treea46493ea19a7b88ac669c2621c65c47fa1bbec6c /textproc/doclifter
parentf6b41c62fea625e84b2b8857c73120b17486412d (diff)
downloadfreebsd-ports-gnome-4aef5414a36b9333faac24d5900d5502bfde588e.tar.gz
freebsd-ports-gnome-4aef5414a36b9333faac24d5900d5502bfde588e.tar.zst
freebsd-ports-gnome-4aef5414a36b9333faac24d5900d5502bfde588e.zip
Remove dependency on the python metaports
PR: 225752 Submitted by: Yasuhiro KIMURA
Diffstat (limited to 'textproc/doclifter')
-rw-r--r--textproc/doclifter/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/textproc/doclifter/Makefile b/textproc/doclifter/Makefile
index 46e215aa2e42..c827ce2bae16 100644
--- a/textproc/doclifter/Makefile
+++ b/textproc/doclifter/Makefile
@@ -3,16 +3,15 @@
PORTNAME= doclifter
PORTVERSION= 2.17
+PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= http://www.catb.org/~esr/doclifter/
MAINTAINER= araujo@FreeBSD.org
COMMENT= Translates documents written in troff macros to DocBook
-RUN_DEPENDS+= python2:lang/python2
-
-USES= python:2 shebangfix
-SHEBANG_FILES= manlifter
+USES= python:2.7 shebangfix
+SHEBANG_FILES= doclifter manlifter
NO_BUILD= yes
NO_ARCH= yes
@@ -21,9 +20,6 @@ PLIST_FILES= bin/doclifter \
man/man1/doclifter.1.gz \
man/man1/manlifter.1.gz
-post-patch:
- ${REINPLACE_CMD} '1s/python/python2/' ${WRKSRC}/doclifter
-
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/doclifter ${STAGEDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/manlifter ${STAGEDIR}${PREFIX}/bin