1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00
freebsd-ports/net-p2p/vuze/Makefile

73 lines
2.0 KiB
Makefile
Raw Normal View History

2012-10-04 10:00:38 +00:00
# Created by: Jeremy Faulkner <gldisater@gldis.ca>
# $FreeBSD$
PORTNAME= vuze
PORTVERSION= 5.7.4.0
Populate newly create net-p2p category with these ports: ftp/jigdo net/amule1 net/amule2 net/apollon net/azureus net/bnbt net/btpeer net/btqueue net/cdonkey net/ctorrent net/dcd net/dclib net/dctc net/dctc-gui net/dctc-gui-qt net/edonkey-gui-gtk net/edonkey-gui-gtk-urlslave net/fcptools net/fidelio net/freenet net/frost net/giftcurs net/giftoxic net/giftui net/gift net/gift-fasttrack net/gift-gnutella net/gift-openft net/gkrellm-gift net/gnewtellium net/gnome-btdownload net/gnunet net/gtkhx net/gtk-gnutella net/gtorrentviewer net/hagelslag net/hx net/i2p net/javadc net/kmldonkey net/ktorrent net/libbt net/liberator net/libfreenet net/libpdtp net/libtorrent net/limewire net/linux-agsatellite net/linux-edonkey-core net/linux-edonkey-server net/linux-jigdo net/linux-overnet-core net/minder net/mldonkey net/mldonkey-core net/mldonkey-core-devel net/mldonkey-devel net/mldonkey-gui net/mldonkey-gui-devel net/mldonkey-perlreactor net/mldonkey-sancho net/mldonkey-serverspy net/mldonkey-urlslave net/mutella net/mute-net net/mute-net-gui net/mute-net-text net/napshare net/nicotine net/opendchub net/peercast net/phex net/pyslsk net/py-bittornado net/py-bittornado-core net/py-bittorrent net/py-bittorrent-core net/py-bittorrent-core-devel net/py-bittorrent-devel net/py-fngrab net/py-kenosis net/py-kenosis-bittorrent net/py-py2play net/p5-pdonkey net/qtella net/qtorrent net/rtorrent net/squall net/torrentflux net/torrentsniff net/trackerbt net/transmission net/valknut net/verlihub net/verlihub-plugins net/xmule net/xnap misc/ed2k misc/edonkey-tool-hash misc/linux-edonkey-tool-recovermet Repocopies by: marcus
2006-01-30 21:36:28 +00:00
CATEGORIES= net-p2p java
MASTER_SITES= SF/azureus/vuze/Vuze_${PORTVERSION:S/.//g}
DISTNAME= Vuze_${PORTVERSION:S/.//g}_source
MAINTAINER= ports@FreeBSD.org
COMMENT= BitTorrent client written in Java
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/GPL.txt
BUILD_DEPENDS= ${JAVALIBDIR}/log4j.jar:devel/log4j \
${JAVALIBDIR}/commons-cli.jar:java/jakarta-commons-cli \
${JAVALIBDIR}/junit.jar:java/junit \
${JAVALIBDIR}/swt-devel.jar:x11-toolkits/swt-devel
RUN_DEPENDS= ${JAVALIBDIR}/swt-devel.jar:x11-toolkits/swt-devel
2014-03-10 16:38:00 +00:00
USES= zip
USE_JAVA= yes
JAVA_OS= native
USE_ANT= yes
NO_WRKSUBDIR= yes
NO_ARCH= yes
INSTALLS_ICONS= yes
JARFILE= ${PORTNAME}.jar
# build classpath from BUILD_DEPENDS
CLASSPATH_JARS= ${BUILD_DEPENDS:C/:.+$//:M*.jar:T}
PLIST_FILES= %%JAVAJARDIR%%/${JARFILE} \
bin/${PORTNAME} \
share/icons/hicolor/16x16/apps/${PORTNAME}.png \
share/icons/hicolor/32x32/apps/${PORTNAME}.png \
share/icons/hicolor/64x64/apps/${PORTNAME}.png
SUB_FILES= ${PORTNAME}
SUB_LIST= LIBDIR="${LOCALBASE}/lib" JARFILE="${JARFILE}" \
SWTJAR="${JAVALIBDIR}/swt-devel.jar" JAVA="${LOCALBASE}/bin/java"
DESKTOP_ENTRIES= "Vuze" \
"BitTorrent client" \
"${PORTNAME}" \
"${PORTNAME}" \
"Network;P2P;Java;" \
true
CLASSPATH=.
.for jar in ${CLASSPATH_JARS}
CLASSPATH:=${CLASSPATH}:${JAVALIBDIR}/${jar}
.endfor
post-patch:
${RM} -r ${WRKSRC}/org/eclipse
@${SED} -E -e 's|%%CLASSPATH%%|${CLASSPATH}|' \
${FILESDIR}/build.xml > ${WRKSRC}/build.xml
do-install:
2013-10-13 15:22:36 +00:00
@${MKDIR} ${STAGEDIR}${JAVAJARDIR}
${INSTALL_DATA} ${WRKSRC}/dist/lib/${JARFILE} ${STAGEDIR}${JAVAJARDIR}
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
.for s in 16 32 64
2013-10-13 15:22:36 +00:00
@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}x${s}/apps
${INSTALL_DATA} ${WRKSRC}/org/gudy/azureus2/ui/icons/a${s}.png \
2013-10-13 15:22:36 +00:00
${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}x${s}/apps/${PORTNAME}.png
.endfor
2012-10-04 10:00:38 +00:00
.include <bsd.port.mk>