pkgsrc/devel/apenwarr-redo/Makefile
schmonz 1d2899b9b6 Update to 0.42d. From the changelog:
- jobserver: fix rare race condition in previous timer-exception workaround.
- fix some typos in docs
2022-01-05 15:45:10 +00:00

41 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.8 2022/01/05 15:45:10 schmonz Exp $
DISTNAME= redo-0.42d
PKGNAME= apenwarr-${DISTNAME}
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=apenwarr/}
GITHUB_PROJECT= redo
GITHUB_TAG= ${DISTNAME}
MAINTAINER= schmonz@NetBSD.org
HOMEPAGE= https://github.com/apenwarr/redo/
COMMENT= Python implementation of DJB's redo build tool
LICENSE= apache-2.0
BUILD_DEPENDS+= ${PYPKGPREFIX}-beautifulsoup4-[0-9]*:../../www/py-beautifulsoup4
DEPENDS+= dash-[0-9]*:../../shells/dash
DEPENDS+= ${PYPKGPREFIX}-setproctitle-[0-9]*:../../sysutils/py-setproctitle
DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
WRKSRC= ${WRKDIR}/redo-${DISTNAME}
PYTHON_VERSIONED_DEPENDENCIES+= markdown:build
SUBST_CLASSES+= paths
SUBST_STAGE.paths= do-configure
SUBST_FILES.paths= redo/whichpython.do
SUBST_VARS.paths= PYTHONBIN
INSTALL_ENV+= MANDIR=${DESTDIR}${PREFIX}/${PKGMANDIR}
post-install:
cd ${DESTDIR}${PREFIX}/bin; \
for i in *; do mv -f $${i} apenwarr-$${i}; done
cd ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1; \
for i in *; do mv -f $${i} apenwarr-$${i}; done
.include "../../lang/python/application.mk"
.include "../../lang/python/extension.mk"
.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"