1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/textproc/weka/Makefile
Danilo Egea Gondolfo 7f5840ad26 - Install examples files by default
Suggested by:	Kostas Oikonomou <k.oikonomou@att.net>
2016-08-03 02:08:46 +00:00

38 lines
881 B
Makefile

# Created by: Simon Olofsson <simon@olofsson.de>
# $FreeBSD$
PORTNAME= weka
DISTVERSION= 3-8-0
PORTREVISION= 1
CATEGORIES= textproc java
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-3-8/${PORTVERSION}
MAINTAINER= danilo@FreeBSD.org
COMMENT= Data Mining Software in Java
LICENSE= GPLv2
PORTSCOUT= limitw:1,even # Second component is even for stable versions.
USES= zip
USE_JAVA= yes
JAVA_VERSION= 1.6+
NO_BUILD= yes
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
OPTIONS_DEFINE= EXAMPLES
SUB_FILES= ${PORTNAME}.sh
SUB_LIST= JARNAME=${PORTNAME}.jar
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>