Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Mar 2015 03:18:43 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r380660 - head/science/svmlight
Message-ID:  <201503070318.t273Ih8W059528@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sat Mar  7 03:18:42 2015
New Revision: 380660
URL: https://svnweb.freebsd.org/changeset/ports/380660
QAT: https://qat.redports.org/buildarchive/r380660/

Log:
  - Add LICENSE
  - Fix library installation
  - Pet portlint

Modified:
  head/science/svmlight/Makefile
  head/science/svmlight/pkg-descr

Modified: head/science/svmlight/Makefile
==============================================================================
--- head/science/svmlight/Makefile	Sat Mar  7 00:12:32 2015	(r380659)
+++ head/science/svmlight/Makefile	Sat Mar  7 03:18:42 2015	(r380660)
@@ -3,6 +3,7 @@
 
 PORTNAME=	svmlight
 PORTVERSION=	6.02
+PORTREVISION=	1
 CATEGORIES=	science
 MASTER_SITES=	http://osmot.cs.cornell.edu/svm_light/v${PORTVERSION}/
 DISTNAME=	svm_light
@@ -11,6 +12,11 @@ PATCH_SITES=	http://cpansearch.perl.org/
 PATCHFILES=	SVMLight.patch
 PATCH_DIST_STRIP=-p1
 
+LICENSE=	SVM-Light
+LICENSE_NAME=	SVM-Light license
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+LICENSE_PERMS=	# none
+
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Implementation of Support Vector Machines (SVMs) in C
 
@@ -31,8 +37,8 @@ do-install:
 .for file in svm_classify svm_learn
 	${INSTALL_PROGRAM} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/bin
 .endfor
-	${INSTALL_DATA} ${WRKSRC}/libsvmlight.* ${STAGEDIR}${PREFIX}/lib
-	${MV} ${STAGEDIR}${PREFIX}/lib/libsvmlight.so ${STAGEDIR}${PREFIX}/lib/libsvmlight.so.1
+	${INSTALL_DATA} ${WRKSRC}/libsvmlight.a ${STAGEDIR}${PREFIX}/lib/
+	${INSTALL_LIB}  ${WRKSRC}/libsvmlight.so ${STAGEDIR}${PREFIX}/lib/libsvmlight.so.1
 	${LN} -s libsvmlight.so.1 ${STAGEDIR}${PREFIX}/lib/libsvmlight.so
 # It's license request, do not remove
 	${MKDIR} ${STAGEDIR}${DOCSDIR}

Modified: head/science/svmlight/pkg-descr
==============================================================================
--- head/science/svmlight/pkg-descr	Sat Mar  7 00:12:32 2015	(r380659)
+++ head/science/svmlight/pkg-descr	Sat Mar  7 03:18:42 2015	(r380660)
@@ -15,4 +15,4 @@ unbiased estimates provides leave-one-ou
 that the results of most leave-one-outs (often more than 99%) are
 predetermined and need not be computed [Joachims, 2002a].
 
-WWW:	http://svmlight.joachims.org/
+WWW: http://svmlight.joachims.org/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201503070318.t273Ih8W059528>