summaryrefslogtreecommitdiffstats
path: root/net-p2p/phex/Makefile
blob: e03bc780b260b6fbe39288f1b2b661e1478c5098 (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
# 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%20${PORTVERSION:R}
DISTNAME=	${PORTNAME}_${PORTVERSION}

MAINTAINER=	jhale@FreeBSD.org
COMMENT=	Multi-platform and spyware-free Gnutella client

LICENSE=	GPLv2

USES=		zip
USE_JAVA=	yes
JAVA_VERSION=	1.6+
NO_BUILD=	yes

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

PORTDOCS=	Phex_other.htm \
		Undocumented.htm

OPTIONS_DEFINE=	DOCS

do-install:
	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
	@${MKDIR} ${STAGEDIR}${DATADIR}
	${INSTALL_DATA} ${WRKSRC}/lib/* ${STAGEDIR}${DATADIR}
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/docs/readme/|} ${STAGEDIR}${DOCSDIR}

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