blob: 82589427170c95c4828f89cdad7746025723cd84 (
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
|
# $NetBSD: Makefile,v 1.1.1.1 2010/05/07 09:13:59 jmmv Exp $
#
DISTNAME= etcutils-0.1
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/misc/jmmv/etcutils/0.1/
MAINTAINER= jmmv@NetBSD.org
HOMEPAGE= http://www.NetBSD.org/~jmmv/etcutils/
COMMENT= Utilities to programmatically edit configuration files
LICENSE= 2-clause-bsd
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --sysconfdir=/etc
PKG_OPTIONS_VAR= PKG_OPTIONS.etcutils
PKG_SUPPORTED_OPTIONS= tests
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mtests)
CONFIGURE_ARGS+= --with-atf
DEPENDS+= atf-[0-9]*:../../devel/atf
PLIST_SUBST+= TESTS=
.else
CONFIGURE_ARGS+= --without-atf
PLIST_SUBST+= TESTS="@comment"
.endif
.include "../../mk/bsd.pkg.mk"
|