aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2003-02-21 22:32:44 +0800
committerlioux <lioux@FreeBSD.org>2003-02-21 22:32:44 +0800
commit164ed94e6f45b9f14f64ecbd82bcabe418ea7d2a (patch)
tree6dcfa1a78e134d3a7e70dd482fae24ac4dcf35d0 /net
parent8f4ae566c9913131b17559d8dc06b26363362258 (diff)
downloadfreebsd-ports-gnome-164ed94e6f45b9f14f64ecbd82bcabe418ea7d2a.tar.gz
freebsd-ports-gnome-164ed94e6f45b9f14f64ecbd82bcabe418ea7d2a.tar.zst
freebsd-ports-gnome-164ed94e6f45b9f14f64ecbd82bcabe418ea7d2a.zip
New port mldonkey-urlslave version 0.0.1: GTK+ enabled Perl script
for adding ed2k:// links to MLDonkey
Diffstat (limited to 'net')
-rw-r--r--net/Makefile1
-rw-r--r--net/mldonkey-urlslave/Makefile43
-rw-r--r--net/mldonkey-urlslave/distinfo1
-rw-r--r--net/mldonkey-urlslave/pkg-descr7
-rw-r--r--net/mldonkey-urlslave/pkg-message9
-rw-r--r--net/mldonkey-urlslave/pkg-plist3
6 files changed, 64 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 78e862f6c4dc..715013645fec 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -289,6 +289,7 @@
SUBDIR += mldonkey
SUBDIR += mldonkey-gui
SUBDIR += mldonkey-src
+ SUBDIR += mldonkey-urlslave
SUBDIR += mmucl
SUBDIR += mopd
SUBDIR += mpd
diff --git a/net/mldonkey-urlslave/Makefile b/net/mldonkey-urlslave/Makefile
new file mode 100644
index 000000000000..77dd214af55d
--- /dev/null
+++ b/net/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/mldonkey-urlslave/distinfo b/net/mldonkey-urlslave/distinfo
new file mode 100644
index 000000000000..f3e36aa28a59
--- /dev/null
+++ b/net/mldonkey-urlslave/distinfo
@@ -0,0 +1 @@
+MD5 (mlurlslave-v1.tar.gz) = 324c8683c3ababcd1b4a737a611282c5
diff --git a/net/mldonkey-urlslave/pkg-descr b/net/mldonkey-urlslave/pkg-descr
new file mode 100644
index 000000000000..64f3dbc63ef4
--- /dev/null
+++ b/net/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/mldonkey-urlslave/pkg-message b/net/mldonkey-urlslave/pkg-message
new file mode 100644
index 000000000000..a0c78fac2953
--- /dev/null
+++ b/net/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/mldonkey-urlslave/pkg-plist b/net/mldonkey-urlslave/pkg-plist
new file mode 100644
index 000000000000..cc31a9ba302b
--- /dev/null
+++ b/net/mldonkey-urlslave/pkg-plist
@@ -0,0 +1,3 @@
+bin/mlurlslave
+%%PORTDOCS%%share/doc/mldonkey-urlslave/README
+%%PORTDOCS%%@dirrm share/doc/mldonkey-urlslave