blob: 556897903dfb7334f9b117f114c0aecfaea7641a (
plain) (
blame)
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
46
|
# Created by: NAKATA, Maho <maho@FreeBSD.org>
# $FreeBSD$
PORTNAME= sdpa-gmp
PORTVERSION= 7.1.2
PORTREVISION= 5
CATEGORIES= math
MASTER_SITES= http://sdpa.indsys.chuo-u.ac.jp/sdpa/files/
DISTFILES= ${SRCFILE} ${MANUALFILE}
DIST_SUBDIR= sdpa
EXTRACT_ONLY= ${SRCFILE}
MAINTAINER= ports@FreeBSD.org
COMMENT= Multi precision arithmetic version of math/sdpa
NO_STAGE= yes
.include <bsd.port.pre.mk>
SRCDATE= 20091005
MANDATE= 20080618
MANUALVER= 7.1.1
SRCFILE= ${PORTNAME}.${PORTVERSION}.src.${SRCDATE}.tar.gz
MANUALFILE= sdpa.${MANUALVER}.manual.${MANDATE}.pdf
GNU_CONFIGURE= yes
LIB_DEPENDS+= libspooles.so:${PORTSDIR}/math/spooles \
libgmp.so:${PORTSDIR}/math/gmp \
libmpfr.so:${PORTSDIR}/math/mpfr
CONFIGURE_ARGS+= --with-system-spooles
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/spooles
LDFLAGS+= -L${LOCALBASE}/lib
CFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/spooles
CXXFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/spooles
PLIST_SUB+= MANUALFILE=${MANUALFILE}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/sdpa_gmp ${PREFIX}/bin
@${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/param.sdpa ${DATADIR}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${MANUALFILE} ${DOCSDIR}
.endif
.include <bsd.port.post.mk>
|