summaryrefslogtreecommitdiff
path: root/net/limewire/Makefile
blob: 7d6272e3a81f689a26c46951e4ce930cd7112867 (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
36
37
38
39
# New ports collection makefile for:	limewire
# Date created:				Fri Feb 22 00:28:41 CST 2002
# Whom:					Kyle Martin <mkm@ieee.org> et al
#
# $FreeBSD$
#

PORTNAME=	limewire
PORTVERSION=	3.8.7
CATEGORIES=	net java
MASTER_SITES=	http://www3.limewire.com/download/
DISTNAME=	LimeWireLinux
EXTRACT_SUFX=	.tgz

MAINTAINER=	past@noc.ntua.gr
COMMENT=	A Java based gnutella client

USE_JAVA=	1.3+
NO_BUILD=	yes
NO_WRKSUBDIR=	yes

RESTRICTED=	License does not allow redistribution of any kind
NO_CDROM=	${RESTRICTED}
NO_PACKAGE=	${RESTRICTED}

JAR_DIR=	${PREFIX}/share/java/jar/limewire
PLIST_SUB=	JAR_DIR="${JAR_DIR:S/${PREFIX}\///}"

post-patch:
	@${SED} 's|%%JAR_DIR%%|${JAR_DIR}|; s|%%LOCALBASE%%|${LOCALBASE}|' \
		${WRKSRC}/runLime.sh > ${WRKSRC}/runLime.sh.sed

do-install:
	@${INSTALL_SCRIPT} ${WRKSRC}/runLime.sh.sed ${PREFIX}/bin/limewire
	@${MKDIR} ${JAR_DIR}
	@${INSTALL_DATA} ${WRKSRC}/*.jar ${WRKSRC}/MessagesBundle.properties \
		${WRKSRC}/xml.war ${WRKSRC}/update.ver ${WRKSRC}/hashes ${JAR_DIR}

.include <bsd.port.mk>