1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

sysutils/zrepl: Add ncurses as a runtime dependency

Reported by:	Stephen Riehm (cobber on GitHub)
This commit is contained in:
Ben Woods 2021-03-01 22:45:01 +00:00
parent f2c7b41c81
commit 69423f0a79
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=566917

View File

@ -4,6 +4,7 @@
PORTNAME= zrepl
PORTVERSION= 0.3.1
DISTVERSIONPREFIX= v
PORTREVISION= 1
CATEGORIES= sysutils
MAINTAINER= woodsb02@FreeBSD.org
@ -80,7 +81,14 @@ MANPAGES_USES= python:build,3.6+
MANPAGES_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=1.8.5,1:textproc/py-sphinx@${PY_FLAVOR}
MANPAGES_PLIST_FILES= man/man1/zrepl.1.gz
.include <bsd.port.pre.mk>
.include <bsd.port.options.mk>
.if ${OPSYS} == "FreeBSD" && ${OSVERSION} >= 1300079
USES+= ncurses
.else
USES+= ncurses:port
CFLAGS+= -I${LOCALBASE}/include/ncurses
.endif
.if ${OPSYS} == "FreeBSD"
SUB_LIST+= DAEMON_LOGGING="-S -l \$${zrepl_facility} -s \$${zrepl_priority} -T \$${name}"
@ -109,4 +117,4 @@ post-install-EXAMPLES-on:
post-install-MANPAGES-on:
${INSTALL_MAN} ${WRKSRC}/docs/_build/man/zrepl.1 ${STAGEDIR}${PREFIX}/man/man1
.include <bsd.port.post.mk>
.include <bsd.port.mk>