svn commit: r566917 - head/sysutils/zrepl
Ben Woods
woodsb02 at FreeBSD.org
Mon Mar 1 22:45:02 UTC 2021
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 at 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>
More information about the svn-ports-head
mailing list