blob: 2b51b33a89614037b5e555b0c64dd092d0cbaa63 (
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
|
# New ports collection makefile for: Azureus
# Date created: October 6, 2004
# Whom: Jeremy Faulkner <gldisater@gldis.ca>
#
# $FreeBSD$
#
PORTNAME= azureus
PORTVERSION= 2.2.0.2
CATEGORIES= net java
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= Azureus${PORTVERSION}.jar
EXTRACT_SUFX=
EXTRACT_ONLY=
MAINTAINER= lioux@FreeBSD.org
COMMENT= A BitTorrent client written in Java
RUN_DEPENDS= ${LOCALBASE}/eclipse:${PORTSDIR}/java/eclipse
NO_BUILD= yes
ONLY_FOR_ARCHS= i386
USE_JAVA= yes
JAVA_VERSION= 1.4+
JAVA_OS= native
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
JARFILE= Azureus2.jar
PLIST_FILES= %%DATADIR%%/${JARFILE} bin/${PORTNAME}
PLIST_DIRS= %%DATADIR%%
do-configure:
${SED} -e "s+%%PREFIX%%+${PREFIX}+" -e "s+%%LOCALBASE%%+${LOCALBASE}+" \
-e "s+%%JAVA%%+${JAVA}+" -e "s+%%DATADIR%%+${DATADIR}+" \
${FILESDIR}/${PORTNAME} > ${WRKDIR}/${PORTNAME}
do-install:
${MKDIR} ${DATADIR}
${INSTALL_DATA} ${DISTDIR}/${DISTNAME} ${DATADIR}/${JARFILE}
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>
|