git: c6884539a66e - main - mail/jmba: Move man pages to share/man

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Sun, 10 Mar 2024 09:56:01 UTC
The branch main has been updated by eduardo:

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

commit c6884539a66e556f74acca77e37dd4fbc296fbcb
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-10 07:42:10 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-10 09:55:38 +0000

    mail/jmba: Move man pages to share/man
    
    While here,
    
    - Add codeberg master site
    - Add license
    
    Approved by portmgr (blanket)
---
 mail/jmba/Makefile | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/mail/jmba/Makefile b/mail/jmba/Makefile
index 4592e4ca5f5f..2c84b22d5897 100644
--- a/mail/jmba/Makefile
+++ b/mail/jmba/Makefile
@@ -1,17 +1,23 @@
 PORTNAME=	jmba
 PORTVERSION=	0.5.5
+PORTREVISION=	1
 CATEGORIES=	mail
-MASTER_SITES=	SF
+MASTER_SITES=	https://codeberg.org/a-j-wood/${PORTNAME}/releases/download/v${PORTVERSION}/ \
+		SF
 
 MAINTAINER=	romain@FreeBSD.org
 COMMENT=	Junk Mail Buffering Agent
 WWW=		https://www.ivarch.com/programs/jmba.shtml
 
+LICENSE=	ART10
+LICENSE_FILE=	${WRKSRC}/doc/COPYING
+
+USES=	gmake tar:bzip2
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 CONFIGURE_ENV=	ac_cv_func_gettext=no ac_cv_lib_intl_main=no
-USES=	gmake tar:bzip2
 
 PLIST_FILES=	bin/jmba \
-		man/man1/jmba.1.gz
+		share/man/man1/jmba.1.gz
 
 .include <bsd.port.mk>