aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/jftp/Makefile
blob: 8a8fbe15bfc0b863b85f3b88077e6f302ab26e4f (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.41
CATEGORIES= ftp
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= j-ftp
DISTNAME=   j-ftp-${PORTVERSION}

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

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

JAVAVM=     ${LOCALBASE}/bin/javavm

post-patch:
    @${SED} -e "s,%%DATADIR%%,${DATADIR},; \
        s,%%JAVAVM%%,${JAVAVM}," \
        ${FILESDIR}/jftp > ${WRKSRC}/jftp

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

.include <bsd.port.mk>