freebsd-ports/security/sudosh/Makefile

42 lines
897 B
Makefile
Raw Normal View History

# Ports collection Makefile for: sudosh
# Date created: 10/28/2004
# Whom: cy@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= sudosh
2005-04-22 01:17:21 +02:00
PORTVERSION= 1.4.9.1
CATEGORIES= security
2005-04-22 01:17:21 +02:00
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR= ${PORTNAME:S/_/-/}
2005-04-22 01:17:21 +02:00
DISTNAME= ${PORTNAME}-${PORTVERSION:C/\.[0-9]*$/p&/:C/p\./p/}
MAINTAINER= cy@FreeBSD.org
COMMENT= A sudo shell
RUN_DEPENDS= sudo:${PORTSDIR}/security/sudo
2005-04-22 01:17:21 +02:00
USE_GZIP= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --bindir="${PREFIX}/bin"
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
CONFIGURE_ENV= LDFLAGS="-lutil"
MAN1= sudosh.1
MAN8= sudosh-replay.8
2005-05-07 05:14:06 +02:00
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
BROKEN= "Does not compile on FreeBSD 4.x"
.endif
.include <bsd.port.post.mk>