freebsd-ports/net-p2p/mldonkey-sancho/Makefile
Pav Lucistnik fbab09fee3 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

104 lines
3 KiB
Makefile

# New ports collection makefile for: mldonkey sancho gui
# Date created: Thu Dec 30 15:55:50 UTC 2004
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= sancho
DISTVERSION= 0.9.4-23
PORTREVISION= 4
CATEGORIES= net-p2p java
MASTER_SITES= http://sancho-gui.sourceforge.net/%SUBDIR%/
MASTER_SITE_SUBDIR= dl/tmp94
PKGNAMEPREFIX= mldonkey-
DISTNAME= ${PORTNAME}-src
MAINTAINER= lioux@FreeBSD.org
COMMENT= A Java GUI for the MLDonkey core
BUILD_DEPENDS= \
${LOCALBASE}/eclipse/plugins/org.eclipse.jface_${ECLIPSE_VERSION}.1.jar:${PORTSDIR}/java/eclipse \
${JAVALIBDIR}/gnu-regexp.jar:${PORTSDIR}/java/gnu-regexp \
${JAVALIBDIR}/swt.jar:${PORTSDIR}/x11-toolkits/swt31 \
${JAVALIBDIR}/trove.jar:${PORTSDIR}/java/trove4j \
${JAVALIBDIR}/jsch.jar:${PORTSDIR}/net/jsch
RUN_DEPENDS= \
${LOCALBASE}/eclipse/plugins/org.eclipse.core.runtime_${ECLIPSE_VERSION}.1.jar:${PORTSDIR}/java/eclipse \
${LOCALBASE}/eclipse/plugins/org.eclipse.osgi_${ECLIPSE_VERSION}.1.jar:${PORTSDIR}/java/eclipse \
${LOCALBASE}/eclipse/plugins/org.eclipse.jface_${ECLIPSE_VERSION}.1.jar:${PORTSDIR}/java/eclipse \
${LOCALBASE}/eclipse/startup.jar:${PORTSDIR}/java/eclipse \
${JAVALIBDIR}/swt.jar:${PORTSDIR}/x11-toolkits/swt31 \
${JAVALIBDIR}/gnu-regexp.jar:${PORTSDIR}/java/gnu-regexp \
${JAVALIBDIR}/trove.jar:${PORTSDIR}/java/trove4j \
${JAVALIBDIR}/jsch.jar:${PORTSDIR}/net/jsch
ONLY_FOR_ARCHS= i386
USE_JAVA= yes
JAVA_BUILD= jdk
JAVA_RUN= jre
JAVA_VERSION= 1.4+
JAVA_OS= native
USE_ANT= yes
USE_JIKES= no
USE_BZIP2= yes
NO_WRKSUBDIR= yes
JARFILE= ${PORTNAME}.jar
# build classpath from {BUILD,RUN}_DEPENDS
BUILD_CLASSPATH_JARS= ${BUILD_DEPENDS:C/:.+$//:M*.jar}
RUN_CLASSPATH_JARS= ${RUN_DEPENDS:C/:.+$//:M*.jar}
PLIST_FILES= \
bin/${PKGNAMEPREFIX}${PORTNAME} \
%%JAVAJARDIR%%/${JARFILE}
do-install:
# wrapper
@${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh \
${PREFIX}/bin/${PKGNAMEPREFIX}${PORTNAME}
# jar
@${MKDIR} ${JAVAJARDIR}
@${INSTALL_DATA} ${WRKSRC}/dist/${JARFILE} ${JAVAJARDIR}/${JARFILE}
.include <bsd.port.pre.mk>
#.if exists(${PORTSDIR}/java/eclipse)
#ECLIPSE_PORT= ${PORTSDIR}/java/eclipse
#ECLIPSE_VERSION!= cd ${ECLIPSE_PORT} && ${MAKE} -V PORTVERSION
#.else
ECLIPSE_VERSION= 3.1
#.endif
# build classpath
BUILD_CLASSPATH=.
.for jar in ${BUILD_CLASSPATH_JARS}
BUILD_CLASSPATH:=${BUILD_CLASSPATH}:${jar}
.endfor
# run classpath
RUN_CLASSPATH=${JAVAJARDIR}/${JARFILE}
.for jar in ${RUN_CLASSPATH_JARS}
RUN_CLASSPATH:=${RUN_CLASSPATH}:${jar}
.endfor
post-patch:
@${SED} -E \
-e 's|%%CLASSPATH%%|${BUILD_CLASSPATH}|' \
${FILESDIR}/build.xml > ${WRKSRC}/build.xml
@${SED} -E \
-e "s|%%PREFIX%%|${PREFIX}|" \
-e "s|%%JAVAVM%%|${LOCALBASE}/bin/java|" \
-e "s|%%JAVA_VERSION%%|${JAVA_VERSION}|" \
-e "s|%%JAVA_OS%%|${JAVA_OS}|" \
-e "s|%%JAVAJARDIR%%|${JAVAJARDIR:S,^${PREFIX}/,,}|" \
-e "s|%%CLASSPATH%%|${RUN_CLASSPATH}|" \
-e "s|%%JAVALIBPATH%%|${LOCALBASE}/lib|" \
${FILESDIR}/wrapper.sh > ${WRKDIR}/wrapper.sh
.include <bsd.port.post.mk>