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

PORTNAME=   jftp
PORTVERSION=    1.48
CATEGORIES= ftp java
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= j-ftp
DISTNAME=   j-ftp-${PORTVERSION}

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

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

WRKSRC=     ${WRKDIR}/j-ftp
USE_JAVA=   yes
JAVA_VERSION=   1.3+
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>