diff options
author | dinoex <dinoex@FreeBSD.org> | 2002-06-26 15:06:14 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2002-06-26 15:06:14 +0800 |
commit | fb4b6bfff1a7bcc36c6455654dfd293a02d4d2f2 (patch) | |
tree | 313aefcc5e0323fa14ac4af5c2ae3299924e2042 /security/openssh-portable/Makefile | |
parent | 49624146441003fb826dbe85b32de543c7ba97e5 (diff) | |
download | freebsd-ports-gnome-fb4b6bfff1a7bcc36c6455654dfd293a02d4d2f2.tar.gz freebsd-ports-gnome-fb4b6bfff1a7bcc36c6455654dfd293a02d4d2f2.tar.zst freebsd-ports-gnome-fb4b6bfff1a7bcc36c6455654dfd293a02d4d2f2.zip |
Streamline OPENSSH_OVERWRITE_BASE=yes
Diffstat (limited to 'security/openssh-portable/Makefile')
-rw-r--r-- | security/openssh-portable/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/security/openssh-portable/Makefile b/security/openssh-portable/Makefile index 9ba5fd1725e4..a37a28004dc5 100644 --- a/security/openssh-portable/Makefile +++ b/security/openssh-portable/Makefile @@ -50,6 +50,7 @@ MANPREFIX= ${PREFIX}/share CONFIGURE_ARGS+= --mandir=${MANPREFIX}/man --localstatedir=/var EMPTYDIR= /var/empty ETCSSH= /etc/ssh +PLIST_SUB+= NOTBASE="@comment " .else .if exists(/var/empty) EMPTYDIR= /var/empty @@ -57,6 +58,7 @@ EMPTYDIR= /var/empty EMPTYDIR= ${PREFIX}/empty .endif ETCSSH= ${PREFIX}/etc/ssh +PLIST_SUB+= NOTBASE="" .endif PLIST_SUB+= EMPTYDIR=${EMPTYDIR} CONFIGURE_ARGS+= --sysconfdir=${ETCSSH} @@ -108,7 +110,9 @@ pre-install: .endfor post-install: +.if defined(OPENSSH_OVERWRITE_BASE) ${INSTALL_SCRIPT} ${WRKSRC}/sshd.sh ${PREFIX}/etc/rc.d/sshd.sh.sample +.endif ${INSTALL_DATA} -c ${WRKSRC}/ssh_config.out ${ETCSSH}/ssh_config-dist ${INSTALL_DATA} -c ${WRKSRC}/sshd_config.out ${ETCSSH}/sshd_config-dist @${CAT} ${PKGMESSAGE} |