Date: Wed, 3 Aug 2016 02:08:46 +0000 (UTC) From: Danilo Egea Gondolfo <danilo@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r419496 - head/textproc/weka Message-ID: <201608030208.u7328kIl033577@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: danilo Date: Wed Aug 3 02:08:46 2016 New Revision: 419496 URL: https://svnweb.freebsd.org/changeset/ports/419496 Log: - Install examples files by default Suggested by: Kostas Oikonomou <k.oikonomou@att.net> Added: head/textproc/weka/pkg-plist (contents, props changed) Modified: head/textproc/weka/Makefile Modified: head/textproc/weka/Makefile ============================================================================== --- head/textproc/weka/Makefile Tue Aug 2 22:38:00 2016 (r419495) +++ head/textproc/weka/Makefile Wed Aug 3 02:08:46 2016 (r419496) @@ -3,6 +3,7 @@ PORTNAME= weka DISTVERSION= 3-8-0 +PORTREVISION= 1 CATEGORIES= textproc java MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-3-8/${PORTVERSION} @@ -20,16 +21,17 @@ NO_BUILD= yes DATADIR= ${JAVASHAREDIR}/${PORTNAME} +OPTIONS_DEFINE= EXAMPLES + SUB_FILES= ${PORTNAME}.sh SUB_LIST= JARNAME=${PORTNAME}.jar -PLIST_FILES= %%DATADIR%%/${PORTNAME}.jar \ - bin/${PORTNAME} - do-install: ${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.jar \ ${STAGEDIR}${DATADIR}/${PORTNAME}.jar + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + cd ${WRKSRC}/data && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include <bsd.port.mk> Added: head/textproc/weka/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/weka/pkg-plist Wed Aug 3 02:08:46 2016 (r419496) @@ -0,0 +1,27 @@ +bin/weka +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ReutersCorn-test.arff +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ReutersCorn-train.arff +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ReutersGrain-test.arff +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ReutersGrain-train.arff +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/airline.arff +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/breast-cancer.arff +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/contact-lenses.arff +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cpu.arff +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cpu.with.vendor.arff +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/credit-g.arff +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/diabetes.arff +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/glass.arff +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hypothyroid.arff +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ionosphere.arff +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/iris.2D.arff +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/iris.arff +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/labor.arff +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/segment-challenge.arff +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/segment-test.arff +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/soybean.arff +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/supermarket.arff +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/unbalanced.arff +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/vote.arff +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/weather.nominal.arff +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/weather.numeric.arff +%%DATADIR%%/weka.jar
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201608030208.u7328kIl033577>