aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/jftp/Makefile
blob: 7ddce870ae5e0f6165d86a7a526e42a002679a4c (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
# ex:ts=8
# Ports collection makefile for:    jftp
# Date created:         June 14, 2003
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   jftp
PORTVERSION=    1.52
CATEGORIES= ftp java
MASTER_SITES=   SF/j-ftp/${PORTNAME}/${PORTVERSION}
DISTNAME=   j-ftp-${PORTVERSION}

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

LICENSE=    GPLv2

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

WRKSRC=     ${WRKDIR}/j-ftp
USE_JAVA=   yes
JAVA_VERSION=   1.5+
NO_BUILD=   yes
SUB_FILES=  jftp.sh
DATADIR=    ${JAVASHAREDIR}/${PORTNAME}
PLIST_FILES=    bin/jftp %%DATADIR%%/jftp.jar
PLIST_DIRS= %%DATADIR%%

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

.include <bsd.port.mk>