diff options
author | Cy Schubert <cy@FreeBSD.org> | 2009-12-15 07:16:49 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2009-12-15 07:16:49 +0000 |
commit | 7359628e1dc81bcb952f7030dcbf44c22aba063d (patch) | |
tree | 63c289ba8437e8f21175bdea3467c19decc1ab0d /security/sudosh2 | |
parent | c9842ff677256a56aedee26710aa3eb461222ad1 (diff) |
Fix install of sudosh.conf.
Notes
Notes:
svn path=/head/; revision=245850
Diffstat (limited to 'security/sudosh2')
-rw-r--r-- | security/sudosh2/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/security/sudosh2/Makefile b/security/sudosh2/Makefile index dbd73b981a5c..a705afbfcd48 100644 --- a/security/sudosh2/Makefile +++ b/security/sudosh2/Makefile @@ -7,6 +7,7 @@ PORTNAME= sudosh2 PORTVERSION= 1.0.2 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/v${PORTVERSION} DISTNAME= ${PORTNAME}-${PORTVERSION} @@ -35,4 +36,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> |