blob: 023ef878bf2576aeeffa3658dade860c278054a7 (
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
|
# $NetBSD: Makefile,v 1.12 1999/03/30 15:37:00 agc Exp $
# FreeBSD Id: Makefile,v 1.9 1997/11/12 03:24:41 obrien Exp
#
DISTNAME= cu-sudo.v1.5.7p4
PKGNAME= sudo-1.5.7p4
WRKSRC= ${WRKDIR}/sudo.v1.5.7p4
CATEGORIES= security
MASTER_SITES= ftp://ftp.cs.colorado.edu/pub/sudo/
EXTRACT_SUFX= .tar.Z
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.courtesan.com/courtesan/products/sudo/
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD"
SKEY_OPTION= --with-skey
.elif ${OPSYS} == "SunOS"
SKEY_OPTION= --without-skey
.endif
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-C2 ${SKEY_OPTION} --with-nbsdops --disable-path-info
post-patch:
cd ${WRKSRC}; for manpg in sudo.man sudoers.man visudo.man; do \
${MV} $$manpg $$manpg.hardcoded; \
${SED} -e 's|/usr/pkg|${LOCALBASE}|g' $$manpg.hardcoded > $$manpg; \
done
post-install:
cd ${WRKSRC} ; ${CP} sample.sudoers ${PREFIX}/etc/sudoers.example
.include "../../mk/bsd.pkg.mk"
|