1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00
freebsd-ports/news/husky-htick/Makefile
Mathieu Arnold cf118ccf87
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
2021-04-07 10:09:01 +02:00

41 lines
990 B
Makefile

PORTNAME= husky-htick
COMMENT= Husky FTN file ticker
LICENSE= GPLv2
BROKEN_FreeBSD_13= ld: error: duplicate symbol: hatchInfo
BROKEN_FreeBSD_14= ld: error: duplicate symbol: hatchInfo
LIB_DEPENDS= libareafix.so:news/husky-areafix \
libfidoconfig.so:news/husky-fidoconf \
libhusky.so:news/husky-huskylib \
libsmapi.so:news/husky-smapi
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}
CFLAGS+= -fcommon # fix build failure with clang-11 on 13-CURRENT
OPTIONS_DEFINE= DOCS
post-patch:
${REINPLACE_CMD} -e 's^/fido/etc/config^${PREFIX}/etc/fido/config^' \
${BUILD_WRKSRC}/man/htick.1
.include "${MASTERDIR}/Makefile"