aboutsummaryrefslogtreecommitdiffstats
path: root/net/SSLtelnet/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/SSLtelnet/Makefile')
-rw-r--r--net/SSLtelnet/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/net/SSLtelnet/Makefile b/net/SSLtelnet/Makefile
index e5818bc0c664..b74a7a2d5f3a 100644
--- a/net/SSLtelnet/Makefile
+++ b/net/SSLtelnet/Makefile
@@ -15,10 +15,16 @@ MAINTAINER= issei@jp.FreeBSD.org
USE_OPENSSL= YES
+PLIST_SUB+= OPENSSLDIR="${OPENSSLDIR}"
+
.if !defined(BATCH)
INSTALL_TARGET= install certificate
.endif
+# Make sure that whole directory tree exists.
+pre-install:
+ ${MKDIR} ${OPENSSLDIR}/certs
+
post-install:
strip $(PREFIX)/bin/telnet
strip $(PREFIX)/libexec/telnetd