summaryrefslogtreecommitdiff
path: root/net-p2p
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2003-02-21 14:32:44 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2003-02-21 14:32:44 +0000
commit8bb8989d7def7549b424a8109703a7115232be89 (patch)
tree0dfdef49f36762204e64a1de5ae32f02b210e843 /net-p2p
parentDe-pkg-comment. (diff)
New port mldonkey-urlslave version 0.0.1: GTK+ enabled Perl script
for adding ed2k:// links to MLDonkey
Notes
Notes: svn path=/head/; revision=76046
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/mldonkey-urlslave/Makefile43
-rw-r--r--net-p2p/mldonkey-urlslave/distinfo1
-rw-r--r--net-p2p/mldonkey-urlslave/pkg-descr7
-rw-r--r--net-p2p/mldonkey-urlslave/pkg-message9
-rw-r--r--net-p2p/mldonkey-urlslave/pkg-plist3
5 files changed, 63 insertions, 0 deletions
diff --git a/net-p2p/mldonkey-urlslave/Makefile b/net-p2p/mldonkey-urlslave/Makefile
new file mode 100644
index 000000000000..77dd214af55d
--- /dev/null
+++ b/net-p2p/mldonkey-urlslave/Makefile
@@ -0,0 +1,43 @@
+# New ports collection makefile for: mldonkey link submitter
+# Date created: Fri Feb 21 14:11:00 UTC 2003
+# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= mldonkey
+PORTVERSION= 0.0.1
+CATEGORIES= net
+MASTER_SITES= http://ircnet.de/home/cru/ed2k_urlslave/dist/
+PKGNAMESUFFIX= -urlslave
+DISTNAME= mlurlslave-v${PORTVERSION:S/^0.0.//}
+
+MAINTAINER= lioux@FreeBSD.org
+COMMENT= GTK+ enabled Perl script for adding ed2k:// links to MLDonkey
+
+BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Gtk.pm:${PORTSDIR}/x11-toolkits/p5-Gtk
+RUN_DEPENDS= ed2k_gui:${PORTSDIR}/net/edonkey-gui-gtk
+
+USE_PERL5= yes
+NO_BUILD= yes
+
+BINARY_NAME= mlurlslave
+
+post-extract:
+ @${GREP} '^#' ${WRKSRC}/${BINARY_NAME} | ${GREP} -v '/usr/bin/perl' > ${WRKDIR}/README
+
+post-patch:
+ @${PERL} -pi -e 's|/usr/bin/perl|${PERL}|' ${WRKSRC}/${BINARY_NAME}
+
+do-install:
+.ifndef(NOPORTDOCS)
+ @${MKDIR} ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX}
+ @${CHMOD} 0755 ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX}
+ @${INSTALL_DATA} ${WRKDIR}/README ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX}
+.endif
+ @${INSTALL_SCRIPT} ${WRKSRC}/${BINARY_NAME} ${PREFIX}/bin
+
+post-install:
+ @${SED} -e 's|/usr/local/|${PREFIX}/|' ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/net-p2p/mldonkey-urlslave/distinfo b/net-p2p/mldonkey-urlslave/distinfo
new file mode 100644
index 000000000000..f3e36aa28a59
--- /dev/null
+++ b/net-p2p/mldonkey-urlslave/distinfo
@@ -0,0 +1 @@
+MD5 (mlurlslave-v1.tar.gz) = 324c8683c3ababcd1b4a737a611282c5
diff --git a/net-p2p/mldonkey-urlslave/pkg-descr b/net-p2p/mldonkey-urlslave/pkg-descr
new file mode 100644
index 000000000000..64f3dbc63ef4
--- /dev/null
+++ b/net-p2p/mldonkey-urlslave/pkg-descr
@@ -0,0 +1,7 @@
+ed2k://urlslave for mldonkey eases the process of adding files to
+the mldonkey download queue using ed2k:// links. It was designed
+for better ed2k:// URL handling within GNOME (especially Galeon),
+but can be used for other purposes.
+
+Author: Veit Wahlich <cru@ircnet.de>
+WWW: http://ircnet.de/home/cru/ed2k_urlslave/
diff --git a/net-p2p/mldonkey-urlslave/pkg-message b/net-p2p/mldonkey-urlslave/pkg-message
new file mode 100644
index 000000000000..a0c78fac2953
--- /dev/null
+++ b/net-p2p/mldonkey-urlslave/pkg-message
@@ -0,0 +1,9 @@
+ ATTENTIONATTENTION:
+
+Please make sure that you read
+/usr/local/share/doc/mldonkey-urlslave/README. It contains important
+information about configuring and finally enabling mldonkey-urlslave
+within the GNOME Desktop.
+
+This port/package merely installed the program, you now need to
+configure it and enable it.
diff --git a/net-p2p/mldonkey-urlslave/pkg-plist b/net-p2p/mldonkey-urlslave/pkg-plist
new file mode 100644
index 000000000000..cc31a9ba302b
--- /dev/null
+++ b/net-p2p/mldonkey-urlslave/pkg-plist
@@ -0,0 +1,3 @@
+bin/mlurlslave
+%%PORTDOCS%%share/doc/mldonkey-urlslave/README
+%%PORTDOCS%%@dirrm share/doc/mldonkey-urlslave