aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/mldonkey-serverspy
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/mldonkey-serverspy')
-rw-r--r--net-p2p/mldonkey-serverspy/Makefile70
-rw-r--r--net-p2p/mldonkey-serverspy/distinfo2
-rw-r--r--net-p2p/mldonkey-serverspy/files/patch-mlservspy.pl11
-rw-r--r--net-p2p/mldonkey-serverspy/files/wrapper.sh40
-rw-r--r--net-p2p/mldonkey-serverspy/pkg-descr15
-rw-r--r--net-p2p/mldonkey-serverspy/pkg-plist7
6 files changed, 0 insertions, 145 deletions
diff --git a/net-p2p/mldonkey-serverspy/Makefile b/net-p2p/mldonkey-serverspy/Makefile
deleted file mode 100644
index bb6905a89395..000000000000
--- a/net-p2p/mldonkey-serverspy/Makefile
+++ /dev/null
@@ -1,70 +0,0 @@
-# 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
-CATEGORIES= net
-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>
diff --git a/net-p2p/mldonkey-serverspy/distinfo b/net-p2p/mldonkey-serverspy/distinfo
deleted file mode 100644
index b5de97e8427a..000000000000
--- a/net-p2p/mldonkey-serverspy/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 (mlservspy-1.2.tar.gz) = 73cbdc8a2760f4feb9c0013d009ae0bd
-SIZE (mlservspy-1.2.tar.gz) = 251704
diff --git a/net-p2p/mldonkey-serverspy/files/patch-mlservspy.pl b/net-p2p/mldonkey-serverspy/files/patch-mlservspy.pl
deleted file mode 100644
index b59f9ccb6c85..000000000000
--- a/net-p2p/mldonkey-serverspy/files/patch-mlservspy.pl
+++ /dev/null
@@ -1,11 +0,0 @@
---- mlservspy.pl.orig Mon Feb 24 16:16:22 2003
-+++ mlservspy.pl Mon Feb 24 16:16:35 2003
-@@ -36,7 +36,7 @@
- ARGCOUNT => ARGCOUNT_ONE,
- },
- 'path' => {
-- DEFAULT => "/lab/mlservspy/",
-+ DEFAULT => "$ENV{'HOME'}/.mldonkey-serverspy/",
- ARGCOUNT => ARGCOUNT_ONE,
- },
- 'image_file' => {
diff --git a/net-p2p/mldonkey-serverspy/files/wrapper.sh b/net-p2p/mldonkey-serverspy/files/wrapper.sh
deleted file mode 100644
index a47d229bf379..000000000000
--- a/net-p2p/mldonkey-serverspy/files/wrapper.sh
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/bin/sh
-
-PREFIX="%%PREFIX%%"
-CONFIG="%%CONFIG%%"
-IMAGE="%%IMAGE%%"
-PROGRAM="${0}"
-DIRNAME=${HOME}/.mldonkey-serverspy
-
-if [ ! -d ${DIRNAME} ]
-then
- mkdir -p ${DIRNAME}
-fi
-
-if [ ! -h ${DIRNAME}/${PROGRAM##*/} ]
-then
- ln -sf ${PREFIX}/bin/${PROGRAM##*/}-real ${DIRNAME}/${PROGRAM##*/}
-fi
-
-if [ ! -f ${DIRNAME}/${IMAGE} -o ! -h ${DIRNAME}/${IMAGE} ]
-then
- ln -sf ${PREFIX}/share/mldonkey-serverspy/${IMAGE} \
- ${DIRNAME}/${IMAGE}
-fi
-
-if [ ! -f ${DIRNAME}/${CONFIG} ]
-then
- rm -f ${DIRNAME}/${CONFIG}
- cp -f ${PREFIX}/share/mldonkey-serverspy/${CONFIG} \
- ${DIRNAME}/${CONFIG}
-
- echo Edit the configuration file ${DIRNAME}/${CONFIG} then run ${PROGRAM##*/} again.
-else
- echo " ${*} " | grep " \-createdironly " ||
- {
- cd ${DIRNAME} &&
- echo Running under ${DIRNAME} &&
- exec ./${PROGRAM##*/} "${@}" ||
- echo PROBLEM. Cannot create directory ${DIRNAME}, make sure you have the proper permissions to create it and try again
- }
-fi
diff --git a/net-p2p/mldonkey-serverspy/pkg-descr b/net-p2p/mldonkey-serverspy/pkg-descr
deleted file mode 100644
index 15a5e1921dd9..000000000000
--- a/net-p2p/mldonkey-serverspy/pkg-descr
+++ /dev/null
@@ -1,15 +0,0 @@
-[ excerpt from developer's www site]
-MLDonkey Server Spy is an application for MLDonkey that broadcasts
-your whereabouts on the edonkey network.
-
-It will detect the server that you are connected to, and place this
-information on an image. The image is then uploaded to a Web server
-using FTP. It can then be used on Web pages, message boards etc.
-
-In this way others will be able to see where you are located and
-will then be able to connect to the same edonkey server, making it
-easier to get the files that you are sharing. The application updates
-the image frequently so that the latest information is always shown.
-
-Author: Rodrigo A. Diaz Leven <bruj0 at moviegalaxy.com.ar>
-WWW: http://www.moviegalaxy.com.ar/mlservspy/
diff --git a/net-p2p/mldonkey-serverspy/pkg-plist b/net-p2p/mldonkey-serverspy/pkg-plist
deleted file mode 100644
index 0226601f6920..000000000000
--- a/net-p2p/mldonkey-serverspy/pkg-plist
+++ /dev/null
@@ -1,7 +0,0 @@
-bin/mlservspy.pl
-bin/mlservspy.pl-real
-%%PORTDOCS%%share/doc/mldonkey-serverspy/README.txt
-share/mldonkey-serverspy/mlservspy.ini
-share/mldonkey-serverspy/mlservspy.jpg
-@dirrm share/mldonkey-serverspy
-%%PORTDOCS%%@dirrm share/doc/mldonkey-serverspy