aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--astro/sofa/Makefile11
-rw-r--r--astro/sofa/distinfo6
2 files changed, 10 insertions, 7 deletions
diff --git a/astro/sofa/Makefile b/astro/sofa/Makefile
index 17669453cc0b..bda8a79cb346 100644
--- a/astro/sofa/Makefile
+++ b/astro/sofa/Makefile
@@ -1,23 +1,23 @@
# $FreeBSD$
PORTNAME= sofa
-DISTVERSION= 20200721 # also called Release 16
+DISTVERSION= 20210125 # also called Release 17a
CATEGORIES= astro devel
MASTER_SITES= http://www.iausofa.org/${DISTVERSION:C/(....)(....)/\\1_\\2/}_C/
-DISTNAME= ${PORTNAME}_c-${DISTVERSION}
+DISTNAME= ${PORTNAME}_c-${DISTVERSION}_a
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/${DISTVERSION}/c/doc/copyr.lis
+LICENSE_FILE= ${WRKSRC}/../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
+WRKSRC= ${WRKDIR}/${PORTNAME}/${DISTVERSION}_a/c/src
BINARY_ALIAS= gcc=cc
MAKE_ARGS= CFLAGF="-c ${CFLAGS} -fPIC" INSTALL_DIR=${STAGEDIR}${PREFIX}
@@ -25,4 +25,7 @@ PLIST_FILES= include/sofa.h \
include/sofam.h \
lib/libsofa_c.so
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libsofa_c.so
+
.include <bsd.port.mk>
diff --git a/astro/sofa/distinfo b/astro/sofa/distinfo
index 05ff0e16a55e..5ffafddd4a2a 100644
--- a/astro/sofa/distinfo
+++ b/astro/sofa/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1602560552
-SHA256 (sofa_c-20200721.tar.gz) = b10453f20567341171a455e8e1c70a2a7d4a61864aebf19f6fc746734a22efae
-SIZE (sofa_c-20200721.tar.gz) = 1964408
+TIMESTAMP = 1616205109
+SHA256 (sofa_c-20210125_a.tar.gz) = 5eef8e167cfa71ebe0367abf8b3d73a0b6d264cff5bf35e0e7c733cc5b09d51d
+SIZE (sofa_c-20210125_a.tar.gz) = 2433240