mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
40 lines
911 B
Makefile
40 lines
911 B
Makefile
# Created by: Hung-Yi Chen <gaod@hychen.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= liblbfgs
|
|
PORTVERSION= 1.10
|
|
CATEGORIES= math
|
|
MASTER_SITES= http://cloud.github.com/downloads/chokkan/liblbfgs/
|
|
|
|
MAINTAINER= gaod@hychen.org
|
|
COMMENT= Library of Limited-memory Broyden-Fletcher-Goldfarb-Shanno
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_AUTOTOOLS= autoconf:env
|
|
|
|
OPTIONS_DEFINE= OPTIMIZED DOCS
|
|
OPTIMIZED_DESC= SSE2 optimization routines
|
|
|
|
NO_STAGE= yes
|
|
.include <bsd.port.options.mk>
|
|
|
|
# Enable/disable compilation optimizations.
|
|
.if ${PORT_OPTIONS:MOPTIMIZED}
|
|
CONFIGURE_ARGS+= --enable-sse2
|
|
.endif
|
|
|
|
PLIST_FILES= lib/liblbfgs-1.10.so.0.0 lib/liblbfgs.a lib//liblbfgs.la \
|
|
lib/liblbfgs.so.0.0 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
|
|
|
|
.include <bsd.port.mk>
|