freebsd-ports/net-p2p/mldonkey-serverspy/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

71 lines
2 KiB
Makefile

# New ports collection makefile for: MLDonkey Server Spy
# Date created: Fri Feb 21 14:47:25 UTC 2003
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= mldonkey
PORTVERSION= 1.2
PORTREVISION= 1
CATEGORIES= net-p2p perl5
MASTER_SITES= http://www.moviegalaxy.com.ar/mlservspy/
PKGNAMESUFFIX= -serverspy
DISTNAME= mlservspy-${PORTVERSION}
MAINTAINER= lioux@FreeBSD.org
COMMENT= MLDonkey Server Spy broadcasts your whereabouts on the eDonkey network
RUN_DEPENDS= \
${SITE_PERL}/${PERL_ARCH}/Image/Magick.pm:${PORTSDIR}/graphics/ImageMagick \
${SITE_PERL}/${PERL_ARCH}/auto/TimeDate:${PORTSDIR}/devel/p5-TimeDate \
${SITE_PERL}/AppConfig.pm:${PORTSDIR}/devel/p5-AppConfig \
${SITE_PERL}/Net/FTP.pm:${PORTSDIR}/net/p5-Net
USE_PERL5= yes
NO_BUILD= yes
BINARY_NAME= mlservspy.pl
CONFIG_NAME= mlservspy.ini
IMAGE_NAME= mlservspy.jpg
DATA_FILES= mlservspy.ini mlservspy.jpg
post-patch:
# point to correct perl path
@${PERL} -pi -e \
's|/usr/bin/perl|${PERL}|' \
${WRKSRC}/${BINARY_NAME}
# comment and change default path
# remove needless spaces in line ends
@${PERL} -pi -e \
's|^(path).*$$|#\1=~/.mldonkey-serverspy/|; \
s|[\s\t]+\n$$|\n|' \
${WRKSRC}/mlservspy.ini
post-configure:
@${SED} \
-e 's|%%PREFIX%%|${PREFIX}|' \
-e 's|%%CONFIG%%|${CONFIG_NAME}|' \
-e 's|%%IMAGE%%|${IMAGE_NAME}|' \
${FILESDIR}/wrapper.sh > ${WRKDIR}/wrapper.sh
do-install:
.ifndef(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX}
@${CHMOD} 0755 ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX}
@${INSTALL_DATA} ${WRKSRC}/README.txt \
${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX}
.endif
# install data files (images, sample configuration, etc)
@${MKDIR} ${PREFIX}/share/${PORTNAME}${PKGNAMESUFFIX}
.for file in ${DATA_FILES}
@${INSTALL_DATA} ${WRKSRC}/${file} \
${PREFIX}/share/${PORTNAME}${PKGNAMESUFFIX}
.endfor
# install script
@${INSTALL_SCRIPT} ${WRKSRC}/${BINARY_NAME} \
${PREFIX}/bin/${BINARY_NAME}-real
@${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh \
${PREFIX}/bin/${BINARY_NAME}
.include <bsd.port.mk>