1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/science/liblinear/Makefile
Richard Gallamore 5a71737e40 * Updated to 2.11
* New maintainer Jov <amutu@amutu.com>

Changelog:	https://www.csie.ntu.edu.tw/~cjlin/liblinear/log

PR:		220104
Submitted by:	Jov <amutu@amutu.com> (maintainer)
Reviewed by:	matthew (mentor)
Approved by:	matthew (mentor)
Differential Revision:	https://reviews.freebsd.org/D11351
2017-06-25 16:21:46 +00:00

39 lines
890 B
Makefile

# Created by: Rong-En Fan <rafan@FreeBSD.org>
# $FreeBSD$
PORTNAME= liblinear
PORTVERSION= 2.11
CATEGORIES= science math
MASTER_SITES= http://www.csie.ntu.edu.tw/~cjlin/liblinear/ \
http://www.csie.ntu.edu.tw/~cjlin/liblinear/oldfiles/
MAINTAINER= amutu@amutu.com
COMMENT= Library for Large Linear Classification
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
USES= zip
PORTDOCS= COPYRIGHT README
PLIST_FILES= bin/train bin/predict
OPTIONS_DEFINE= OPTIMIZED_CFLAGS DOCS
OPTIONS_DEFAULT=OPTIMIZED_CFLAGS
# same as LIBLINEAR itself
OPTIMIZED_CFLAGS_CFLAGS= -Wall -O3
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/train ${STAGEDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/predict ${STAGEDIR}${PREFIX}/bin
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
for f in ${PORTDOCS}; do \
${INSTALL_DATA} ${WRKSRC}/$$f ${STAGEDIR}${DOCSDIR}; \
done
.include <bsd.port.mk>