# Created by: Wen Heping # $FreeBSD: head/astro/swe/Makefile 558421 2020-12-19 00:35:28Z bofh $ PORTNAME= swe PORTVERSION= 2.10 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 USES= gmake WRKSRC= ${WRKDIR}/src ALL_TARGET= # MAKE_ARGS= CFLAGS="${CFLAGS}" OPTIONS_DEFINE= DOCS 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 do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKDIR}/doc/* ${STAGEDIR}${DOCSDIR}/ .include