Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Oct 2008 14:52:57 GMT
From:      Wen heping <wenheping@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/128481: [NEW PORT]astro/swe:The High Precision Ephemeris Developed By Astrodienst
Message-ID:  <200810301452.m9UEqvFX062388@www.freebsd.org>
Resent-Message-ID: <200810301500.m9UF02vX071808@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         128481
>Category:       ports
>Synopsis:       [NEW PORT]astro/swe:The High Precision Ephemeris Developed By Astrodienst
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 30 15:00:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Wen heping
>Release:        FreeBSD 7.0 release
>Organization:
ChangAn Middle School
>Environment:
FreeBSD tinderbox.wenjing.com 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008     root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
The SWISS EPHEMERIS is the high precision ephemeris
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/
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	swe
#	swe/pkg-plist
#	swe/pkg-descr
#	swe/distinfo
#	swe/Makefile
#
echo c - swe
mkdir -p swe > /dev/null 2>&1
echo x - swe/pkg-plist
sed 's/^X//' >swe/pkg-plist << 'END-of-swe/pkg-plist'
Xlib/libswe.a
Xinclude/swe/swedate.h
Xinclude/swe/swedll.h
Xinclude/swe/swehouse.h
Xinclude/swe/swejpl.h
Xinclude/swe/swenut2000a.h
Xinclude/swe/sweodef.h
Xinclude/swe/swepcalc.h
Xinclude/swe/sweph.h
Xinclude/swe/swephexp.h
Xinclude/swe/swephlib.h
X%%PORTDOCS%%%%DOCSDIR%%/sweph.gif
X%%PORTDOCS%%%%DOCSDIR%%/swephin.gif
X%%PORTDOCS%%%%DOCSDIR%%/swephprg.htm
X%%PORTDOCS%%%%DOCSDIR%%/swephprg.pdf
X%%PORTDOCS%%%%DOCSDIR%%/swisseph.htm
X%%PORTDOCS%%%%DOCSDIR%%/swisseph.pdf
X@dirrm include/swe
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
END-of-swe/pkg-plist
echo x - swe/pkg-descr
sed 's/^X//' >swe/pkg-descr << 'END-of-swe/pkg-descr'
XThe SWISS EPHEMERIS is the high precision ephemeris
Xdeveloped by Astrodienst, largely based upon the DE406 
Xephemeris from NASA's JPL.
X
XDevelopers can license the Ephemeris library.Ephemeris
Xusers find 3200 years of read-made printable files of
Xephemerides, containing 19'200 print pages in PDF quality.
X
XThe Swiss Ephemeris is available under a dual licensing
Xmodel: GPL2 or Swiss Ephemeris Professional License.
X
XWWW:   http://www.astro.com/swisseph/
END-of-swe/pkg-descr
echo x - swe/distinfo
sed 's/^X//' >swe/distinfo << 'END-of-swe/distinfo'
XMD5 (swe_unix_src_1.75.00.tar.gz) = 173ec325bc0238685308fc6b33d1cd25
XSHA256 (swe_unix_src_1.75.00.tar.gz) = 0cdc7257c64669da3fa142637eae20524fdb069009fe1ee4f55d893d6bc4d45c
XSIZE (swe_unix_src_1.75.00.tar.gz) = 1924363
END-of-swe/distinfo
echo x - swe/Makefile
sed 's/^X//' >swe/Makefile << 'END-of-swe/Makefile'
X# New ports collection makefile for:	swe
X# Date created:				30 Oct 2008
X# Whom:					Wen Heping <wenheping@gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	swe
XPORTVERSION=	1.75.00
XCATEGORIES=	astro devel
XMASTER_SITES=	ftp://ftp.astro.com/pub/swisseph/
XDISTNAME=	${PORTNAME}_unix_src_${PORTVERSION}
X
XMAINTAINER=	wenheping@gmail.com
XCOMMENT=	The High Precision Ephemeris Developed By Astrodienst
X
XWRKSRC=		${WRKDIR}/src
XUSE_GMAKE=	yes
XALL_TARGET=
XUSE_LDCONFIG=	yes
X
Xpost-patch:
X	@${REINPLACE_CMD} -e 's|-pedantic||' ${WRKSRC}/Makefile
X
Xdo-install:
X	${INSTALL_DATA} ${WRKSRC}/libswe.a ${LOCALBASE}/lib
X	${MKDIR} ${LOCALBASE}/include/swe
X	${INSTALL_DATA} ${WRKSRC}/*.h ${LOCALBASE}/include/swe
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${WRKDIR}/doc/* ${DOCSDIR}/
X.endif
X
X.include <bsd.port.mk>
END-of-swe/Makefile
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810301452.m9UEqvFX062388>