1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/textproc/txt2man/Makefile
2014-05-31 12:26:06 +00:00

26 lines
626 B
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= txt2man
PORTVERSION= 1.5.6
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}
USES= gmake
MAKE_ENV= prefix=${STAGEDIR}${PREFIX}
PLIST_FILES= bin/bookman bin/src2man bin/txt2man \
man/man1/bookman.1.gz man/man1/src2man.1.gz man/man1/txt2man.1.gz
post-patch:
@${REINPLACE_CMD} 's,awk,gawk,' ${WRKSRC}/bookman ${WRKSRC}/src2man
@${REINPLACE_CMD} '/exec ksh/d' ${WRKSRC}/txt2man
.include <bsd.port.mk>