mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
36 lines
862 B
Makefile
36 lines
862 B
Makefile
# 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>
|