Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / pkgtools / pkg_summary-utils / Makefile
blob3accf02106492a3512e7a55731a5879e0805c475
1 # $NetBSD: Makefile,v 1.26 2012/11/25 20:49:46 cheusov Exp $
3 DISTNAME= pkg_summary-utils-0.61.0
4 CATEGORIES= pkgtools
5 MASTER_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/misc/cheusov/psu/ \
6 http://www.mova.org/~cheusov/pub/pkg_summary-utils/
8 MAINTAINER= cheusov@NetBSD.org
9 HOMEPAGE= http://www.mova.org/~cheusov/pub/pkg_summary-utils/
10 COMMENT= Utilities for manipulating pkg_summary(5) files
11 LICENSE= 2-clause-bsd
13 DEPENDS+= runawk>=1.1.0:../../lang/runawk
14 DEPENDS+= pipestatus-[0-9]*:../../devel/pipestatus
15 DEPENDS+= digest-[0-9]*:../../pkgtools/digest
17 BUILD_DEPENDS+= mk-configure>=0.20.0:../../devel/mk-configure
19 CONFLICTS+= paexec<0.17.0
20 CONFLICTS+= awk-pkgsrc-dewey-[0-9]*
21 CONFLICTS+= pkg_src_summary-[0-9]*
22 CONFLICTS+= pkg_cmp_summary-[0-9]*
23 CONFLICTS+= pkg_src_update_summary-[0-9]*
24 CONFLICTS+= pkg_update_summary-[0-9]*
25 CONFLICTS+= pkg_summary4view-[0-9]*
27 # usage:
28 # bmake test
29 # bmake test TESTS='show-tests'
30 # bmake test TESTS='pkg_subgraph_deps pkg_bin_summary ...'
31 TEST_TARGET= test
33 USE_LANGUAGES= #empty
34 USE_TOOLS+= gzip:run
36 PKG_INSTALLATION_TYPES= overwrite pkgviews
38 EGDIR= ${PREFIX}/share/examples/pkg_summary-utils
40 CONF_FILES= ${EGDIR}/pkg_digger.conf ${PKG_SYSCONFDIR}/pkg_digger.conf
42 REPLACE_SH= tests/test.sh pkg_digger.in pkg_digger_backend.in \
43 pkg_summary2build_graph.in
45 REPLACE_INTERPRETER+= runawk
46 REPLACE.runawk.old= .*runawk
47 REPLACE.runawk.new= ${PREFIX}/bin/runawk
48 REPLACE_FILES.runawk= get_processed_pkgs.in pkg_*.in XB2bin_summary.in \
49 direct_deps.in summary2multi_variants.in enrich_summary.in \
50 makefiles2deps.in
52 MAKE_ENV+= AWKMODDIR=${PREFIX}/share/runawk
53 MAKE_ENV+= EGDIR=${EGDIR}
54 MAKE_ENV+= SH=${SH:Q}
55 MAKE_ENV+= BMAKE=${MAKE:Q}
56 MAKE_ENV+= DISTDIR=${DISTDIR}
57 MAKE_ENV+= PKGSRCDIR=${PKGSRCDIR}
58 MAKE_ENV+= PKG_SUFX=${PKG_SUFX}
59 MAKE_ENV+= PKG_INFO_CMD=${PKG_INFO:Q}
60 MAKE_ENV+= PKG_DBDIR=${PKG_DBDIR}
62 .include "../../devel/mk-configure/mk-c.mk"
63 .include "../../mk/bsd.pkg.mk"