32 lines
653 B
Makefile

# $OpenBSD: Makefile,v 1.24 2017/07/26 22:45:17 sthen Exp $
NOT_FOR_ARCHS = arm mips64 mips64el sparc64 hppa
COMMENT = library for efficient computations
DISTNAME = cln-1.3.4
REVISION = 1
SHARED_LIBS += cln 3.0 # .6.4
CATEGORIES = devel
HOMEPAGE = http://www.ginac.de/CLN/
MAINTAINER = Paul Irofti <pirofti@openbsd.org>
# GPL v2
PERMIT_PACKAGE_CDROM = Yes
MASTER_SITES = ${HOMEPAGE}
EXTRACT_SUFX = .tar.bz2
WANTLIB += m ${COMPILER_LIBCXX} gmp
LIB_DEPENDS = devel/gmp
USE_GMAKE = Yes
CONFIGURE_STYLE = gnu
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.include <bsd.port.mk>