1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
freebsd-ports/math/liblbfgs/Makefile

41 lines
903 B
Makefile
Raw Normal View History

2013-06-04 21:26:52 +00:00
# Created by: Hung-Yi Chen <gaod@hychen.org>
# $FreeBSD$
PORTNAME= liblbfgs
PORTVERSION= 1.10
PORTREVISION= 1
CATEGORIES= math
MASTER_SITES= http://cloud.github.com/downloads/chokkan/liblbfgs/
MAINTAINER= gaod@hychen.org
2013-06-04 21:26:52 +00:00
COMMENT= Library of Limited-memory Broyden-Fletcher-Goldfarb-Shanno
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
USES= libtool
GNU_CONFIGURE= yes
2010-12-04 07:34:27 +00:00
USE_AUTOTOOLS= autoconf:env
OPTIONS_DEFINE= OPTIMIZED DOCS
2013-06-04 21:26:52 +00:00
OPTIMIZED_DESC= SSE2 optimization routines
2013-06-04 21:26:52 +00:00
.include <bsd.port.options.mk>
# Enable/disable compilation optimizations.
2013-06-04 21:26:52 +00:00
.if ${PORT_OPTIONS:MOPTIMIZED}
CONFIGURE_ARGS+= --enable-sse2
.endif
PLIST_FILES= lib/liblbfgs-1.10.so lib/liblbfgs.a \
lib/liblbfgs.so include/lbfgs.h
PORTDOCS= README INSTALL COPYING AUTHORS ChangeLog NEWS
post-patch:
.if !${PORT_OPTIONS:MDOCS}
@${REINPLACE_CMD} -e 's/install-data-am$$//' ${WRKSRC}/Makefile.in
.endif
2013-06-04 21:26:52 +00:00
.include <bsd.port.mk>