svn commit: r347099 - head/sysutils/tmux
Pietro Cerutti
gahr at FreeBSD.org
Wed Mar 5 08:26:58 UTC 2014
Author: gahr
Date: Wed Mar 5 08:26:57 2014
New Revision: 347099
URL: http://svnweb.freebsd.org/changeset/ports/347099
QAT: https://qat.redports.org/buildarchive/r347099/
Log:
- Catch up with the new way introduced in 1.9 of specifying etcdir
- Bump PORTREVISION
Reported by: nemysis, adamw, kentas at hush.com
Modified:
head/sysutils/tmux/Makefile
Modified: head/sysutils/tmux/Makefile
==============================================================================
--- head/sysutils/tmux/Makefile Wed Mar 5 08:25:53 2014 (r347098)
+++ head/sysutils/tmux/Makefile Wed Mar 5 08:26:57 2014 (r347099)
@@ -3,6 +3,7 @@
PORTNAME= tmux
DISTVERSION= 1.9a
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION:R}
@@ -11,11 +12,12 @@ COMMENT= Terminal Multiplexer
LICENSE= BSD2CLAUSE
-GNU_CONFIGURE= yes
USES= pkgconfig shebangfix
-
SHEBANG_FILES= examples/tmux_backup.sh
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+=--sysconfdir=${PREFIX}/etc
+
PLIST_FILES= bin/tmux \
man/man1/tmux.1.gz \
etc/bash_completion.d/tmux
@@ -47,9 +49,7 @@ PORTSCOUT= ignore:1.9
.include <bsd.port.options.mk>
post-patch:
- @${REINPLACE_CMD} -e 's|/etc/tmux.conf|${PREFIX}/etc/tmux.conf|g' \
- ${WRKSRC}/tmux.1 ${WRKSRC}/tmux.h ${WRKSRC}/CHANGES
- @${REINPLACE_CMD} -e '/LIBS=/s/-lrt//' ${WRKSRC}/${CONFIGURE_SCRIPT}
+ @${REINPLACE_CMD} -e 's|/etc/tmux.conf|${PREFIX}/etc/tmux.conf|g' ${WRKSRC}/CHANGES
.if ${PORT_OPTIONS:MLIBEVENT_STATIC}
.if ${PORT_OPTIONS:MLIBEVENT2}
More information about the svn-ports-head
mailing list