freebsd-ports/astro/swe/Makefile
Muhammad Moinur Rahman a803dbc739 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
2022-01-09 02:51:24 -06:00

31 lines
638 B
Makefile

# Created by: Wen Heping <wenheping@gmail.com>
PORTNAME= swe
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= yes
GH_ACCOUNT= aloistr
GH_PROJECT= swisseph
ALL_TARGET= #
post-patch:
@${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
.include <bsd.port.mk>