aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/jftp/Makefile
blob: 4cb1903121381a3192ce04c8249884687760772b (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
# Created by: ijliao
# $FreeBSD$

PORTNAME=   jftp
PORTVERSION=    1.56
CATEGORIES= ftp java
MASTER_SITES=   SF/j-ftp/${PORTNAME}/${PORTVERSION}
DISTNAME=   j-ftp-${PORTVERSION}
EXTRACT_SUFX=   .tgz

MAINTAINER= ports@FreeBSD.org
COMMENT=    Java Network Browser

LICENSE=    GPLv2

RUN_DEPENDS=    java:${PORTSDIR}/java/javavmwrapper

JAVA_VERSION=   1.6+
NO_BUILD=   yes
USE_JAVA=   yes
WRKSRC=     ${WRKDIR}/j-ftp

DATADIR=    ${JAVASHAREDIR}/${PORTNAME}
PLIST_DIRS= %%DATADIR%%
PLIST_FILES=    bin/jftp %%DATADIR%%/jftp.jar
SUB_FILES=  jftp.sh

do-install:
    ${MKDIR} ${DATADIR}/
    ${INSTALL_SCRIPT} ${WRKDIR}/jftp.sh ${PREFIX}/bin/jftp
    ${INSTALL_DATA} ${WRKSRC}/build/jars/jftp.jar ${DATADIR}/

.include <bsd.port.mk>