dc9594e09d
automatically detects whether we want the pkginstall machinery to be used by the package Makefile.
25 lines
622 B
Makefile
25 lines
622 B
Makefile
# $NetBSD: Makefile,v 1.15 2005/12/29 06:22:11 jlam 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
|
|
|
|
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"
|
|
|
|
OWN_DIRS= ${PKG_SYSCONFDIR}/priv
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|