From a2fa2144192e3e34d079073b5523d0089dfc454f Mon Sep 17 00:00:00 2001 From: Pietro Cerutti Date: Wed, 5 Mar 2014 08:26:57 +0000 Subject: [PATCH] - Catch up with the new way introduced in 1.9 of specifying etcdir - Bump PORTREVISION Reported by: nemysis, adamw, kentas@hush.com --- sysutils/tmux/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sysutils/tmux/Makefile b/sysutils/tmux/Makefile index a9cde165f7b9..6af2cce560a3 100644 --- a/sysutils/tmux/Makefile +++ b/sysutils/tmux/Makefile @@ -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 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}