2010-11-19 02:23:05 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.8 2010/11/19 07:23:10 espie Exp $
|
2006-10-14 14:52:12 -04:00
|
|
|
|
2009-05-27 15:09:26 -04:00
|
|
|
COMMENT = elliptic curve method (ECM) factorization library
|
2006-10-14 14:52:12 -04:00
|
|
|
|
2010-07-28 15:23:49 -04:00
|
|
|
DISTNAME = ecm-6.3
|
2009-05-27 15:09:26 -04:00
|
|
|
SHARED_LIBS = ecm 0.0
|
|
|
|
CATEGORIES = math
|
2006-10-14 14:52:12 -04:00
|
|
|
|
2009-05-27 15:09:26 -04:00
|
|
|
HOMEPAGE = http://gforge.inria.fr/projects/ecm/
|
2006-10-14 14:52:12 -04:00
|
|
|
|
2009-05-27 15:09:26 -04:00
|
|
|
MAINTAINER = Benoit Lecocq <benoit@openbsd.org>
|
2006-10-14 14:52:12 -04:00
|
|
|
|
2009-05-27 15:09:26 -04:00
|
|
|
# GPLv2 / LGLPv2.1
|
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
|
|
PERMIT_DISTFILES_CDROM =Yes
|
|
|
|
PERMIT_DISTFILES_FTP = Yes
|
2006-10-14 14:52:12 -04:00
|
|
|
|
2010-07-28 15:23:49 -04:00
|
|
|
WANTLIB = c m gmp
|
2006-10-14 14:52:12 -04:00
|
|
|
|
2010-07-28 15:23:49 -04:00
|
|
|
MASTER_SITES = http://gforge.inria.fr/frs/download.php/26838/
|
2006-10-14 14:52:12 -04:00
|
|
|
|
2010-11-19 02:23:05 -05:00
|
|
|
LIB_DEPENDS = devel/gmp
|
2006-10-14 14:52:12 -04:00
|
|
|
|
2009-05-27 15:09:26 -04:00
|
|
|
CONFIGURE_STYLE = gnu
|
|
|
|
CONFIGURE_ARGS += ${CONFIGURE_SHARED}
|
|
|
|
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2010-10-19 05:21:04 -04:00
|
|
|
USE_GROFF = Yes
|
2006-10-14 14:52:12 -04:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/ecm.1 ${PREFIX}/man/man1
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|