1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00
freebsd-ports/math/cln/Makefile

61 lines
1.4 KiB
Makefile
Raw Normal View History

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
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
USE_BZIP2= yes
USE_GCC= 3.4
USE_GNOME= gnomehack gnometarget pkgconfig
2001-02-12 14:55:43 +00:00
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= --infodir=${PREFIX}/info --mandir=${MANPREFIX}/man \
--with-gmp
MAKE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
2001-02-12 14:55:43 +00:00
INSTALLS_SHLIB= yes
MAN1= cln-config.1
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
.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
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}
.include <bsd.port.post.mk>