aboutsummaryrefslogtreecommitdiffstats
path: root/science/liblinear
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2014-05-30 21:48:44 +0800
committerrafan <rafan@FreeBSD.org>2014-05-30 21:48:44 +0800
commita670d9f5b1e0d58f1d6ada799683599501fba491 (patch)
tree8896367fde22347b4f0f2b5c285bbbcfc5ef07d2 /science/liblinear
parent65c7524405968ca9634a1e7a46bdc1296ab1a109 (diff)
downloadfreebsd-ports-gnome-a670d9f5b1e0d58f1d6ada799683599501fba491.tar.gz
freebsd-ports-gnome-a670d9f5b1e0d58f1d6ada799683599501fba491.tar.zst
freebsd-ports-gnome-a670d9f5b1e0d58f1d6ada799683599501fba491.zip
- Update to 1.94
- Support staging
Diffstat (limited to 'science/liblinear')
-rw-r--r--science/liblinear/Makefile11
-rw-r--r--science/liblinear/distinfo4
2 files changed, 7 insertions, 8 deletions
diff --git a/science/liblinear/Makefile b/science/liblinear/Makefile
index 38b22b23ba35..d47d3e8e4a50 100644
--- a/science/liblinear/Makefile
+++ b/science/liblinear/Makefile
@@ -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
diff --git a/science/liblinear/distinfo b/science/liblinear/distinfo
index f6d0a9b01c77..6ed032da6803 100644
--- a/science/liblinear/distinfo
+++ b/science/liblinear/distinfo
@@ -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