Tweak news/husky-htick 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 # The texi files are too old for the ports texinfo
21 # The correct fix is to update the texi file so modern texinfo can use it
22 # Until then, disable installation of info page on FreeBSD 11 and DragonFly
23 # to unbreak the build on those platforms.
24 .if !exists(/usr/bin/makeinfo)
25 .else
26 USES+=                  makeinfo
27 ALL_TARGET+=            doc
28 INSTALL_TARGET+=        install-doc
29 PORTDOCS=               htick.html
30 DOCSDIR=                ${PREFIX}/share/doc/husky
31 INFO=                   htick
32 .endif
33
34 post-patch:
35         ${REINPLACE_CMD} -e 's^/fido/etc/config^${PREFIX}/etc/fido/config^' \
36                 ${WRKSRC}/man/htick.1
37
38 .include <bsd.port.mk>