openbsd-ports/math/ecm/Makefile
benoit adc0079491 - update ecm to 6.2.3
- regen PLIST
- add SHARED_LIBS
- change maintainer
- change MASTER_SITES

ok pvalchev@, ajacoutot@
2009-05-27 19:09:26 +00:00

34 lines
757 B
Makefile

# $OpenBSD: Makefile,v 1.4 2009/05/27 19:09:26 benoit Exp $
COMMENT = elliptic curve method (ECM) factorization library
DISTNAME = ecm-6.2.3
SHARED_LIBS = ecm 0.0
CATEGORIES = math
HOMEPAGE = http://gforge.inria.fr/projects/ecm/
MAINTAINER = Benoit Lecocq <benoit@openbsd.org>
# GPLv2 / LGLPv2.1
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB = c m
MASTER_SITES = http://gforge.inria.fr/frs/download.php/22124/
LIB_DEPENDS = gmp.::devel/gmp
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>