aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/limewire/Makefile
blob: c24e40748ccd5268edc59dc06abb05c566799dcf (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
40
41
42
43
44
# 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=    4.18.3
PORTEPOCH=  1
CATEGORIES= net-p2p java
MASTER_SITES=   http://www10.limewire.com/download/
DISTNAME=   LimeWireOther

MAINTAINER= cyberbotx@cyberbotx.com
COMMENT=    A Java based Gnutella client

RUN_DEPENDS=    java:${PORTSDIR}/java/javavmwrapper

USE_ZIP=    yes
USE_JAVA=   yes
JAVA_VERSION=   1.3+
NO_BUILD=   yes
WRKSRC=     ${WRKDIR}/LimeWire

DATADIR=    ${JAVASHAREDIR}/${PORTNAME}

SUB_FILES=  ${PORTNAME}.sh

post-extract:
    @cd ${WRKSRC} && \
        ${RM} -f *.exe *.dll *.so *.sh cygwin.* COPYING SOURCE && \
        ${MV} README.txt ..

do-install:
    ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${PREFIX}/bin/${PORTNAME}
    ${MKDIR} ${DATADIR}
    ${CP} -R ${WRKSRC}/* ${DATADIR}/
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKDIR}/README.txt ${DOCSDIR}/
.endif

.include <bsd.port.mk>