Update news/husky-htick to version 1.9.20140519_1
[dports.git] / news / husky-htick / Makefile
1 # $FreeBSD: head/news/husky-htick/Makefile 365427 2014-08-19 22:10:13Z marino $
2
3 PORTNAME=       husky-htick
4 CATEGORIES=     news mail
5
6 MAINTAINER=     osharoiko@gmail.com
7 COMMENT=        Husky FTN file ticker
8
9 LIB_DEPENDS=    libfidoconfig.so:${PORTSDIR}/news/husky-fidoconf \
10                 libareafix.so:${PORTSDIR}/news/husky-areafix
11
12 ALL_TARGET=     all
13 INSTALL_TARGET= install
14 USE_LDCONFIG=   yes
15 PLIST_FILES=    bin/htick man/man1/htick.1.gz
16
17 MASTERDIR=      ${.CURDIR}/../husky
18 COMPONENT_SUBDIR=       htick
19
20 .include <bsd.port.pre.mk>
21 # The texi files are too old for the ports texinfo
22 # The correct fix is to update the texi file so modern texinfo can use it
23 # Until then, disable installation of info page on FreeBSD 11 and DragonFly
24 # to unbreak the build on those platforms.
25 .if ${OPSYS} == DragonFly || (${OPSYS} == FreeBSD && ${OSVERSION} > 1100000)
26 .else
27 USES+=                  makeinfo
28 ALL_TARGET+=            doc
29 INSTALL_TARGET+=        install-doc
30 PORTDOCS=               htick.html
31 DOCSDIR=                ${PREFIX}/share/doc/husky
32 INFO=                   htick
33 .endif
34
35 post-patch:
36         ${REINPLACE_CMD} -e 's^/fido/etc/config^${PREFIX}/etc/fido/config^' \
37                 ${WRKSRC}/man/htick.1
38
39 .include <bsd.port.post.mk>