mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
sysutils/tmux: Use ncurses from base if ncurses is new - 6.5
In 14 after 1401502 and in 15 after 1500020 ncurses is new - 6.5. While here remove GNU_CONFIGURE_MANPREFIX. PR: 284495 Approved by: mat (maintainer, timeout > 2 weeks)
This commit is contained in:
parent
2c0b9cffb0
commit
1abe55339b
1 changed files with 12 additions and 3 deletions
|
@ -1,5 +1,6 @@
|
||||||
PORTNAME= tmux
|
PORTNAME= tmux
|
||||||
PORTVERSION= 3.5a
|
PORTVERSION= 3.5a
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= sysutils
|
CATEGORIES= sysutils
|
||||||
MASTER_SITES= https://github.com/tmux/tmux/releases/download/${PORTVERSION}/
|
MASTER_SITES= https://github.com/tmux/tmux/releases/download/${PORTVERSION}/
|
||||||
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
|
||||||
|
@ -15,7 +16,7 @@ LICENSE_FILE_GPLv2= ${WRKSRC_bash}/COPYING
|
||||||
LICENSE_DISTFILES_ISCL= ${DISTNAME}${EXTRACT_SUFX}
|
LICENSE_DISTFILES_ISCL= ${DISTNAME}${EXTRACT_SUFX}
|
||||||
LICENSE_DISTFILES_GPLv2= ${DISTFILE_bash}
|
LICENSE_DISTFILES_GPLv2= ${DISTFILE_bash}
|
||||||
|
|
||||||
USES= cpe ncurses:port pkgconfig
|
USES= cpe pkgconfig
|
||||||
|
|
||||||
CPE_VENDOR= tmux_project
|
CPE_VENDOR= tmux_project
|
||||||
|
|
||||||
|
@ -23,7 +24,6 @@ USE_GITHUB= nodefault
|
||||||
GH_TUPLE= imomaliev:tmux-bash-completion:8da7f79:bash
|
GH_TUPLE= imomaliev:tmux-bash-completion:8da7f79:bash
|
||||||
|
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
|
|
||||||
CONFIGURE_ARGS= --enable-utempter \
|
CONFIGURE_ARGS= --enable-utempter \
|
||||||
--sysconfdir=${PREFIX}/etc
|
--sysconfdir=${PREFIX}/etc
|
||||||
|
|
||||||
|
@ -49,6 +49,15 @@ LIBEVENT_STATIC_VARS= LESTATIC=${LOCALBASE}/lib/libevent.a
|
||||||
UTF8PROC_LIB_DEPENDS= libutf8proc.so:textproc/utf8proc
|
UTF8PROC_LIB_DEPENDS= libutf8proc.so:textproc/utf8proc
|
||||||
UTF8PROC_CONFIGURE_ENABLE= utf8proc
|
UTF8PROC_CONFIGURE_ENABLE= utf8proc
|
||||||
|
|
||||||
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
|
.if ${OPSYS} == FreeBSD && (${OSVERSION} < 1401502 || \
|
||||||
|
${OSVERSION} >= 1500000 && ${OSVERSION} < 1500020)
|
||||||
|
USES+= ncurses:port
|
||||||
|
.else
|
||||||
|
USES+= ncurses
|
||||||
|
.endif
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e 's|/etc/tmux.conf|${PREFIX}/etc/tmux.conf|g' ${WRKSRC}/CHANGES \
|
@${REINPLACE_CMD} -e 's|/etc/tmux.conf|${PREFIX}/etc/tmux.conf|g' ${WRKSRC}/CHANGES \
|
||||||
${WRKSRC}/tmux.h
|
${WRKSRC}/tmux.h
|
||||||
|
@ -69,4 +78,4 @@ post-install-EXAMPLES-on:
|
||||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||||
${INSTALL_DATA} ${WRKSRC}/example* ${STAGEDIR}${EXAMPLESDIR}
|
${INSTALL_DATA} ${WRKSRC}/example* ${STAGEDIR}${EXAMPLESDIR}
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.post.mk>
|
||||||
|
|
Loading…
Add table
Reference in a new issue