summaryrefslogblamecommitdiff
path: root/math/cln/Makefile
blob: 899ae2d6da320e26f094101b888b1fee9b352e07 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                                   
                     




                                                          
                                 
                                         
 
                                              
 
                      

                   







                                                                 



                            






                                                            
 
                      
# 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.5
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
COMMENT=	Class Library for Numbers

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

STRIP=		# none

USE_GMAKE=	yes
USE_LIBTOOL=	yes
CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS=	--infodir=${PREFIX}/info --mandir=${PREFIX}/man \
		--with-gmp
MAKE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"
INSTALLS_SHLIB=	yes

MAN1=		cln-config.1

post-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}/dvi
	${INSTALL_DATA} ${WRKSRC}/doc/*.dvi ${DOCSDIR}/dvi
	@${MKDIR} ${DOCSDIR}/html
	${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR}/html
.endif

.include <bsd.port.mk>