aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/limewire/Makefile
blob: b4b10ad35a46289a72374d07f04de44195539c6b (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
45
46
47
# 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.12.11
PORTREVISION=   1
PORTEPOCH=  1
CATEGORIES= net-p2p java
MASTER_SITES=   http://www10.limewire.com/download/
DISTNAME=   LimeWireOther

MAINTAINER= armitage@smartwifi.com.ph
COMMENT=    A Java based Gnutella client

BROKEN=     Checksum mismatch

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>