File:  [cvs.NetBSD.org] / pkgsrc / misc / byobu / Makefile
Revision 1.23: download - view: text, annotated - select for diffs
Fri Dec 4 20:45:29 2020 UTC (4 years ago) by nia
Branches: MAIN
CVS tags: pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, HEAD
Revbump packages with a runtime Python dep but no version prefix.

For the Python 3.8 default switch.

# $NetBSD: Makefile,v 1.23 2020/12/04 20:45:29 nia Exp $

BYOBUVER=	5.111
DISTNAME=	byobu_${BYOBUVER}.orig
PKGNAME=	${DISTNAME:S/_/-/:S/.orig//}
PKGREVISION=	5
CATEGORIES=	misc
MASTER_SITES=	https://launchpad.net/byobu/trunk/${BYOBUVER}/+download/

MAINTAINER=	ryoon@NetBSD.org
HOMEPAGE=	http://www.byobu.co/
COMMENT=	Open source text-based window manager and terminal multiplexer
LICENSE=	gnu-gpl-v3

WRKSRC=		${WRKDIR}/byobu-${BYOBUVER}
GNU_CONFIGURE=	yes
USE_LANGUAGES=	# none
USE_TOOLS+=	bash:run perl

REPLACE_BASH+=	usr/bin/*
REPLACE_BASH+=	usr/lib/byobu/*
REPLACE_BASH+=	usr/lib/byobu/include/*
REPLACE_BASH+=	usr/share/byobu/tests/*

REPLACE_PERL+=			usr/lib/byobu/include/*
REPLACE_PYTHON+=		usr/lib/byobu/include/*
PYTHON_VERSIONS_ACCEPTED=	27 # py-newt

EGDIR=			share/examples/byobu
CONFIGURE_ARGS+=	--sysconfdir=${PREFIX}/${EGDIR}
EGFILES+=		byobu/backend \
			byobu/socketdir \
			profile.d/Z97-byobu.sh
# Keep empty directories
MAKE_DIRS+=		${PKG_SYSCONFBASE}/byobu ${PKG_SYSCONFBASE}/profile.d
.for i in ${EGFILES}
CONF_FILES+=		${EGDIR}/${i} ${PKG_SYSCONFBASE}/${i}
.endfor

.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../lang/python/application.mk"
.include "../../devel/py-newt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>