blob: f11d34b6de981d6a5ddf8144ff4b864b4161f183 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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://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
ONLY_FOR_ARCHS= i386
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>
|