git: a803dbc7399c - main - astro/swe: Update version 2.10.1=>2.10.02,1

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 09 Jan 2022 08:51:32 UTC
The branch main has been updated by bofh:

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

commit a803dbc7399c0588f1d945b63e1f46ada362736e
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2022-01-09 08:49:22 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2022-01-09 08:51:24 +0000

    astro/swe: Update version 2.10.1=>2.10.02,1
    
    - Version number going backwords
    - Remove DOCS option as DOCS are no longer available
    
    Relnotes: https://github.com/aloistr/swisseph/releases/tag/v2.10.02
---
 astro/swe/Makefile  | 22 ++++++++--------------
 astro/swe/distinfo  |  8 +++-----
 astro/swe/pkg-plist |  7 -------
 3 files changed, 11 insertions(+), 26 deletions(-)

diff --git a/astro/swe/Makefile b/astro/swe/Makefile
index e45a0a7da907..42bc35762a5f 100644
--- a/astro/swe/Makefile
+++ b/astro/swe/Makefile
@@ -1,37 +1,31 @@
 # Created by: Wen Heping <wenheping@gmail.com>
 
 PORTNAME=	swe
-PORTVERSION=	2.10.1
+PORTVERSION=	2.10.02
+DISTVERSIONPREFIX=	v
+PORTEPOCH=	1
 CATEGORIES=	astro devel
 
 MAINTAINER=	bofh@FreeBSD.org
 COMMENT=	High Precision Ephemeris Developed By Astrodienst
 
 LICENSE=	AGPLv3
+LICENSE_FILE=	${WRKSRC}/agpl-3.0.txt
 
 USES=		gmake
-USE_GITHUB=	nodefault
+USE_GITHUB=	yes
 
-GH_ACCOUNT=	aloistr:src,doc
-GH_PROJECT=	swisseph:src swisseph_doc:doc
-GH_TAGNAME=	v${PORTVERSION}:src v${PORTVERSION:S/./,/g}:doc
+GH_ACCOUNT=	aloistr
+GH_PROJECT=	swisseph
 
-OPTIONS_DEFINE=	DOCS
-
-WRKSRC=		${WRKDIR}/swisseph-${PORTVERSION}
 ALL_TARGET=	#
-MAKEFILE=	makefile
 
 post-patch:
-	@${REINPLACE_CMD} 's|-ldl||' ${WRKSRC}/makefile
+	@${REINPLACE_CMD} 's|-ldl||' ${WRKSRC}/Makefile
 
 do-install:
 	${INSTALL_DATA} ${WRKSRC}/libswe.a ${STAGEDIR}${PREFIX}/lib
 	${MKDIR} ${STAGEDIR}${PREFIX}/include/swe
 	${INSTALL_DATA} ${WRKSRC}/*.h ${STAGEDIR}${PREFIX}/include/swe
 
-do-install-DOCS-on:
-	${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${WRKDIR}/swisseph_doc-${PORTVERSION:S/./-/g}/* ${STAGEDIR}${DOCSDIR}/
-
 .include <bsd.port.mk>
diff --git a/astro/swe/distinfo b/astro/swe/distinfo
index ee9da008750c..670a958f7dcd 100644
--- a/astro/swe/distinfo
+++ b/astro/swe/distinfo
@@ -1,5 +1,3 @@
-TIMESTAMP = 1622782411
-SHA256 (aloistr-swisseph-v2.10.1_GH0.tar.gz) = 229d82564cc3479e8f0577aa35bc22738a3493cbf2a9397b163485d2b764639e
-SIZE (aloistr-swisseph-v2.10.1_GH0.tar.gz) = 504397
-SHA256 (aloistr-swisseph_doc-v2,10,1_GH0.tar.gz) = f5a0d6f0a20b0a5246d770f7540c962cb8044a99d6844e074836fe7227b5b5df
-SIZE (aloistr-swisseph_doc-v2,10,1_GH0.tar.gz) = 5515179
+TIMESTAMP = 1641716888
+SHA256 (aloistr-swisseph-v2.10.02_GH0.tar.gz) = 6eb2c061a31b4ec9356ccc7a76ad3d2ff88a9c67882eafd5c6b03700de646e2e
+SIZE (aloistr-swisseph-v2.10.02_GH0.tar.gz) = 536980
diff --git a/astro/swe/pkg-plist b/astro/swe/pkg-plist
index 395db0188b8d..2e8e85877c1d 100644
--- a/astro/swe/pkg-plist
+++ b/astro/swe/pkg-plist
@@ -11,10 +11,3 @@ include/swe/swephexp.h
 include/swe/swephlib.h
 include/swe/swevents.h
 lib/libswe.a
-%%PORTDOCS%%%%DOCSDIR%%/LICENSE.TXT
-%%PORTDOCS%%%%DOCSDIR%%/README.md
-%%PORTDOCS%%%%DOCSDIR%%/agpl-3.0.txt
-%%PORTDOCS%%%%DOCSDIR%%/swephprg.docx
-%%PORTDOCS%%%%DOCSDIR%%/swisseph.docx
-%%PORTDOCS%%%%DOCSDIR%%/swephprg.pdf
-%%PORTDOCS%%%%DOCSDIR%%/swisseph.pdf