EXTRACT_FILES is going a bit far isn't it? It's not like it's a large distfile. If you really must then please at least add Changelog to the extracted files.

--
 Sent from a phone, apologies for poor formatting.

On 24 January 2022 11:23:49 Klemens Nanni <[email protected]> wrote:

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