File:
[cvs.NetBSD.org] /
pkgsrc /
shells /
autojump /
Makefile
Revision
1.5:
download - view:
text,
annotated -
select for diffs
Fri Dec 4 20:45:40 2020 UTC (4 years ago) by
nia
Branches:
MAIN
CVS tags:
pkgsrc-2022Q2-base,
pkgsrc-2022Q2,
pkgsrc-2022Q1-base,
pkgsrc-2022Q1,
pkgsrc-2021Q4-base,
pkgsrc-2021Q4,
pkgsrc-2021Q3-base,
pkgsrc-2021Q3,
pkgsrc-2021Q2-base,
pkgsrc-2021Q2,
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.5 2020/12/04 20:45:40 nia Exp $
VERSION= 22.2.4
DISTNAME= autojump-${VERSION}
PKGREVISION= 3
CATEGORIES= shells
MASTER_SITES= -https://github.com/joelthelion/autojump/archive/release-v${VERSION}${EXTRACT_SUFX}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/joelthelion/autojump/
COMMENT= Change directory command that learns to easily navigate directories
LICENSE= gnu-gpl-v3
WRKSRC= ${WRKDIR}/autojump-release-v${VERSION}
INSTALLATION_DIRS+= bin share/autojump ${PKGMANDIR}/man1
REPLACE_PYTHON+= bin/autojump bin/*.py
do-build:
# nothing
# the install.py script is not friendly to destdir installation as non-root
# cd ${WRKSRC} && ${ENV} SHELL=${BASH} ${PYTHONBIN} install.py -fs -p ${PREFIX} -d ${DESTDIR}
# see also https://github.com/joelthelion/autojump/issues/338
do-install:
cd ${WRKSRC}/bin && ${INSTALL_SCRIPT} autojump autojump_argparse.py autojump_data.py autojump_utils.py ${DESTDIR}${PREFIX}/bin
cd ${WRKSRC}/bin && ${INSTALL_SCRIPT} icon.png ${DESTDIR}${PREFIX}/share/autojump
cd ${WRKSRC}/bin && ${INSTALL_SCRIPT} autojump*sh ${DESTDIR}${PREFIX}/share/autojump
cd ${WRKSRC}/docs && ${INSTALL_SCRIPT} autojump.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>