blob: d206ef290089f10bab1ccf1fa3a412200429d895 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
# $NetBSD: Makefile,v 1.5 2011/09/04 18:21:27 cheusov Exp $
DISTNAME= pkg_summary-utils-0.56.0
CATEGORIES= pkgtools
MASTER_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/misc/cheusov/psu/ \
http://www.mova.org/~cheusov/pub/pkg_summary-utils/
MAINTAINER= cheusov@tut.by
HOMEPAGE= http://www.mova.org/~cheusov/pub/pkg_summary-utils/
COMMENT= Utilities for manipulating pkg_summary(5) files
LICENSE= 2-clause-bsd
DEPENDS+= runawk>=1.1.0:../../lang/runawk
DEPENDS+= pipestatus-[0-9]*:../../devel/pipestatus
DEPENDS+= digest-[0-9]*:../../pkgtools/digest
BUILD_DEPENDS+= mk-configure>=0.20.0:../../devel/mk-configure
CONFLICTS+= paexec<0.15.0
CONFLICTS+= awk-pkgsrc-dewey-[0-9]*
CONFLICTS+= pkg_src_summary-[0-9]*
CONFLICTS+= pkg_cmp_summary-[0-9]*
CONFLICTS+= pkg_src_update_summary-[0-9]*
CONFLICTS+= pkg_update_summary-[0-9]*
CONFLICTS+= pkg_summary4view-[0-9]*
# usage:
# bmake test
# bmake test TESTS='show-tests'
# bmake test TESTS='pkg_subgraph_deps pkg_bin_summary ...'
TEST_TARGET= test
USE_LANGUAGES= #empty
USE_TOOLS+= gzip:run
PKG_INSTALLATION_TYPES= overwrite pkgviews
PKG_DESTDIR_SUPPORT= user-destdir
EGDIR= ${PREFIX}/share/examples/pkg_summary-utils
CONF_FILES= ${EGDIR}/pkg_digger.conf ${PKG_SYSCONFDIR}/pkg_digger.conf
REPLACE_INTERPRETER+= runawk
REPLACE.runawk.old= .*runawk
REPLACE.runawk.new= ${PREFIX}/bin/runawk
REPLACE_FILES.runawk= get_processed_pkgs.in pkg_*.in XB2bin_summary.in direct_deps.in
MAKE_ENV+= AWKMODDIR=${PREFIX}/share/runawk
MAKE_ENV+= EGDIR=${EGDIR}
MAKE_ENV+= SH=${SH:Q}
MAKE_ENV+= BMAKE=${MAKE:Q}
MAKE_ENV+= DISTDIR=${DISTDIR}
MAKE_ENV+= PKGSRCDIR=${PKGSRCDIR}
MAKE_ENV+= PKG_SUFX=${PKG_SUFX}
MAKE_ENV+= PKG_INFO_CMD=${PKG_INFO:Q}
AUTO_MKDIRS= yes
MAKE_PROGRAM= ${PREFIX}/bin/mkcmake
.include "../../devel/mk-configure/configure.mk"
.include "../../mk/bsd.pkg.mk"
|