1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/astro/sofa/Makefile
2021-08-04 15:43:01 -07:00

32 lines
821 B
Makefile

PORTNAME= sofa
DISTVERSION= 20210512 # also called Release 18
CATEGORIES= astro devel
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
LICENSE= SOFA
LICENSE_NAME= SOFA Software License
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
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
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libsofa_c.so
.include <bsd.port.mk>