blob: 9fcd5aa0400908caa0464242928bcf0ec9d4cc80 (
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
31
|
# 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
LICENSE= GPLv2 # or later
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= gawk:${PORTSDIR}/lang/gawk
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= cpe gmake
MAKE_ENV= prefix=${STAGEDIR}${PREFIX}
NO_ARCH= yes
CPE_VENDER= marc_vertes
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>
|