Files

38 lines
802 B
Makefile
Raw Permalink Normal View History

COMMENT= inline and side-by-side colored and incremental diff
2015-04-29 12:01:32 +00:00
# was renamed cdiff->ydiff
2024-12-21 11:39:00 +00:00
MODPY_DISTV= 1.4.2
DISTNAME= ydiff-${MODPY_DISTV}
2025-04-29 10:40:12 +00:00
REVISION= 1
2015-04-29 12:01:32 +00:00
CATEGORIES= textproc
2015-04-29 12:01:32 +00:00
HOMEPAGE= https://github.com/ymattw/ydiff
2015-04-29 12:01:32 +00:00
# BSD
PERMIT_PACKAGE= Yes
2015-04-29 12:01:32 +00:00
MODULES= lang/python
MODPY_PI= Yes
2024-12-14 15:36:44 +00:00
MODPY_PYBUILD= setuptools
# not in sdist
MODPY_PYTEST= No
2015-04-29 12:01:32 +00:00
TEST_DEPENDS= devel/git \
2024-12-21 11:39:00 +00:00
devel/py-codestyle \
devel/py-coverage \
shells/bash \
2024-12-21 11:39:00 +00:00
textproc/py-docutils
2015-04-29 12:01:32 +00:00
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ydiff
${INSTALL_DATA} ${WRKSRC}/README.rst ${PREFIX}/share/doc/ydiff/
2015-04-29 12:01:32 +00:00
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
2015-04-29 12:01:32 +00:00
.include <bsd.port.mk>