summaryrefslogtreecommitdiff
path: root/crypto/openssh/ssh-add/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssh/ssh-add/Makefile')
-rw-r--r--crypto/openssh/ssh-add/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/crypto/openssh/ssh-add/Makefile b/crypto/openssh/ssh-add/Makefile
new file mode 100644
index 000000000000..5451e7d31b97
--- /dev/null
+++ b/crypto/openssh/ssh-add/Makefile
@@ -0,0 +1,21 @@
+.PATH: ${.CURDIR}/..
+
+PROG= ssh-add
+BINOWN= root
+
+.if (${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "powerpc" || \
+ ${MACHINE_ARCH} == "hppa")
+BINMODE=0000
+.else
+BINMODE?=555
+.endif
+
+BINDIR= /usr/bin
+MAN= ssh-add.1
+
+SRCS= ssh-add.c log-client.c
+
+.include <bsd.prog.mk>
+
+LDADD+= -lcrypto -lutil -lz
+DPADD+= ${LIBCRYPTO} ${LIBDES} ${LIBUTIL} ${LIBZ}