2007-01-22 07:51:28 +00:00
|
|
|
# New ports collection makefile for: weka
|
|
|
|
# Date created: 2007-01-20
|
|
|
|
# Whom: Simon Olofsson <simon@olofsson.de>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= weka
|
2007-07-16 07:46:40 +00:00
|
|
|
DISTVERSION= 3-4-11
|
2007-01-22 07:51:28 +00:00
|
|
|
CATEGORIES= textproc java
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
|
|
|
|
MAINTAINER= simon@olofsson.de
|
|
|
|
COMMENT= Data Mining Software in Java
|
|
|
|
|
|
|
|
USE_ZIP= yes
|
|
|
|
USE_JAVA= yes
|
|
|
|
JAVA_VERSION= 1.4+
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
|
|
|
|
|
|
|
|
SUB_FILES= ${PORTNAME}.sh
|
|
|
|
SUB_LIST= JARNAME=${PORTNAME}.jar
|
|
|
|
|
|
|
|
PLIST_FILES= %%DATADIR%%/${PORTNAME}.jar \
|
|
|
|
bin/${PORTNAME}
|
|
|
|
PLIST_DIRS= %%DATADIR%%
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${MKDIR} ${DATADIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.jar \
|
|
|
|
${DATADIR}/${PORTNAME}.jar
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${PREFIX}/bin/${PORTNAME}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|