Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jan 2024 13:51:51 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: f0ae4cbea71d - main - math/add: Move manpages to share/man
Message-ID:  <202401211351.40LDpp3P008387@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=f0ae4cbea71df8050ef7f5eb9203885b71dc99c4

commit f0ae4cbea71df8050ef7f5eb9203885b71dc99c4
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-01-21 13:49:54 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-01-21 13:51:38 +0000

    math/add: Move manpages to share/man
    
    While here, move pkg-plist to PLIST_FILES
---
 math/add/Makefile  | 7 ++++++-
 math/add/pkg-plist | 3 ---
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/math/add/Makefile b/math/add/Makefile
index 88b92724ee39..01c049a6b080 100644
--- a/math/add/Makefile
+++ b/math/add/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	add
 PORTVERSION=	20230205
+PORTREVISION=	1
 CATEGORIES=	math
 MASTER_SITES=	ftp://dickey.his.com/add/
 
@@ -15,9 +16,13 @@ GNU_CONFIGURE=	yes
 
 MAKEFILE=	makefile
 
+PLIST_FILES=	bin/add \
+		share/man/man1/add.1.gz
+PORTDATA=	add.hlp
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/add ${STAGEDIR}${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/add.1 ${STAGEDIR}${MANPREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/add.1 ${STAGEDIR}${PREFIX}/share/man/man1
 	@${MKDIR} ${STAGEDIR}${DATADIR}
 	${INSTALL_DATA} ${WRKSRC}/add.hlp ${STAGEDIR}${DATADIR}
 
diff --git a/math/add/pkg-plist b/math/add/pkg-plist
deleted file mode 100644
index 4fd8d7016cda..000000000000
--- a/math/add/pkg-plist
+++ /dev/null
@@ -1,3 +0,0 @@
-bin/add
-man/man1/add.1.gz
-%%DATADIR%%/add.hlp



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