Import net-mgmt/networkmgr version 2.2
[dports.git] / news / husky-fidoconf / Makefile
1 # $FreeBSD$
2
3 PORTNAME=       husky-fidoconf
4
5 COMMENT=        Husky FTN configuration library
6
7 LIB_DEPENDS=    libsmapi.so:news/husky-smapi
8
9 USES+=          perl5 shebangfix
10 SHEBANG_FILES=  util/fconf2areasbbs.pl util/fconf2na.pl util/sq2fc.pl
11 USE_LDCONFIG=   yes
12 INSTALL_TARGET= install install-man
13
14 MASTERDIR=      ${.CURDIR}/../husky
15 COMPONENT_SUBDIR=       fidoconf
16
17 # Settings below are required to handle texi output (html, INFO page)
18 USES+=          makeinfo
19 PORTDOCS=       fidoconfig.html
20 DOCSDIR=        ${PREFIX}/share/doc/husky
21 INFO=           fidoconfig
22
23 post-patch:
24         ${REINPLACE_CMD} -e 's^/path/to/config^${PREFIX}/etc/fido/config^' \
25                 ${WRKSRC}/man/linkedto.1
26
27 post-install:
28         ${LN} -sf fconf2.1 ${STAGEDIR}${PREFIX}/man/man1/fconf2aquaed.1
29         ${LN} -sf fconf2.1 ${STAGEDIR}${PREFIX}/man/man1/fconf2areasbbs.1
30         ${LN} -sf fconf2.1 ${STAGEDIR}${PREFIX}/man/man1/fconf2binkd.1
31         ${LN} -sf fconf2.1 ${STAGEDIR}${PREFIX}/man/man1/fconf2dir.1
32         ${LN} -sf fconf2.1 ${STAGEDIR}${PREFIX}/man/man1/fconf2fidogate.1
33         ${LN} -sf fconf2.1 ${STAGEDIR}${PREFIX}/man/man1/fconf2golded.1
34         ${LN} -sf fconf2.1 ${STAGEDIR}${PREFIX}/man/man1/fconf2msged.1
35         ${LN} -sf fconf2.1 ${STAGEDIR}${PREFIX}/man/man1/fconf2na.pl.1
36         ${LN} -sf fconf2.1 ${STAGEDIR}${PREFIX}/man/man1/fconf2squish.1
37         ${LN} -sf fconf2.1 ${STAGEDIR}${PREFIX}/man/man1/fconf2tornado.1
38         ${LN} -sf fconf2.1 ${STAGEDIR}${PREFIX}/man/man1/fecfg2fconf.1
39
40 .include "${MASTERDIR}/Makefile"