blob: a1de53554c6d109d673121799ac5c6662e73570c (
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
|
# $NetBSD: Makefile,v 1.17 2010/01/27 17:02:16 joerg Exp $
#
DISTNAME= priv-1.0-beta2
PKGNAME= priv-1.0beta2
PKGREVISION= 2
CATEGORIES= security
MASTER_SITES= ftp://ftp.thistledown.com.au/pub/simonb/
MAINTAINER= simonb@NetBSD.org
COMMENT= Execute commands as a different user
PKG_INSTALLATION_TYPES= overwrite pkgviews
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
SUBST_CLASSES+= sysconfdir
SUBST_STAGE.sysconfdir= post-configure
SUBST_FILES.sysconfdir= priv.1
SUBST_SED.sysconfdir= -e "s|/usr/local/etc/|${PKG_SYSCONFDIR}/|g"
INSTALL_MAKE_FLAGS= bindir=${DESTDIR}${PREFIX}/bin \
mandir=${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
OWN_DIRS= ${PKG_SYSCONFDIR}/priv
.include "../../mk/bsd.pkg.mk"
|