# $FreeBSD: tags/RELEASE_10_2_0/news/husky-htick/Makefile 384264 2015-04-19 06:24:33Z marino $

PORTNAME=	husky-htick
CATEGORIES=	news mail

MAINTAINER=     osharoiko@gmail.com
COMMENT=	Husky FTN file ticker

LIB_DEPENDS=	libfidoconfig.so:${PORTSDIR}/news/husky-fidoconf \
		libareafix.so:${PORTSDIR}/news/husky-areafix

ALL_TARGET=	all
INSTALL_TARGET=	install
USE_LDCONFIG=   yes
PLIST_FILES=	bin/htick man/man1/htick.1.gz

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

# Settings below are required to handle texi output (html, INFO page)
USES+=			makeinfo
ALL_TARGET+=		doc
INSTALL_TARGET+=	install-doc
PORTDOCS=		htick.html
DOCSDIR=		${PREFIX}/share/doc/husky
INFO=			htick

post-patch:
	${REINPLACE_CMD} -e 's^/fido/etc/config^${PREFIX}/etc/fido/config^' \
		${WRKSRC}/man/htick.1

.include <bsd.port.mk>
