sthen 2206a80000 rename MODPY_PEP517 to MODPY_PYBUILD which is a bit less of a
magic-numbers name and more of a nod at the frontend we're actually
using for the build.
2022-09-13 20:56:17 +00:00

30 lines
642 B
Makefile

COMMENT = semantic grep, based on coccinelle
MODPY_EGG_VERSION = 1.20
DISTNAME = coccigrep-${MODPY_EGG_VERSION}
CATEGORIES = devel textproc
HOMEPAGE = http://home.regit.org/software/coccigrep/
# GPLv3 only
PERMIT_PACKAGE = Yes
MODULES = lang/python
MODPY_PI = Yes
RUN_DEPENDS = devel/coccinelle
NO_TEST = Yes
#MODPY_SETUPTOOLS = Yes
MODPY_PYBUILD = setuptools
post-configure:
${SUBST_CMD} ${WRKSRC}/src/coccigrep.py
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/coccigrep
${INSTALL_DATA} ${WRKSRC}/README.rst ${PREFIX}/share/doc/coccigrep/
${INSTALL_DATA} ${WRKSRC}/coccigrep.1 ${PREFIX}/man/man1/
.include <bsd.port.mk>