Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Mar 2024 10:40:12 GMT
From:      Nuno Teixeira <eduardo@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 2e3545e36d19 - main - sysutils/endian: Move man pages to share/man
Message-ID:  <202403221040.42MAeCHT003308@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by eduardo:

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

commit 2e3545e36d1969ae1dade758dd1883a28e44f15c
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-22 09:17:12 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-22 10:39:41 +0000

    sysutils/endian: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 sysutils/endian/Makefile | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/sysutils/endian/Makefile b/sysutils/endian/Makefile
index 6c2c41763039..b0b8ade892a3 100644
--- a/sysutils/endian/Makefile
+++ b/sysutils/endian/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	endian
 PORTVERSION=	1.1
+PORTREVISION=	1
 CATEGORIES=	sysutils
 MASTER_SITES=	http://acadix.biz/Ports/distfiles/
 
@@ -10,8 +11,12 @@ LICENSE=	BSD2CLAUSE
 
 USES=		tar:xz
 
-PLIST_FILES=	bin/endian man/man1/endian.1.gz
+PLIST_FILES=	bin/endian share/man/man1/endian.1.gz
 
-MAKE_ARGS=	STAGEDIR=${STAGEDIR}
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} \
+		${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 \
+		${STAGEDIR}${PREFIX}/share/man/man1
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202403221040.42MAeCHT003308>