Index: head/astro/Makefile =================================================================== --- head/astro/Makefile (revision 475342) +++ head/astro/Makefile (revision 475343) @@ -1,136 +1,137 @@ # $FreeBSD$ # COMMENT = Astronomical ports SUBDIR += R-cran-maptools SUBDIR += accrete SUBDIR += astrometry SUBDIR += boinc-astropulse SUBDIR += boinc-setiathome SUBDIR += celestia SUBDIR += celestia-gnome SUBDIR += celestia-gtk SUBDIR += cfitsio SUBDIR += fowsr SUBDIR += foxtrotgps SUBDIR += garmindev SUBDIR += geographiclib SUBDIR += gkrellmoon2 SUBDIR += google-earth SUBDIR += gpsbabel SUBDIR += gpsbabel14 SUBDIR += gpscorrelate SUBDIR += gpsd SUBDIR += gpsdrive SUBDIR += gpsman SUBDIR += gpsprune SUBDIR += gpstk SUBDIR += gpxloggerd SUBDIR += jday SUBDIR += josm SUBDIR += kstars SUBDIR += kstars-kde4 SUBDIR += libgal SUBDIR += libkgeomap SUBDIR += libkgeomap-kde4 SUBDIR += libnova SUBDIR += libosmium SUBDIR += libosmpbf SUBDIR += luna SUBDIR += marble SUBDIR += marble-kde4 SUBDIR += match SUBDIR += merkaartor SUBDIR += mkgmap SUBDIR += mkgmap-splitter SUBDIR += mymoon SUBDIR += nightfall SUBDIR += opencpn SUBDIR += openuniverse SUBDIR += oskar SUBDIR += osmosis SUBDIR += p5-Astro SUBDIR += p5-Astro-ADS SUBDIR += p5-Astro-App-Satpass2 SUBDIR += p5-Astro-Catalog SUBDIR += p5-Astro-Constants SUBDIR += p5-Astro-Coords SUBDIR += p5-Astro-DSS SUBDIR += p5-Astro-FITS-CFITSIO SUBDIR += p5-Astro-FITS-Header SUBDIR += p5-Astro-Flux SUBDIR += p5-Astro-Hipparcos SUBDIR += p5-Astro-MoonPhase SUBDIR += p5-Astro-PAL SUBDIR += p5-Astro-SIMBAD SUBDIR += p5-Astro-SIMBAD-Client SUBDIR += p5-Astro-SpaceTrack SUBDIR += p5-Astro-SunTime SUBDIR += p5-Astro-Sunrise SUBDIR += p5-Astro-Telescope SUBDIR += p5-Astro-WaveBand SUBDIR += p5-Astro-satpass SUBDIR += p5-GPS SUBDIR += p5-GPS-Babel SUBDIR += p5-GPS-OID SUBDIR += p5-Geo-METAR SUBDIR += p5-Misc-Quality SUBDIR += p5-Starlink-AST SUBDIR += p5-Weather-Underground SUBDIR += phoon SUBDIR += planets SUBDIR += pp3 SUBDIR += ptiger SUBDIR += py-RO SUBDIR += py-aipy SUBDIR += py-astLib SUBDIR += py-astropy SUBDIR += py-horoscopegenerator SUBDIR += py-metar SUBDIR += py-metpy SUBDIR += py-pymetar SUBDIR += py-pywapi SUBDIR += py-spacetrack SUBDIR += pyephem SUBDIR += pyweather SUBDIR += qlandkartegt SUBDIR += qmapshack SUBDIR += readosm SUBDIR += rmap SUBDIR += roadmap SUBDIR += routino SUBDIR += saoimage SUBDIR += sextractor SUBDIR += siril + SUBDIR += sofa SUBDIR += sscalc SUBDIR += stardates SUBDIR += starplot SUBDIR += stars SUBDIR += stellarium SUBDIR += stellarium-qt4 SUBDIR += sunclock SUBDIR += sunwait SUBDIR += swe SUBDIR += tclgeomap SUBDIR += tkgeomap SUBDIR += viking SUBDIR += wcslib SUBDIR += weather SUBDIR += weatherspect SUBDIR += wmjupiter SUBDIR += wmmoonclock SUBDIR += wmsolar SUBDIR += wmspaceweather SUBDIR += wmsun SUBDIR += xearth SUBDIR += xeartk SUBDIR += xephem SUBDIR += xglobe SUBDIR += xmoontool SUBDIR += xphoon SUBDIR += xplanet SUBDIR += xtide SUBDIR += xworld .include Index: head/astro/sofa/Makefile =================================================================== --- head/astro/sofa/Makefile (nonexistent) +++ head/astro/sofa/Makefile (revision 475343) @@ -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 Property changes on: head/astro/sofa/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/astro/sofa/distinfo =================================================================== --- head/astro/sofa/distinfo (nonexistent) +++ head/astro/sofa/distinfo (revision 475343) @@ -0,0 +1,3 @@ +TIMESTAMP = 1532570296 +SHA256 (sofa_c-20180130.tar.gz) = de09807198c977e1c58ea1d0c79c40bdafef84f2072eab586a7ac246334796db +SIZE (sofa_c-20180130.tar.gz) = 1820345 Property changes on: head/astro/sofa/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/astro/sofa/files/patch-makefile =================================================================== --- head/astro/sofa/files/patch-makefile (nonexistent) +++ head/astro/sofa/files/patch-makefile (revision 475343) @@ -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) Property changes on: head/astro/sofa/files/patch-makefile ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/astro/sofa/pkg-descr =================================================================== --- head/astro/sofa/pkg-descr (nonexistent) +++ head/astro/sofa/pkg-descr (revision 475343) @@ -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 Property changes on: head/astro/sofa/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property