60f460ab01
block). Uncomment some commented out LICENSE lines while here.
50 lines
1.3 KiB
Makefile
50 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.6 2009/05/19 08:59:08 wiz Exp $
|
|
|
|
DISTNAME= coccinelle-0.1.8
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://www.emn.fr/x-info/coccinelle/distrib/
|
|
#http://aryx.cs.uiuc.edu/~pad/software/project-coccinelle/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.emn.fr/x-info/coccinelle/
|
|
COMMENT= Tool for writing and applying semantic patches
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
BUILD_DEPENDS+= ocaml-findlib-[0-9]*:../../devel/ocaml-findlib
|
|
DEPENDS+= menhir-[0-9]*:../../devel/menhir
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
#MAKE_JOBS_SAFE= no
|
|
|
|
HAS_CONFIGURE= yes
|
|
USE_TOOLS= gmake perl
|
|
REPLACE_PERL= configure
|
|
BUILD_TARGET= all all.opt
|
|
|
|
CONFIGURE_ARGS+= --prefix=${PREFIX}
|
|
CONFIG_SHELL= ${PERL5}
|
|
|
|
PYTHON_VERSIONS_ACCEPTED= 25
|
|
|
|
SUBST_CLASSES+= python
|
|
SUBST_FILES.python+= pycaml/Makefile
|
|
SUBST_SED.python+= -e "s, python , ${PYTHONBIN} ,g"
|
|
SUBST_STAGE.python= post-configure
|
|
SUBST_MESSAGE.python= Fixing python executable name.
|
|
|
|
SUBST_CLASSES+= man
|
|
SUBST_FILES.man+= docs/spatch.1
|
|
SUBST_SED.man+= -e "s,/usr/local,${PREFIX},g"
|
|
SUBST_STAGE.man= post-configure
|
|
SUBST_MESSAGE.man= Fixing path to examples in man page.
|
|
|
|
TEST_TARGET= test
|
|
|
|
.include "../../mk/dlopen.buildlink3.mk"
|
|
|
|
BUILDLINK_TRANSFORM+= opt:-ldl:${BUILDLINK_LDADD.dl:M*}
|
|
|
|
.include "../../lang/ocaml/buildlink3.mk"
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|