summaryrefslogtreecommitdiff
path: root/news/husky-hpt/Makefile
blob: 2f5b7bc5772b11450dea0b6e642a6b8350e5ab6a (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
# $FreeBSD$

PORTNAME=	husky-hpt

COMMENT=	Husky FTN tosser

LIB_DEPENDS=	libfidoconfig.so:news/husky-fidoconf \
		libareafix.so:news/husky-areafix

USES+=		makeinfo
ALL_TARGET=	all doc
INSTALL_TARGET=	install install-doc
INFO=		hpt

MASTERDIR=	${.CURDIR}/../husky
COMPONENT_SUBDIR=       hpt

post-patch:
	${REINPLACE_CMD} -e 's^/path/to/config^${PREFIX}/etc/fido/config^' \
		${WRKSRC}/man/hptlink.1
	${REINPLACE_CMD} -e 's^/some/path/config^${PREFIX}/etc/fido/config^' \
		${WRKSRC}/man/hpttree.1
	${REINPLACE_CMD} -e 's^/fido/etc/config^${PREFIX}/etc/fido/config^' \
		${WRKSRC}/man/txt2pkt.1

.include "${MASTERDIR}/Makefile"