1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-28 10:08:24 +00:00
freebsd-ports/news/husky-hpt/Makefile
Muhammad Moinur Rahman 425e2b4464 news/husky*: Update version 1.9.20200418=>1.9.20201211
- Unbrewk news/husky-hpt
- Unbrewk news/husky-htick

Approved by:	portmgr (just-fix-it)
2023-10-31 13:27:41 +01:00

34 lines
851 B
Makefile

PORTNAME= husky-hpt
COMMENT= Husky FTN tosser
LICENSE= GPLv2
LIB_DEPENDS= libareafix.so:news/husky-areafix \
libfidoconfig.so:news/husky-fidoconf \
libhusky.so:news/husky-huskylib \
libsmapi.so:news/husky-smapi
USES+= makeinfo perl5
ALL_TARGET= all doc
INSTALL_TARGET= install install-doc
INFO= hpt
MASTERDIR= ${.CURDIR}/../husky
COMPONENT_SUBDIR=hpt
MAKE_ARGS= INFODIR=${PREFIX}/${INFO_PATH}
CFLAGS+= -fcommon # fix build failure with clang-11 on 13-CURRENT
OPTIONS_DEFINE= DOCS
post-patch:
${REINPLACE_CMD} -e 's^/path/to/config^${PREFIX}/etc/fido/config^' \
${BUILD_WRKSRC}/man/hptlink.1
${REINPLACE_CMD} -e 's^/some/path/config^${PREFIX}/etc/fido/config^' \
${BUILD_WRKSRC}/man/hpttree.1
${REINPLACE_CMD} -e 's^/fido/etc/config^${PREFIX}/etc/fido/config^' \
${BUILD_WRKSRC}/man/txt2pkt.1
.include "${MASTERDIR}/Makefile"