mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
1049351b5c
developed by Astrodienst, largely based upon the DE406 ephemeris from NASA's JPL. Developers can license the Ephemeris library.Ephemeris users find 3200 years of read-made printable files of ephemerides, containing 19'200 print pages in PDF quality. The Swiss Ephemeris is available under a dual licensing model: GPL2 or Swiss Ephemeris Professional License. WWW: http://www.astro.com/swisseph/ PR: ports/128481 Submitted by: Wen Heping <wenheping at gmail.com>
37 lines
816 B
Makefile
37 lines
816 B
Makefile
# New ports collection makefile for: swe
|
|
# Date created: 30 Oct 2008
|
|
# Whom: Wen Heping <wenheping@gmail.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= swe
|
|
PORTVERSION= 1.75.00
|
|
CATEGORIES= astro devel
|
|
MASTER_SITES= ftp://ftp.astro.com/pub/swisseph/
|
|
DISTNAME= ${PORTNAME}_unix_src_${PORTVERSION}
|
|
|
|
MAINTAINER= wenheping@gmail.com
|
|
COMMENT= The High Precision Ephemeris Developed By Astrodienst
|
|
|
|
WRKSRC= ${WRKDIR}/src
|
|
USE_GMAKE= yes
|
|
ALL_TARGET=
|
|
USE_LDCONFIG= yes
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|-pedantic||' ${WRKSRC}/Makefile
|
|
|
|
do-install:
|
|
${INSTALL_DATA} ${WRKSRC}/libswe.a ${LOCALBASE}/lib
|
|
${MKDIR} ${LOCALBASE}/include/swe
|
|
${INSTALL_DATA} ${WRKSRC}/*.h ${LOCALBASE}/include/swe
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKDIR}/doc/* ${DOCSDIR}/
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|