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

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

MAINTAINER= beech@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>