diff options
author | edwin <edwin@FreeBSD.org> | 2004-07-19 08:15:33 +0000 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2004-07-19 08:15:33 +0000 |
commit | 278132752d75c2b1724c17c81e586d926bfaff93 (patch) | |
tree | 7ed3cae2701876016d30f186406bee769b37a7c0 /security/sudo/Makefile | |
parent | 3c5cedbc06dcab99ae6962300116dd869b67f587 (diff) | |
download | FreeBSD-ports-278132752d75c2b1724c17c81e586d926bfaff93.zip FreeBSD-ports-278132752d75c2b1724c17c81e586d926bfaff93.tar.gz |
[PATCH] security/sudo: Utilize EXAMPLESDIR
Utilize EXAMPLESDIR to improves layout; i.e.,
configuration file -> ${PREFIX}/etc
sample configuration file -> ${PREFIX}/share/examples/${PORTNAME}
This change helps if many configuration files and sample ones exist.
PR: ports/58387
Submitted by: Hideyuki KURASHINA <rushani@FreeBSD.org>
Diffstat (limited to 'security/sudo/Makefile')
-rw-r--r-- | security/sudo/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/security/sudo/Makefile b/security/sudo/Makefile index cbbd0a7..dbf7738 100644 --- a/security/sudo/Makefile +++ b/security/sudo/Makefile @@ -7,7 +7,7 @@ PORTNAME= sudo PORTVERSION= 1.6.7.5 -PORTREVISION?= 0 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= http://www.sudo.ws/sudo/dist/ \ http://probsd.org/sudoftp/ \ @@ -55,6 +55,7 @@ post-patch: @${REINPLACE_CMD} -e 's|^|#|g' ${WRKSRC}/sample.sudoers post-install: - ${INSTALL_DATA} ${WRKSRC}/sample.sudoers ${PREFIX}/etc/sudoers.sample + @${MKDIR} ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/sample.sudoers ${EXAMPLESDIR}/sudoers .include <bsd.port.post.mk> |