Made it builds.

This commit is contained in:
Claudio M. Alessi 2008-02-23 13:50:52 +00:00 committed by Thomas Klausner
parent 5c6d5d2d97
commit 0234bfb56f
4 changed files with 20 additions and 8 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.1.1.2 2008/02/23 10:35:56 smoppy Exp $
# $NetBSD: Makefile,v 1.2 2008/02/23 13:50:52 smoppy Exp $
DISTNAME= tmux-0.1
CATEGORIES= misc
@ -9,14 +9,16 @@ HOMEPAGE= http://tmux.sourceforge.net/
COMMENT= BSD-licensed terminal multiplexer (GNU Screen alternative)
NO_CONFIGURE= yes
USE_NCURSES= # uses ncurses internals
.if 0
# Makefile
SUBST_CLASSES= makefile
SUBST_STAGE.makefile= pre-build
SUBST_MESSAGE.makefile= Fixing distribution Makefile..
SUBST_FILES.makefile= Makefile
SUBST_SED.makefile= -e "s,-I-,-I/usr/pkg/include,"
SUBST_SED.makefile+= -e "s,/man/,/${PKGMANDIR}/,"
SUBST_FILES.makefile= ${MAKE_FILE}
SUBST_SED.makefile= -e "s,/man/,/${PKGMANDIR}/,"
# Preferences handling framework
.include "../../mk/bsd.prefs.mk"
@ -26,5 +28,14 @@ SUBST_SED.makefile+= -e "s,/man/,/${PKGMANDIR}/,"
SUBST_SED.makefile+= -e 's/-g bin -o root/-o ${UNPRIVILEGED_USER} -g ${UNPRIVILEGED_GROUP}/g'
.endif
.endif
# compat/strtonum.c: replace "tmux.h" with "../tmux.h"
SUBST_CLASSES+= header
SUBST_STAGE.header= pre-build
SUBST_MESSAGE.header= Fixing distribution headers..
SUBST_FILES.header= compat/strtonum.c
SUBST_SED.header= -e "s,tmux.h,../tmux.h,"
.include "../../devel/ncurses/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,3 +1,3 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2008/02/23 10:35:56 smoppy Exp $
@comment $NetBSD: PLIST,v 1.2 2008/02/23 13:50:52 smoppy Exp $
bin/tmux
man/tmux.h
man/man1/tmux.1

View file

View file

@ -1,6 +1,7 @@
$NetBSD: distinfo,v 1.1.1.1 2008/02/23 10:35:56 smoppy Exp $
$NetBSD: distinfo,v 1.2 2008/02/23 13:50:52 smoppy Exp $
SHA1 (tmux-0.1.tar.gz) = 4f370fc76eb106254db6e0f656b2c15ee9b7fd55
RMD160 (tmux-0.1.tar.gz) = 1a3b9e8a7497eea38c95faa9ff7ff4e07e45f3f9
Size (tmux-0.1.tar.gz) = 65968 bytes
RMD160 (patch-aa) = 58ae7399b30671d4be5a8582163d5d0413b65257
SHA1 (patch-aa) = e7ab219e5d72e4262fc7ae9e61a1445573e6ca6f
SHA1 (patch-ab) = 530cf044fda20a7c76873b8b1883f097965d1350