mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00

Based on the new policy of all maintained ports reset when maintaner is absent for 3 months. Bug#226400 for science/py-tensorflow is ignored since 2018-03-06 (3+ months). portscout database indicates that 48.94% of his ports aren't updated.
39 lines
892 B
Makefile
39 lines
892 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= ports@FreeBSD.org
|
|
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>
|