34 lines
762 B
Makefile
34 lines
762 B
Makefile
|
# $OpenBSD: Makefile,v 1.1.1.1 2011/09/15 20:20:06 sthen Exp $
|
||
|
|
||
|
COMMENT = semantic grep, based on coccinelle
|
||
|
|
||
|
MODPY_EGG_VERSION = 1.0
|
||
|
DISTNAME = coccigrep-${MODPY_EGG_VERSION}
|
||
|
|
||
|
CATEGORIES = devel textproc
|
||
|
|
||
|
HOMEPAGE = http://home.regit.org/software/coccigrep/
|
||
|
|
||
|
# GPLv3 only
|
||
|
PERMIT_PACKAGE_CDROM = Yes
|
||
|
PERMIT_PACKAGE_FTP = Yes
|
||
|
PERMIT_DISTFILES_CDROM = Yes
|
||
|
PERMIT_DISTFILES_FTP = Yes
|
||
|
|
||
|
MASTER_SITES = http://home.regit.org/wp-content/uploads/2011/08/
|
||
|
|
||
|
MODULES = lang/python
|
||
|
RUN_DEPENDS = devel/coccinelle
|
||
|
NO_REGRESS = Yes
|
||
|
|
||
|
MODPY_SETUPTOOLS = Yes
|
||
|
|
||
|
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/
|
||
|
|
||
|
.include <bsd.port.mk>
|