aboutsummaryrefslogtreecommitdiff
path: root/security/sudosh2/Makefile
blob: 9d6e0ee7cbf8445554a132cb0040a26468bd9634 (plain) (blame)
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
# Ports collection Makefile for:	sudosh
# Date created:				10/28/2004
# Whom:					cy@FreeBSD.org
#
# $FreeBSD$
#

PORTNAME=		sudosh2
PORTVERSION=		1.0.2
CATEGORIES=		security
MASTER_SITES=		${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR=	${PORTNAME:S/_/-/}
DISTNAME=		${PORTNAME}-${PORTVERSION}
EXTRACT_SUFX=		.tbz2

MAINTAINER=		cy@FreeBSD.org
COMMENT=		Second version of the sudo shell
CONFLICTS=		sudosh-*

USE_BZIP2=		yes
RUN_DEPENDS=		sudo:${PORTSDIR}/security/sudo

GNU_CONFIGURE=		yes

CONFIGURE_ARGS=		--bindir="${PREFIX}/bin"
CONFIGURE_ARGS+=	--sysconfdir="${PREFIX}/etc"
CONFIGURE_ARGS+=	--program-transform-name=''
.if defined(SUDOSH_LOGDIR)
CONFIGURE_ARGS+=	--with-logdir="${SUDOSH_LOGDIR}"
.else
CONFIGURE_ARGS+=	--with-logdir=/var/log/sudosh
.endif
CONFIGURE_ENV=		LDFLAGS="-lutil"

MAN1=			sudosh.1
MAN5=			sudosh.conf.5
MAN8=			sudosh-replay.8

.include <bsd.port.mk>