Date: Mon, 1 Mar 2021 22:45:01 +0000 (UTC) From: Ben Woods <woodsb02@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r566917 - head/sysutils/zrepl Message-ID: <202103012245.121Mj1lJ040893@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: woodsb02 Date: Mon Mar 1 22:45:01 2021 New Revision: 566917 URL: https://svnweb.freebsd.org/changeset/ports/566917 Log: sysutils/zrepl: Add ncurses as a runtime dependency Reported by: Stephen Riehm (cobber on GitHub) Modified: head/sysutils/zrepl/Makefile Modified: head/sysutils/zrepl/Makefile ============================================================================== --- head/sysutils/zrepl/Makefile Mon Mar 1 22:43:52 2021 (r566916) +++ head/sysutils/zrepl/Makefile Mon Mar 1 22:45:01 2021 (r566917) @@ -4,6 +4,7 @@ PORTNAME= zrepl PORTVERSION= 0.3.1 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= sysutils MAINTAINER= woodsb02@FreeBSD.org @@ -80,8 +81,15 @@ 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}" .else @@ -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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103012245.121Mj1lJ040893>