git: e7a8c57aaa62 - main - net/sakisafe: Make corrections to the port Makefile

From: Neel Chauhan <nc_at_FreeBSD.org>
Date: Tue, 21 Jun 2022 02:56:13 UTC
The branch main has been updated by nc:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e7a8c57aaa62afd9ee716ca3e9785ae41593df50

commit e7a8c57aaa62afd9ee716ca3e9785ae41593df50
Author:     Neel Chauhan <nc@FreeBSD.org>
AuthorDate: 2022-06-21 02:55:22 +0000
Commit:     Neel Chauhan <nc@FreeBSD.org>
CommitDate: 2022-06-21 02:56:13 +0000

    net/sakisafe: Make corrections to the port Makefile
    
    These corrections were not committed due to an error on my part.
    
    PR:     264784
---
 net/sakisafecli/Makefile | 18 +++++++++++++-----
 1 file changed, 13 insertions(+), 5 deletions(-)

diff --git a/net/sakisafecli/Makefile b/net/sakisafecli/Makefile
index f85b3bdc8767..c058f38735eb 100644
--- a/net/sakisafecli/Makefile
+++ b/net/sakisafecli/Makefile
@@ -2,12 +2,20 @@ PORTNAME=	sakisafe
 DISTVERSION=	2.0.7
 CATEGORIES=	net
 MASTER_SITES=	http://git.qorg11.net/sakisafe.git/snapshot/
+
+MAINTAINER=	teru-sama@ebin.city
+COMMENT=	Client for many file-sharing websites.
+
 LICENSE=	GPLv3
-CFLAGS=		-I/usr/local/include -fPIC
+
 LIB_DEPENDS=	libconfig.so:devel/libconfig \
 		libcurl.so:ftp/curl
-MAINTAINER=	teru-sama@ebin.city
-COMMENT=	Client for many file-sharing websites.
-WWW=		https://git.qorg11.net/sakisafe.git
-.include <bsd.port.mk>
 
+CFLAGS=		-I/usr/local/include -fPIC
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/sakisafecli/sakisafecli ${STAGEDIR}${PREFIX}/bin/sakisafecli
+	${INSTALL_MAN} ${WRKSRC}/sakisafecli/sakisafecli.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/sakisafecli/sakisafeclirc.5 ${STAGEDIR}${MAN1PREFIX}/man/man5
+
+.include <bsd.port.mk>