diff options
author | ahze <ahze@FreeBSD.org> | 2004-11-08 02:26:52 +0800 |
---|---|---|
committer | ahze <ahze@FreeBSD.org> | 2004-11-08 02:26:52 +0800 |
commit | a0175443763ee68ed15fb411bc9ee64eeb824bd2 (patch) | |
tree | 63552d963066bc99fa17a2dbe5953dabd1c21e12 /math/ldouble/Makefile | |
parent | 4b6dc01fb4c55eab59f5256ed51e0747e3fa0a28 (diff) | |
download | freebsd-ports-gnome-a0175443763ee68ed15fb411bc9ee64eeb824bd2.tar.gz freebsd-ports-gnome-a0175443763ee68ed15fb411bc9ee64eeb824bd2.tar.zst freebsd-ports-gnome-a0175443763ee68ed15fb411bc9ee64eeb824bd2.zip |
Add ldouble
Library of elementary mathematical functions, probability and elliptic
integrals in 80-bit long double precision.
Approved by: pav (co mentor)
Diffstat (limited to 'math/ldouble/Makefile')
-rw-r--r-- | math/ldouble/Makefile | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/math/ldouble/Makefile b/math/ldouble/Makefile new file mode 100644 index 000000000000..c09d452cd021 --- /dev/null +++ b/math/ldouble/Makefile @@ -0,0 +1,45 @@ +# New ports collection makefile for: ldouble +# Date created: 2004-09-02 +# Whom: Michael Johnson <ahze@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= ldouble +PORTVERSION= 0.1 +CATEGORIES= math +MASTER_SITES= http://vtel.rgv.net/~ahze/dist/ \ + http://www.moshier.net/ +DISTNAME= ldouble + +MAINTAINER= ports@FreeBSD.org +COMMENT= Long double math precision functions + +USE_ZIP= yes +NO_WRKSUBDIR= yes +MAKEFILE= makefile +USE_REINPLACE= yes +INSTALLS_SHLIB= yes + +PLIST_FILES= lib/libml.a \ + lib/libml.so \ + lib/libml.so.0 \ + include/mathl.h + +PORTDOCS= ldoubdoc.html + +post-patch: + @${REINPLACE_CMD} -e 's|%%CC%%|${CC}|; s|%%CFLAGS%%|${CFLAGS}|' \ + ${WRKSRC}/${MAKEFILE} + +do-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/ldoubdoc.html ${DOCSDIR} +.endif + ${INSTALL_DATA} ${WRKSRC}/libml.a ${PREFIX}/lib + ${INSTALL_DATA} ${WRKSRC}/libml.so.0 ${PREFIX}/lib + ${LN} -sf libml.so.0 ${PREFIX}/lib/libml.so + ${INSTALL_DATA} ${WRKSRC}/protos.h ${PREFIX}/include/mathl.h + +.include <bsd.port.mk> |