From owner-svn-ports-head@freebsd.org Thu Jul 26 02:40:17 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A1515105BA72; Thu, 26 Jul 2018 02:40:17 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 579CC77BE7; Thu, 26 Jul 2018 02:40:17 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 38A3522CFB; Thu, 26 Jul 2018 02:40:17 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w6Q2eHEs087057; Thu, 26 Jul 2018 02:40:17 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w6Q2eG1c087053; Thu, 26 Jul 2018 02:40:16 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201807260240.w6Q2eG1c087053@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Thu, 26 Jul 2018 02:40:16 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r475343 - in head/astro: . sofa sofa/files X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/astro: . sofa sofa/files X-SVN-Commit-Revision: 475343 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jul 2018 02:40:17 -0000 Author: yuri Date: Thu Jul 26 02:40:15 2018 New Revision: 475343 URL: https://svnweb.freebsd.org/changeset/ports/475343 Log: New port: astro/sofa: Set of algorithms and procedures used in fundamental astronomy Added: head/astro/sofa/ head/astro/sofa/Makefile (contents, props changed) head/astro/sofa/distinfo (contents, props changed) head/astro/sofa/files/ head/astro/sofa/files/patch-makefile (contents, props changed) head/astro/sofa/pkg-descr (contents, props changed) Modified: head/astro/Makefile Modified: head/astro/Makefile ============================================================================== --- head/astro/Makefile Thu Jul 26 01:36:48 2018 (r475342) +++ head/astro/Makefile Thu Jul 26 02:40:15 2018 (r475343) @@ -103,6 +103,7 @@ SUBDIR += saoimage SUBDIR += sextractor SUBDIR += siril + SUBDIR += sofa SUBDIR += sscalc SUBDIR += stardates SUBDIR += starplot Added: head/astro/sofa/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/astro/sofa/Makefile Thu Jul 26 02:40:15 2018 (r475343) @@ -0,0 +1,28 @@ +# $FreeBSD$ + +PORTNAME= sofa +DISTVERSION= 20180130 +CATEGORIES= astro devel +MASTER_SITES= http://www.iausofa.org/${DISTVERSION:C/(....)(....)/\\1_\\2/}_C/ +DISTNAME= ${PORTNAME}_c-${DISTVERSION} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Set of algorithms and procedures used in fundamental astronomy + +LICENSE= SOFA +LICENSE_NAME= SOFA Software License +LICENSE_FILE= ${WRKDIR}/sofa/20180130/c/doc/copyr.lis +LICENSE_PERMS= dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept + +MAKEFILE= makefile +USE_LDCONFIG= yes + +WRKSRC= ${WRKDIR}/${PORTNAME}/${DISTVERSION}/c/src +BINARY_ALIAS= gcc=cc +MAKE_ARGS= CFLAGF="-c ${CFLAGS} -fPIC" INSTALL_DIR=${STAGEDIR}${PREFIX} + +PLIST_FILES= include/sofa.h \ + include/sofam.h \ + lib/libsofa_c.so + +.include Added: head/astro/sofa/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/astro/sofa/distinfo Thu Jul 26 02:40:15 2018 (r475343) @@ -0,0 +1,3 @@ +TIMESTAMP = 1532570296 +SHA256 (sofa_c-20180130.tar.gz) = de09807198c977e1c58ea1d0c79c40bdafef84f2072eab586a7ac246334796db +SIZE (sofa_c-20180130.tar.gz) = 1820345 Added: head/astro/sofa/files/patch-makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/astro/sofa/files/patch-makefile Thu Jul 26 02:40:15 2018 (r475343) @@ -0,0 +1,20 @@ +--- makefile.orig 2018-07-26 02:04:00 UTC ++++ makefile +@@ -77,7 +77,7 @@ INSTALL_DIRS = $(SOFA_LIB_DIR) $(SOFA_IN + + # Name the SOFA/C library in its source and target locations. + +-SOFA_LIB_NAME = libsofa_c.a ++SOFA_LIB_NAME = libsofa_c.so + SOFA_LIB = $(SOFA_LIB_DIR)$(SOFA_LIB_NAME) + + # Name the SOFA/C testbed in its source and target locations. +@@ -380,7 +380,7 @@ $(INSTALL_DIRS): + + # Build the library. + $(SOFA_LIB_NAME): $(SOFA_OBS) +- ar ru $(SOFA_LIB_NAME) $? ++ $(CC) -shared $(LDFLAGS) -o $(SOFA_LIB_NAME) $? + + # Install the header files. + $(SOFA_INC) : $(INSTALL_DIRS) $(SOFA_INC_NAMES) Added: head/astro/sofa/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/astro/sofa/pkg-descr Thu Jul 26 02:40:15 2018 (r475343) @@ -0,0 +1,17 @@ +The SOFA Collection consists of libraries of routines in ANSI C. There is a +suite of vector/matrix routines and various utilities that underpin the +astronomy algorithms, which include routines for the following: + +* Astrometry +* Calendars +* Time Scales +* Ecliptic Coordinates +* Earth Rotation and Sidereal Time +* Ephemerides (medium precision) +* Fundamental Arguments +* Galactic Coordinates +* Geocentric/Geodetic Transformations +* Precession, Nutation and Polar Motion +* Star Catalog Conversion + +WWW: http://www.iausofa.org