aboutsummaryrefslogtreecommitdiffstats
path: root/math/cln/Makefile
blob: 621a504b50123f807595a4af123515fa3742fe4c (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
# ex:ts=8
# New ports collection makefile for:   cln
# Date created:                Fab 11, 2001
# Whom:                        Ying-Chieh Liao <ijliao@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   cln
PORTVERSION=    1.1.4
PORTREVISION=   1
CATEGORIES= math devel
MASTER_SITES=   ftp://ftp.ilog.fr/pub/Users/haible/gnu/ \
        ftp://ftp.santafe.edu/pub/gnu/ \
        ftp://ftpthep.physik.uni-mainz.de/pub/gnu/

MAINTAINER= ports@FreeBSD.org

LIB_DEPENDS=    gmp.5:${PORTSDIR}/math/libgmp4

USE_LIBTOOL=    yes
CFLAGS+=    -I${LOCALBASE}/include
CONFIGURE_ENV=  CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
        LIBS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --datadir=${PREFIX}/share/cln --infodir=${PREFIX}/info \
        --mandir=${PREFIX}/man --with-gmp

USE_GMAKE=  yes
INSTALLS_SHLIB= yes

MAN1=       cln-config.1

pre-build:
    @(cd ${WRKSRC} ; ${LN} -sf ${LOCALBASE}/bin/libtool .)

.include <bsd.port.mk>