astro/swe: Update version 2.10.01=>2.10.1

- Change MASTER_SITES to GITHUB
- Update LICENSE to AGPLv3 from GPLv2
- Add doc distfile

Relnotes: https://github.com/aloistr/swisseph/releases/tag/v2.10.1
This commit is contained in:
Muhammad Moinur Rahman 2021-06-04 01:04:59 -05:00
parent 3d218c48f4
commit 2c66f7e248
3 changed files with 22 additions and 16 deletions

View File

@ -1,26 +1,29 @@
# Created by: Wen Heping <wenheping@gmail.com>
PORTNAME= swe
PORTVERSION= 2.10.01
PORTVERSION= 2.10.1
CATEGORIES= astro devel
MASTER_SITES= ftp://ftp.astro.com/pub/swisseph/
DISTNAME= ${PORTNAME}_unix_src_${PORTVERSION}
MAINTAINER= bofh@FreeBSD.org
COMMENT= High Precision Ephemeris Developed By Astrodienst
LICENSE= GPLv2
LICENSE= AGPLv3
USES= gmake
USE_GITHUB= nodefault
WRKSRC= ${WRKDIR}/src
ALL_TARGET= #
MAKE_ARGS= CFLAGS="${CFLAGS}"
GH_ACCOUNT= aloistr:src,doc
GH_PROJECT= swisseph:src swisseph_doc:doc
GH_TAGNAME= v${PORTVERSION}:src v${PORTVERSION:S/./,/g}:doc
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
@ -29,6 +32,6 @@ do-install:
do-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKDIR}/doc/* ${STAGEDIR}${DOCSDIR}/
${INSTALL_DATA} ${WRKDIR}/swisseph_doc-${PORTVERSION:S/./-/g}/* ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>

View File

@ -1,3 +1,5 @@
TIMESTAMP = 1620405430
SHA256 (swe_unix_src_2.10.01.tar.gz) = 37a63cd4753444b442956c2e321a72296bcfbf7e1d9f364e049f76842af94fba
SIZE (swe_unix_src_2.10.01.tar.gz) = 9754394
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

View File

@ -11,9 +11,10 @@ include/swe/swephexp.h
include/swe/swephlib.h
include/swe/swevents.h
lib/libswe.a
%%PORTDOCS%%%%DOCSDIR%%/sweph.gif
%%PORTDOCS%%%%DOCSDIR%%/swephin.gif
%%PORTDOCS%%%%DOCSDIR%%/swephprg.htm
%%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.htm
%%PORTDOCS%%%%DOCSDIR%%/swisseph.pdf