aboutsummaryrefslogtreecommitdiff
path: root/astro/sofa/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'astro/sofa/Makefile')
-rw-r--r--astro/sofa/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/astro/sofa/Makefile b/astro/sofa/Makefile
index 8befd5c9c090..94c030785820 100644
--- a/astro/sofa/Makefile
+++ b/astro/sofa/Makefile
@@ -1,8 +1,8 @@
PORTNAME= sofa
-DISTVERSION= 20210125 # also called Release 17a
+DISTVERSION= 20210512 # also called Release 18
CATEGORIES= astro devel
-MASTER_SITES= http://www.iausofa.org/${DISTVERSION:C/(....)(....)/\\1_\\2/}_C/
-DISTNAME= ${PORTNAME}_c-${DISTVERSION}_a
+MASTER_SITES= https://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
@@ -15,8 +15,10 @@ LICENSE_PERMS= dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept
MAKEFILE= makefile
USE_LDCONFIG= yes
-WRKSRC= ${WRKDIR}/${PORTNAME}/${DISTVERSION}_a/c/src
+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 \