summaryrefslogtreecommitdiff
path: root/misc/tmux/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'misc/tmux/Makefile')
-rw-r--r--misc/tmux/Makefile17
1 files changed, 13 insertions, 4 deletions
diff --git a/misc/tmux/Makefile b/misc/tmux/Makefile
index fee765a3667..fd5b2980a1c 100644
--- a/misc/tmux/Makefile
+++ b/misc/tmux/Makefile
@@ -1,9 +1,10 @@
-# $NetBSD: Makefile,v 1.31 2015/11/16 03:16:50 ryoon Exp $
+# $NetBSD: Makefile,v 1.32 2015/12/31 07:07:16 ryoon Exp $
-DISTNAME= tmux-2.0
-PKGREVISION= 2
+DISTNAME= tmux-2.1
CATEGORIES= misc
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tmux/}
+MASTER_SITES= ${MASTER_SITE_GITHUB:=tmux/}
+GITHUB_PROJECT= tmux
+GITHUB_TAG= 2.1
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://tmux.github.io/
@@ -13,6 +14,8 @@ LICENSE= modified-bsd
GNU_CONFIGURE= yes
USE_TERMINFO= yes
+USE_TOOLS+= automake
+
.include "../../mk/bsd.prefs.mk"
.include "../../mk/compiler.mk"
.if !empty(MACHINE_PLATFORM:MSunOS-5.1[0-9]-*) && \
@@ -25,6 +28,12 @@ BUILDLINK_TRANSFORM+= opt:-D_XPG4_2:-D_XPG6
CPPFLAGS+= -D__DARWIN_VERS_1050=0
.endif
+pre-configure:
+ set -e; cd ${WRKSRC}; \
+ mkdir -p etc; \
+ aclocal; \
+ automake --add-missing --force-missing --copy --foreign; autoreconf
+
.include "../../devel/libevent/buildlink3.mk"
BUILDLINK_API_DEPENDS.libevent+= libevent>=2.0.10
.include "../../mk/terminfo.buildlink3.mk"