aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/azureus/Makefile
diff options
context:
space:
mode:
authorHerve Quiroz <hq@FreeBSD.org>2004-10-24 01:08:00 +0000
committerHerve Quiroz <hq@FreeBSD.org>2004-10-24 01:08:00 +0000
commitb483613740a0a448a3fdd2424ca61e2fc04d0b1c (patch)
treeacadf49ce2505b50adc1eaf5c85d1ad89cfbdccd /net-p2p/azureus/Makefile
parent10ff18612d59dfb50f62f698ff16e63829cba52b (diff)
downloadports-b483613740a0a448a3fdd2424ca61e2fc04d0b1c.tar.gz
ports-b483613740a0a448a3fdd2424ca61e2fc04d0b1c.zip
Notes
Diffstat (limited to 'net-p2p/azureus/Makefile')
-rw-r--r--net-p2p/azureus/Makefile45
1 files changed, 45 insertions, 0 deletions
diff --git a/net-p2p/azureus/Makefile b/net-p2p/azureus/Makefile
new file mode 100644
index 000000000000..9492eb7bca7c
--- /dev/null
+++ b/net-p2p/azureus/Makefile
@@ -0,0 +1,45 @@
+# New ports collection makefile for: Azureus
+# Date created: October 6, 2004
+# Whom: Jeremy Faulkner <gldisater@gldis.ca>
+#
+# $FreeBSD$
+#
+
+PORTNAME= azureus
+PORTVERSION= 2.1.0.4
+CATEGORIES= net java
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+DISTNAME= Azureus${PORTVERSION}.jar
+EXTRACT_SUFX=
+EXTRACT_ONLY=
+
+MAINTAINER= gldisater@gldis.ca
+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
+JAVA_RUN= yes
+
+DATADIR= ${JAVASHAREDIR}/${PORTNAME}
+JARFILE= Azureus2.jar
+
+PLIST_FILES= %%DATADIR%%/${JARFILE} bin/${PORTNAME}
+
+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>