mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00:00
f935a609c5
supports them. This is determined by running ``configure --help'' in do-configure target and set the shell variable _LATE_CONFIGURE_ARGS which is then passed to CONFIGURE_ARGS. - Remove --mandir and --infodir in ports' Makefile where applicable Few ports use REINPLACE_CMD to achieve the same effect, remove them too. - Correct some manual pages location from PREFIX/man to MANPREFIX/man - Define INFO_PATH where necessary - Document that .info files are installed in a subdirectory relative to PREFIX/INFO_PATH and slightly change add-plist-info to use INFO_PATH and subdirectory detection. PR: ports/111470 Approved by: portmgr Discussed with: stas (Mk/*), gerald (info related stuffs) Tested by: pointyhat exp run
61 lines
1.4 KiB
Makefile
61 lines
1.4 KiB
Makefile
# 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.13
|
|
CATEGORIES= math devel
|
|
MASTER_SITES= http://www.ginac.de/CLN/ \
|
|
http://www.mirrors.wiretapped.net/security/cryptography/libraries/math/cln/ \
|
|
ftp://ftpthep.physik.uni-mainz.de/pub/gnu/
|
|
|
|
MAINTAINER= araujo@FreeBSD.org
|
|
COMMENT= Class Library for Numbers
|
|
|
|
LIB_DEPENDS= gmp.7:${PORTSDIR}/math/libgmp4
|
|
|
|
USE_AUTOTOOLS= libtool:15
|
|
USE_BZIP2= yes
|
|
USE_GCC= 3.4+
|
|
USE_GNOME= gnomehack gnometarget pkgconfig
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
|
CONFIGURE_ARGS= --with-gmp
|
|
MAKE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
|
USE_LDCONFIG= yes
|
|
|
|
MAN1= cln-config.1
|
|
INFO= cln
|
|
|
|
STRIP= # none
|
|
|
|
CFLAGS+= -fPIC
|
|
CPPFLAGS= -I${LOCALBASE}/include
|
|
LDFLAGS= -L${LOCALBASE}/lib
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${ARCH} == "sparc64" || ${ARCH} == "ia64"
|
|
BROKEN= Does not compile on sparc64 or ia64
|
|
.endif
|
|
|
|
pre-build:
|
|
.if exists(${LOCALBASE}/lib/libcln.so.3)
|
|
BROKEN= Does not compile when older version is installed. Please pkg_delete old cln first
|
|
.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
|
|
|
|
.include <bsd.port.post.mk>
|