freebsd-ports/news/husky-htick/Makefile
Tobias Kortkamp e79fe1aabc Fix WWW in parent/child ports
Many of the WWW are overwritten later which means the wrong value
is used. This did not happen before where the children were either
 a) just using the pkg-descr from the parents
 b) or had their own separate pkg-descr with custom WWW

Use WWW?= in parents when the child's WWW is different.

Children that use the same WWW as the parent can just inherit it,
i.e., the child WWW can be removed.

Approved by:	portmgr (implicit)
2022-09-10 19:41:16 +02:00

40 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"