2001-02-12 14:55:43 +00:00
|
|
|
# ex:ts=8
|
|
|
|
# New ports collection makefile for: cln
|
|
|
|
# Date created: Fab 11, 2001
|
|
|
|
# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= cln
|
2005-02-14 08:12:42 +00:00
|
|
|
PORTVERSION= 1.1.9
|
2001-02-12 14:55:43 +00:00
|
|
|
CATEGORIES= math devel
|
2004-08-16 19:32:40 +00:00
|
|
|
MASTER_SITES= ftp://ftpthep.physik.uni-mainz.de/pub/gnu/
|
2001-02-12 14:55:43 +00:00
|
|
|
|
2002-03-13 03:18:40 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 19:00:52 +00:00
|
|
|
COMMENT= Class Library for Numbers
|
2002-03-13 03:18:40 +00:00
|
|
|
|
2002-06-25 07:09:44 +00:00
|
|
|
LIB_DEPENDS= gmp.6:${PORTSDIR}/math/libgmp4
|
2001-02-12 14:55:43 +00:00
|
|
|
|
2004-01-31 04:09:48 +00:00
|
|
|
USE_BZIP2= yes
|
2004-09-30 05:32:00 +00:00
|
|
|
USE_GCC= 3.4
|
2005-06-07 08:39:31 +00:00
|
|
|
USE_GNOME= gnomehack gnometarget pkgconfig
|
2001-02-12 14:55:43 +00:00
|
|
|
USE_GMAKE= yes
|
2005-06-07 08:39:31 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2003-10-10 17:52:21 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
2004-08-16 19:32:40 +00:00
|
|
|
CONFIGURE_ARGS= --infodir=${PREFIX}/info --mandir=${MANPREFIX}/man \
|
2002-07-31 09:36:03 +00:00
|
|
|
--with-gmp
|
2003-10-10 17:52:21 +00:00
|
|
|
MAKE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
2001-02-12 14:55:43 +00:00
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
|
|
|
|
MAN1= cln-config.1
|
2003-10-10 17:52:21 +00:00
|
|
|
INFO= cln
|
|
|
|
|
|
|
|
STRIP= # none
|
|
|
|
|
|
|
|
CPPFLAGS= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS= -L${LOCALBASE}/lib
|
|
|
|
|
2005-02-14 08:12:42 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
PORTDOCS= *
|
|
|
|
.endif
|
|
|
|
|
2003-10-10 17:52:21 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2005-10-28 23:20:45 +00:00
|
|
|
.if ${ARCH} == "sparc64" || ${ARCH} == "ia64"
|
|
|
|
BROKEN= "Does not compile on sparc64 or ia64"
|
2004-03-07 05:43:33 +00:00
|
|
|
.endif
|
|
|
|
|
2002-07-31 09:36:03 +00:00
|
|
|
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
|
2005-02-14 08:12:42 +00:00
|
|
|
@${FIND} ${PREFIX}/include/cln -type f | \
|
|
|
|
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
|
|
|
|
@${FIND} ${PREFIX}/include/cln ! -type f | ${SORT} -r | \
|
|
|
|
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
|
2001-09-08 07:29:19 +00:00
|
|
|
|
2003-10-10 17:52:21 +00:00
|
|
|
.include <bsd.port.post.mk>
|