83661f4fc6
PR: ports/169802 Submitted by: Simon Olofsson <simon@olofsson.de>
42 lines
890 B
Makefile
42 lines
890 B
Makefile
# New ports collection makefile for: weka
|
|
# Date created: 2007-01-20
|
|
# Whom: Simon Olofsson <simon@olofsson.de>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= weka
|
|
DISTVERSION= 3-6-7
|
|
CATEGORIES= textproc java
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-3-6/${PORTVERSION}
|
|
|
|
MAINTAINER= simon@olofsson.de
|
|
COMMENT= Data Mining Software in Java
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
PORTSCOUT= limitw:1,even # Second component is even for stable versions.
|
|
|
|
USE_ZIP= yes
|
|
USE_JAVA= yes
|
|
JAVA_VERSION= 1.5+
|
|
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>
|