aboutsummaryrefslogtreecommitdiff
path: root/sysutils/byobu/Makefile
blob: 1f3f9cb66d4185099c9f2a8b76c3b58c02429732 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# New ports collection makefile for:	byobu
# Date created:		2011-04-09
# Whom:			Gea-Suan Lin <gslin@gslin.org>
#
# $FreeBSD$
#

PORTNAME=	byobu
PORTVERSION=	3.29
PORTREVISION=	1
CATEGORIES=	sysutils
MASTER_SITES=	http://launchpadlibrarian.net/65243016/
DISTNAME=	${PORTNAME}_${PORTVERSION}.orig

MAINTAINER=	gslin@gslin.org
COMMENT=	Profile and configuration utilities for GNU Screen

RUN_DEPENDS=	${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash \
		${LOCALBASE}/bin/screen:${PORTSDIR}/sysutils/screen

GNU_CONFIGURE=	yes
USE_PYTHON=	yes
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}

MAN1=		byobu-config.1 \
		byobu-disable.1 \
		byobu-enable.1 \
		byobu-export.1 \
		byobu-janitor.1 \
		byobu-launch.1 \
		byobu-launcher-install.1 \
		byobu-launcher-uninstall.1 \
		byobu-launcher.1 \
		byobu-reconnect-sockets.1 \
		byobu-select-profile.1 \
		byobu-select-session.1 \
		byobu-status-detail.1 \
		byobu-status.1 \
		byobu.1 \
		shell.1

post-patch:
	${REINPLACE_CMD} \
		-e "s@/bin/bash@${LOCALBASE}/bin/bash@" \
		-e "s@/usr/bin/python@${PYTHON_CMD}@" \
		${WRKSRC}/usr/bin/*
.if defined(NOPORTDOCS)
	${REINPLACE_CMD} \
		-e "s@^install:.*@install:@" \
		${WRKSRC}/usr/share/doc/byobu/Makefile.in
.endif

.include <bsd.port.mk>