blob: b0b0f90aad7f9f0629acb1b0143158151af40f7f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Created by: Simon Olofsson <simon@olofsson.de>
# $FreeBSD$
PORTNAME= weka
DISTVERSION= 3-6-8
CATEGORIES= textproc java
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-3-6/${PORTVERSION}
MAINTAINER= simon@olofsson.de
COMMENT= Data Mining Software in Java
LICENSE= GPLv2
PORTSCOUT= limitw:1,even # Second component is even for stable versions.
USE_ZIP= yes
USE_JAVA= yes
JAVA_VERSION= 1.6+
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>
|