summaryrefslogtreecommitdiffstats
path: root/net/furi/Makefile
blob: e55f4b4000919eee29cbf5de8b103983820be2fd (plain)
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
36
37
38
39
40
41
# New ports collection makefile for:	FURI Gnutella client
# Date created:		31 Mar 2001
# Whom:			Mario Sergio Fujikawa Ferreira <liouxFreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	furi
PORTVERSION=	0.68
CATEGORIES=	net java
MASTER_SITES=	http://www.jps.net/williamw/furi/
DISTNAME=	${PORTNAME}${PORTVERSION:S/.//}

MAINTAINER=	lioux@FreeBSD.org

RUN_DEPENDS=	${JAVAVM}:${PORTSDIR}/java/javavmwrapper \
		${LOCALBASE}/etc/javavms:${PORTSDIR}/java/jre \
		${LOCALBASE}/share/java/classes/jfc-1.1.1/swing.jar:${PORTSDIR}/java/jfc

USE_ZIP=	yes
USE_XLIB=	yes
NO_WRKSUBDIR=	yes
NO_BUILD=	yes

JAVAVM=		${LOCALBASE}/bin/javavm
INSTSBDR=	${PREFIX}/share/java/classes/furi
INSTALL_DIR=	${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m 0555

post-extract:
	@${SED} -e "s!/usr/local!${LOCALBASE}!" ${FILESDIR}/furi.sh > ${WRKSRC}/furi.sh

post-patch:
	@${PERL} -pi -ne "s!
!!" ${WRKSRC}/Readme.txt

do-install:
	@${INSTALL_DIR} ${INSTSBDR} ${PREFIX}/share/doc/${PORTNAME}
	@${INSTALL_DATA} ${WRKSRC}/furi.jar ${INSTSBDR}
	@${INSTALL_DATA} ${WRKSRC}/Readme.txt ${PREFIX}/share/doc/${PORTNAME}
	@${INSTALL_SCRIPT} ${WRKSRC}/furi.sh ${PREFIX}/bin/furi

.include <bsd.port.mk>
OpenPOWER on IntegriCloud