aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/phex/Makefile
blob: edc0b7a468babeb3c0e127dd6ea0ef5fcb3fadaf (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
# Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
# $FreeBSD$

PORTNAME=   phex
PORTVERSION=    3.4.2.116
CATEGORIES= net-p2p java
MASTER_SITES=   SF/${PORTNAME}/Phex%20Final%20Releases/Phex%203.4.2
DISTNAME=   ${PORTNAME}_${PORTVERSION}

MAINTAINER= jhale@FreeBSD.org
COMMENT=    A Java multi platform and spyware free gnutella client

USE_JAVA=   yes
JAVA_VERSION=   1.6+
USE_ZIP=    yes
NO_BUILD=   yes

SUB_FILES=  ${PORTNAME}.sh
SUB_LIST=   JAVA_VERSION=${JAVA_VERSION}
DATADIR=    ${JAVASHAREDIR}/${PORTNAME}

PORTDOCS=   Phex_other.htm \
        Undocumented.htm

NO_STAGE=   yes
do-install:
    @${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${PREFIX}/bin/${PORTNAME}
    @${MKDIR} ${DATADIR}
    @${INSTALL_DATA} ${WRKSRC}/lib/* ${DATADIR}
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    @${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/docs/readme/|} ${DOCSDIR}
.endif

.include <bsd.port.mk>