1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/ftp/jftp/Makefile
Danilo Egea Gondolfo ae21656d2c - Add stage support
2014-02-08 14:18:50 +00:00

34 lines
719 B
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= jftp
PORTVERSION= 1.56
CATEGORIES= ftp java
MASTER_SITES= SF/j-ftp/${PORTNAME}/${PORTVERSION}
DISTNAME= j-ftp-${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Java Network Browser
LICENSE= GPLv2
RUN_DEPENDS= java:${PORTSDIR}/java/javavmwrapper
JAVA_VERSION= 1.6+
NO_BUILD= yes
USE_JAVA= yes
WRKSRC= ${WRKDIR}/j-ftp
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
PLIST_DIRS= %%DATADIR%%
PLIST_FILES= bin/jftp %%DATADIR%%/jftp.jar
SUB_FILES= jftp.sh
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_SCRIPT} ${WRKDIR}/jftp.sh ${STAGEDIR}${PREFIX}/bin/jftp
${INSTALL_DATA} ${WRKSRC}/build/jars/jftp.jar ${STAGEDIR}${DATADIR}/
.include <bsd.port.mk>