freebsd-ports/sysutils/byobu/Makefile
Dmitry Marakasov d940ffda0d - Switch to USES=autoreconf
- Fix shebangs
2015-06-17 12:59:41 +00:00

32 lines
890 B
Makefile

# Created by: Gea-Suan Lin <gslin@gslin.org>
# $FreeBSD$
PORTNAME= byobu
PORTVERSION= 5.80
PORTREVISION= 1
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
RUN_DEPENDS= screen:${PORTSDIR}/sysutils/screen \
bash:${PORTSDIR}/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>