freebsd-ports/science/liblinear/Makefile
Jimmy Olgeni fa3a17c064 Remove indefinite articles and trailing periods from COMMENT, plus
minor COMMENT typos and surrounding whitespace fixes. A few Makefiles
where not included as they contain Latin-1 characters that break
the Phabricator workflow. Categories P-S.

CR:		D422
Approved by:	portmgr (bapt)
2014-07-17 08:57:51 +00:00

49 lines
1 KiB
Makefile

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