1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

news/husky-(hpt|htick): Restore build on FreeBSD 11 and DF

The husky-htp texi file can still be processed by the latest texinfo
programs, so all it needed was USES+= makeinfo to fix FreeBSD 11.

However, the husky-htick texi file is too old, so the makefile was
adjusted to not install info if the base texinfo isn't available.
While here, use PORTDOCS and remove very short pkg-plist file.
The maintainer will be notified so he can restore the info page
on all platforms.

Approved by:	blanket (restores build on FreeBSD 11)
This commit is contained in:
John Marino 2015-04-18 10:53:31 +00:00
parent 030f18322f
commit 35a4cd1934
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=384221
2 changed files with 17 additions and 6 deletions

View File

@ -9,14 +9,28 @@ COMMENT= Husky FTN file ticker
LIB_DEPENDS= libfidoconfig.so:${PORTSDIR}/news/husky-fidoconf \
libareafix.so:${PORTSDIR}/news/husky-areafix
ALL_TARGET= all doc
INSTALL_TARGET= install install-doc
INFO= htick
ALL_TARGET= all
INSTALL_TARGET= install
USE_LDCONFIG= yes
PLIST_FILES= bin/htick man/man1/htick.1.gz
MASTERDIR= ${.CURDIR}/../husky
COMPONENT_SUBDIR= htick
# The texi files are too old for the ports texinfo
# The correct fix is to update the texi file so modern texinfo can use it
# Until then, disable installation of info page on FreeBSD 11 and DragonFly
# to unbreak the build on those platforms.
.if !exists(/usr/bin/makeinfo)
.else
USES+= makeinfo
ALL_TARGET+= doc
INSTALL_TARGET+= install-doc
PORTDOCS= htick.html
DOCSDIR= ${PREFIX}/share/doc/husky
INFO= htick
.endif
post-patch:
${REINPLACE_CMD} -e 's^/fido/etc/config^${PREFIX}/etc/fido/config^' \
${WRKSRC}/man/htick.1

View File

@ -1,3 +0,0 @@
bin/htick
%%PORTDOCS%%man/man1/htick.1.gz
%%PORTDOCS%%share/doc/husky/htick.html