1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Update to 1.94

- Support staging
This commit is contained in:
Rong-En Fan 2014-05-30 13:48:44 +00:00
parent 9a028b0117
commit 351f262768
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=355838
2 changed files with 7 additions and 8 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= liblinear
PORTVERSION= 1.80
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/
@ -15,7 +15,7 @@ LICENSE= BSD
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
OPTIONS_DEFINE= OPTIMIZED_CFLAGS
OPTIONS_DEFAULT= OPTIMIZED_CFLAGS
OPTIONS_DEFAULT=OPTIMIZED_CFLAGS
USES= zip
@ -23,7 +23,6 @@ TXT_DOCS= COPYRIGHT README
PLIST_FILES= bin/train bin/predict
NO_STAGE= yes
.include <bsd.port.pre.mk>
.if ${PORT_OPTIONS:MDOCS}
@ -36,14 +35,14 @@ CFLAGS= -Wall -O3
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/train ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/predict ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/train ${STAGEDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/predict ${STAGEDIR}${PREFIX}/bin
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
for f in ${TXT_DOCS}; do \
${INSTALL_DATA} ${WRKSRC}/$$f ${DOCSDIR}; \
${INSTALL_DATA} ${WRKSRC}/$$f ${STAGEDIR}${DOCSDIR}; \
done
.endif

View File

@ -1,2 +1,2 @@
SHA256 (liblinear-1.8.zip) = 09723bbbbfdf67ed37190a4688c07eed7e6e65baf0b352654770ab9a62d86960
SIZE (liblinear-1.8.zip) = 307064
SHA256 (liblinear-1.94.zip) = b3f18cdc6a057dba59ca63de25d3f100c136d563e4a41417ec824aa42eeb26ff
SIZE (liblinear-1.94.zip) = 351836