freebsd-ports/security/sudosh2/Makefile

39 lines
862 B
Makefile
Raw Normal View History

# Created by: cy@FreeBSD.org
# $FreeBSD$
PORTNAME= sudosh2
2014-02-12 21:10:37 +01:00
PORTVERSION= 1.0.5
CATEGORIES= security
2012-01-30 21:11:25 +01:00
MASTER_SITES= SF/${PORTNAME}
2014-02-12 21:10:37 +01:00
EXTRACT_SUFX= .tgz
MAINTAINER= cy@FreeBSD.org
COMMENT= Second version of the sudo shell
CONFLICTS= sudosh-*
RUN_DEPENDS= sudo:${PORTSDIR}/security/sudo
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --bindir="${PREFIX}/bin"
CONFIGURE_ARGS+= --sysconfdir="${PREFIX}/etc"
2005-04-22 01:17:21 +02:00
CONFIGURE_ARGS+= --program-transform-name=''
.if defined(SUDOSH_LOGDIR)
CONFIGURE_ARGS+= --with-logdir="${SUDOSH_LOGDIR}"
.else
CONFIGURE_ARGS+= --with-logdir=/var/log/sudosh
.endif
2013-05-26 19:10:31 +02:00
LDFLAGS+= -lutil
MAN1= sudosh.1
2005-06-17 19:00:02 +02:00
MAN5= sudosh.conf.5
MAN8= sudosh-replay.8
NO_STAGE= yes
2009-12-15 08:16:49 +01:00
.include <bsd.port.pre.mk>
post-install:
@${TEST} -f ${PREFIX}/etc/sudosh.conf || ${CP} -p ${PREFIX}/etc/sudosh.conf.sample ${PREFIX}/etc/sudosh.conf
.include <bsd.port.post.mk>