aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/txt2man/Makefile
blob: 52d925f6cb567a95b3dd5794bedf4a55c98312a1 (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
# ex:ts=8
# New ports collection makefile for:    txt2man
# Date created:         Jun 14, 2001
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   txt2man
PORTVERSION=    1.5.3
CATEGORIES= textproc
MASTER_SITES=   http://mvertes.free.fr/download/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Converts flat ASCII text to man page format

BUILD_DEPENDS=  gawk:${PORTSDIR}/lang/gawk
RUN_DEPENDS=    ${BUILD_DEPENDS}

USE_GMAKE=  yes
INSTALL_TARGET= install prefix=${PREFIX}

MAN1=       bookman.1 src2man.1 txt2man.1
PLIST_FILES=    bin/bookman bin/src2man bin/txt2man

post-patch:
    @${REINPLACE_CMD} -e "s,awk,gawk," ${WRKSRC}/bookman ${WRKSRC}/src2man

.include <bsd.port.mk>