# ex:ts=8
# Ports collection makefile for:	jftp
# Date created:			June 14, 2003
# Whom:				ijliao
#
# $FreeBSD: ports/ftp/jftp/Makefile,v 1.13 2007/08/23 03:59:57 tabthorpe Exp $
#

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

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


syntax highlighted by Code2HTML, v. 0.9.1