aboutsummaryrefslogtreecommitdiff
path: root/security/sudosh3/Makefile
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2009-12-15 07:17:46 +0000
committerCy Schubert <cy@FreeBSD.org>2009-12-15 07:17:46 +0000
commite8c5235a66bed66e68d04009e0b874f14e0a98fc (patch)
tree6e9c5fc9f4a04028726812845f649e6babff7025 /security/sudosh3/Makefile
parent7359628e1dc81bcb952f7030dcbf44c22aba063d (diff)
downloadports-e8c5235a66bed66e68d04009e0b874f14e0a98fc.tar.gz
ports-e8c5235a66bed66e68d04009e0b874f14e0a98fc.zip
Notes
Diffstat (limited to 'security/sudosh3/Makefile')
-rw-r--r--security/sudosh3/Makefile17
1 files changed, 10 insertions, 7 deletions
diff --git a/security/sudosh3/Makefile b/security/sudosh3/Makefile
index dbd73b981a5c..2b7fd90ba7ad 100644
--- a/security/sudosh3/Makefile
+++ b/security/sudosh3/Makefile
@@ -5,18 +5,16 @@
# $FreeBSD$
#
-PORTNAME= sudosh2
-PORTVERSION= 1.0.2
+PORTNAME= sudosh3
+PORTVERSION= 3.2.0
CATEGORIES= security
-MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/v${PORTVERSION}
+MASTER_SITES= SF/${PORTNAME}
DISTNAME= ${PORTNAME}-${PORTVERSION}
-EXTRACT_SUFX= .tbz2
MAINTAINER= cy@FreeBSD.org
-COMMENT= Second version of the sudo shell
+COMMENT= Third version of the sudo shell
CONFLICTS= sudosh-*
-USE_BZIP2= yes
RUN_DEPENDS= sudo:${PORTSDIR}/security/sudo
GNU_CONFIGURE= yes
@@ -35,4 +33,9 @@ MAN1= sudosh.1
MAN5= sudosh.conf.5
MAN8= sudosh-replay.8
-.include <bsd.port.mk>
+.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>