Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jan 2024 12:43:49 GMT
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 45f5e4b9e978 - main - math/aamath: Move manpages to share/man
Message-ID:  <202401211243.40LChnmH090845@gitrepo.freebsd.org>

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

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

commit 45f5e4b9e978b94bbd675a8ce4c4adc4b9b9b96a
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2024-01-21 12:43:46 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2024-01-21 12:43:46 +0000

    math/aamath: Move manpages to share/man
    
    While here use localbase USES flag
---
 math/aamath/Makefile | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/math/aamath/Makefile b/math/aamath/Makefile
index 8f53f9df04e3..2d357e987549 100644
--- a/math/aamath/Makefile
+++ b/math/aamath/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	aamath
-PORTVERSION=	0.3
-PORTREVISION=	4
+DISTVERSION=	0.3
+PORTREVISION=	5
 CATEGORIES=	math textproc
 MASTER_SITES=	http://fuse.superglue.se/${PORTNAME}/ \
 		LOCAL/ehaupt
@@ -12,15 +12,15 @@ WWW=		http://fuse.superglue.se/aamath/
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-USES=		ncurses readline
-WRKSRC=		${WRKDIR}/${PORTNAME}
-CFLAGS+=	-I${LOCALBASE}/include
+USES=		localbase ncurses readline
 MAKE_ARGS=	LIBS="-lreadline -lncurses"
+WRKSRC=		${WRKDIR}/${PORTNAME}
 
-PLIST_FILES=	bin/aamath man/man1/aamath.1.gz
+PLIST_FILES=	bin/aamath \
+		share/man/man1/aamath.1.gz
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
+	${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?202401211243.40LChnmH090845>