aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/byobu/Makefile
blob: a1a60b0ac42d62228a4ffcefa03b06851472bfc4 (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
# Created by: Gea-Suan Lin <gslin@gslin.org>
# $FreeBSD$

PORTNAME=   byobu
PORTVERSION=    5.113
CATEGORIES= sysutils
MASTER_SITES=   http://launchpad.net/${PORTNAME}/trunk/${PORTVERSION}/+download/
DISTNAME=   ${PORTNAME}_${PORTVERSION}.orig

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

LICENSE=    GPLv3
LICENSE_FILE=   ${WRKSRC}/COPYING

RUN_DEPENDS=    screen:sysutils/screen \
        bash:shells/bash

GNU_CONFIGURE=  yes
USES=       autoreconf python shebangfix
SHEBANG_FILES=  usr/lib/byobu/include/notify_osd
WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}

OPTIONS_DEFINE= DOCS

post-patch:
    ${FIND} ${WRKSRC} -type f | ${XARGS} \
        ${REINPLACE_CMD} \
            -e "s@/bin/bash@${LOCALBASE}/bin/bash@" \
            -e "s@/usr/bin/python@${PYTHON_CMD}@"
    ${REINPLACE_CMD} -e 's,@sysconfdir@/profile.d,$$(datadir)/@PACKAGE@,' \
        ${WRKSRC}/etc/profile.d/Makefile.am

.include <bsd.port.mk>