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
This commit is contained in:
Muhammad Moinur Rahman 2022-01-09 02:49:22 -06:00
parent e2364e942b
commit a803dbc739
3 changed files with 11 additions and 26 deletions

View File

@ -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>

View File

@ -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

View File

@ -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