No need to extract all of ssh.
Fix
strip: 
/usr/ports/pobj/ssh-copy-id-8.8pl1/fake-amd64/usr/local/bin/INS@Ja1VJB5n7N: 
File format not recognized
in `make fake' while here.

OK?

Index: Makefile
===================================================================
RCS file: /cvs/ports/sysutils/ssh-copy-id/Makefile,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 Makefile
--- Makefile    6 Feb 2020 14:10:05 -0000       1.1.1.1
+++ Makefile    24 Jan 2022 11:21:00 -0000
@@ -6,6 +6,8 @@ DISTNAME=       openssh-${V}
 PKGNAME=        ssh-copy-id-${V:S/p/pl/}
 CATEGORIES=     sysutils
 
+EXTRACT_FILES= ${DISTNAME}/contrib/ssh-copy-id{,.1}
+
 HOMEPAGE=       http://git.hands.com/ssh-copy-id
 MAINTAINER=     Jan-Piet Mens <[email protected]>
 
@@ -19,8 +21,7 @@ NO_TEST=      Yes
 PKG_ARCH=      *
 
 do-install:
-       ${INSTALL_PROGRAM} ${WRKSRC}/contrib/ssh-copy-id ${PREFIX}/bin
-       ${INSTALL_MAN_DIR} ${PREFIX}/man/man1
-       ${INSTALL_MAN} ${WRKSRC}/contrib/ssh-copy-id.1 ${PREFIX}/man/man1
+       ${INSTALL_SCRIPT} ${WRKSRC}/contrib/ssh-copy-id ${PREFIX}/bin/
+       ${INSTALL_MAN} ${WRKSRC}/contrib/ssh-copy-id.1 ${PREFIX}/man/man1/
 
 .include <bsd.port.mk>

Reply via email to