33 lines
730 B
Makefile
33 lines
730 B
Makefile
PORTNAME= symfpu
|
|
DISTVERSION= g20190517
|
|
CATEGORIES= math
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= Implementation of IEEE-754 / SMT-LIB floating-point
|
|
WWW= https://github.com/martin-cs/symfpu
|
|
|
|
LICENSE= GPLv3
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= gmake
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= martin-cs
|
|
GH_TAGNAME= c3acaf6
|
|
|
|
CXXFLAGS+= -I${WRKSRC}
|
|
|
|
ALL_TARGET= subdirs symfpu.a
|
|
|
|
MAKE_ARGS= SUBDIRS=baseTypes
|
|
|
|
do-install:
|
|
${MKDIR} \
|
|
${STAGEDIR}${PREFIX}/include/symfpu/core \
|
|
${STAGEDIR}${PREFIX}/include/symfpu/utils
|
|
${CP} ${WRKSRC}/core/*.h ${STAGEDIR}${PREFIX}/include/symfpu/core
|
|
${CP} ${WRKSRC}/utils/*.h ${STAGEDIR}${PREFIX}/include/symfpu/utils
|
|
${INSTALL_DATA} ${WRKSRC}/symfpu.a ${STAGEDIR}${PREFIX}/lib
|
|
|
|
.include <bsd.port.mk>
|