freebsd-ports/sysutils/byobu/Makefile
Stephen Montgomery-Smith 31e4a7a670 - Make PREFIX compliant, and add dependency to bash.
- Make PORTDOCS compliant.
- Bump portrevision.

PR:		ports/158732
Submitted by:	Thomas Schweikle <tps@vr-web.de> and
                Gea-Suan Lin <gslin@gslin.org>
Approved by:	maho (mentor) and gslin@gslin.org (maintainer)
2011-07-19 02:02:03 +00:00

54 lines
1.2 KiB
Makefile

# 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>