# $OpenBSD: Makefile,v 1.13 2013/03/11 11:23:54 espie Exp $ COMMENT = elliptic curve method (ECM) factorization library DISTNAME = ecm-6.4.4 SHARED_LIBS = ecm 0.1 CATEGORIES = math HOMEPAGE = http://gforge.inria.fr/projects/ecm/ MAINTAINER = Benoit Lecocq <benoit@openbsd.org> # GPLv3 / LGLPv3 PERMIT_PACKAGE_CDROM = Yes WANTLIB = c m gmp MASTER_SITES = http://gforge.inria.fr/frs/download.php/32159/ LIB_DEPENDS = devel/gmp USE_LIBTOOL = Yes CONFIGURE_STYLE = gnu CONFIGURE_ARGS += ${CONFIGURE_SHARED} CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" post-install: ${INSTALL_MAN} ${WRKSRC}/ecm.1 ${PREFIX}/man/man1 .include <bsd.port.mk>