aboutsummaryrefslogtreecommitdiffstats
path: root/news/husky-htick/Makefile
blob: 49ce619592f6f9215dd1604d76a21d35826507c4 (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
32
33
# $FreeBSD$

PORTNAME=   husky-htick

COMMENT=    Husky FTN file ticker

LIB_DEPENDS=    libfidoconfig.so:news/husky-fidoconf \
        libareafix.so: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
MAKE_ARGS=      INFODIR=${PREFIX}/${INFO_PATH}

OPTIONS_DEFINE= DOCS

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

.include "${MASTERDIR}/Makefile"