git: 38a5948b1c34 - main - astro/jday: add LICENSE

From: Koichiro Iwao <meta_at_FreeBSD.org>
Date: Wed, 16 Jul 2025 11:49:19 UTC
The branch main has been updated by meta:

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

commit 38a5948b1c345033dd1237d0726ba8aa971c51d2
Author:     Chris Hutchinson <portmaster@BSDforge.com>
AuthorDate: 2025-06-28 04:39:21 +0000
Commit:     Koichiro Iwao <meta@FreeBSD.org>
CommitDate: 2025-07-16 11:46:55 +0000

    astro/jday: add LICENSE
    
    While here, pet port(lint, fmt, clippy).
    
    PR:             287866
---
 astro/jday/Makefile | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

diff --git a/astro/jday/Makefile b/astro/jday/Makefile
index 86a2eb080a52..b0b49ebf47a3 100644
--- a/astro/jday/Makefile
+++ b/astro/jday/Makefile
@@ -8,18 +8,19 @@ MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Astronomical Julian date calculator
 WWW=		https://jday.sourceforge.net/
 
-USES=		pathfix libtool
-GNU_CONFIGURE=	yes
-GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+USES=		libtool pathfix
 USE_LDCONFIG=	yes
+GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 INSTALL_TARGET=	install-strip
 
-CONFLICTS_INSTALL= netatalk3
+CONFLICTS_INSTALL=	netatal3
 
-PLIST_FILES=	bin/dbd bin/j2d bin/jday \
-		include/jday.h lib/libjday.a \
-		lib/libjday.so lib/libjday.so.2 \
-		lib/libjday.so.2.0.4 libdata/pkgconfig/jday.pc \
-		share/man/man1/jday.1.gz
+PLIST_FILES=	bin/dbd bin/j2d bin/jday include/jday.h lib/libjday.a \
+		lib/libjday.so lib/libjday.so.2 lib/libjday.so.2.0.4 \
+		libdata/pkgconfig/jday.pc share/man/man1/jday.1.gz
 
 .include <bsd.port.mk>