summaryrefslogtreecommitdiff
path: root/textproc/doclifter/Makefile
blob: 0ce32b41471d02442a58d46d6513fbf13ee2d1eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Created by: ijliao
# $FreeBSD$

PORTNAME=	doclifter
PORTVERSION=	2.12
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:${PORTSDIR}/lang/python2

USE_PYTHON=	-2.7
NO_BUILD=	yes

MAN1=		doclifter.1 manlifter.1
PLIST_FILES=	bin/doclifter bin/manlifter

NO_STAGE=	yes
post-patch:
	${REINPLACE_CMD} '1s/python/python2/' ${WRKSRC}/doclifter

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/doclifter ${PREFIX}/bin
	${INSTALL_SCRIPT} ${WRKSRC}/manlifter ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/doclifter.1 ${MANPREFIX}/man/man1
	${INSTALL_MAN} ${WRKSRC}/manlifter.1 ${MANPREFIX}/man/man1

.include <bsd.port.mk>