aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/doclifter/Makefile
blob: 40f198f0e9b21a69a31bc38602eb48404f4f736b (plain) (blame)
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
# ex:ts=8
# Ports collection makefile for:    doclifter
# Date created:         Apr 1, 2003
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   doclifter
PORTVERSION=    1.0.4
CATEGORIES= textproc
MASTER_SITES=   http://www.catb.org/~esr/doclifter/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Translates documents written in troff macros to DocBook

USE_REINPLACE=  yes
USE_PYTHON= yes
NO_BUILD=   yes

MAN1=   doclifter.1

post-patch:
    @${REINPLACE_CMD} -e "s,python2,${PYTHON_CMD},g" ${WRKSRC}/doclifter

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

.include <bsd.port.mk>