mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
33 lines
852 B
Makefile
33 lines
852 B
Makefile
PORTNAME= sofa
|
|
DISTVERSION= 20231011 # also called Release 19
|
|
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
|
|
WWW= https://www.iausofa.org/
|
|
|
|
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>
|