Files
ports/textproc/cdiff/Makefile
T
2026-05-14 10:21:25 +00:00

38 lines
802 B
Makefile

COMMENT= inline and side-by-side colored and incremental diff
# was renamed cdiff->ydiff
MODPY_DISTV= 1.4.2
DISTNAME= ydiff-${MODPY_DISTV}
REVISION= 1
CATEGORIES= textproc
HOMEPAGE= https://github.com/ymattw/ydiff
# BSD
PERMIT_PACKAGE= Yes
MODULES= lang/python
MODPY_PI= Yes
MODPY_PYBUILD= setuptools
# not in sdist
MODPY_PYTEST= No
TEST_DEPENDS= devel/git \
devel/py-codestyle \
devel/py-coverage \
shells/bash \
textproc/py-docutils
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ydiff
${INSTALL_DATA} ${WRKSRC}/README.rst ${PREFIX}/share/doc/ydiff/
pre-test:
ln -sf ${LOCALBASE}/bin/rst2html ${WRKDIR}/bin/rst2html.py
ln -sf ${LOCALBASE}/bin/pycodestyle ${WRKDIR}/bin/pep8
ln -sf ${LOCALBASE}/bin/coverage-${MODPY_VERSION} ${WRKDIR}/bin/coverage
.include <bsd.port.mk>