aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2003-02-22 00:34:36 +0800
committerlioux <lioux@FreeBSD.org>2003-02-22 00:34:36 +0800
commitb0b706c3f8d8d597ff248b64a19909593f343da1 (patch)
tree3890e1d750c709e19f6c190ff9086622f3d60002
parente761b9dd91d4f8e4f100b73455b31511742ed17a (diff)
downloadfreebsd-ports-gnome-b0b706c3f8d8d597ff248b64a19909593f343da1.tar.gz
freebsd-ports-gnome-b0b706c3f8d8d597ff248b64a19909593f343da1.tar.zst
freebsd-ports-gnome-b0b706c3f8d8d597ff248b64a19909593f343da1.zip
New port mldonkey-perlreactor version 0.2: Automatically add links
found in web pages to MLDonkey queue
-rw-r--r--net-p2p/mldonkey-perlreactor/Makefile43
-rw-r--r--net-p2p/mldonkey-perlreactor/distinfo1
-rw-r--r--net-p2p/mldonkey-perlreactor/pkg-descr7
-rw-r--r--net-p2p/mldonkey-perlreactor/pkg-message12
-rw-r--r--net-p2p/mldonkey-perlreactor/pkg-plist3
-rw-r--r--net/Makefile1
-rw-r--r--net/mldonkey-perlreactor/Makefile43
-rw-r--r--net/mldonkey-perlreactor/distinfo1
-rw-r--r--net/mldonkey-perlreactor/pkg-descr7
-rw-r--r--net/mldonkey-perlreactor/pkg-message12
-rw-r--r--net/mldonkey-perlreactor/pkg-plist3
11 files changed, 133 insertions, 0 deletions
diff --git a/net-p2p/mldonkey-perlreactor/Makefile b/net-p2p/mldonkey-perlreactor/Makefile
new file mode 100644
index 000000000000..979d961acf26
--- /dev/null
+++ b/net-p2p/mldonkey-perlreactor/Makefile
@@ -0,0 +1,43 @@
+# New ports collection makefile for: mldonkey perlreactor
+# Date created: Sat Feb 23 13:13:08 BRT 2002
+# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= mldonkey
+PORTVERSION= 0.2
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= remotefilesync
+PKGNAMESUFFIX= -perlreactor
+DISTNAME= perlreactor_${PORTVERSION}
+
+MAINTAINER= lioux@FreeBSD.org
+COMMENT= Automatically add links found in web pages to MLDonkey queue
+
+BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/LWP.pm:${PORTSDIR}/www/p5-libwww
+
+USE_PERL5= yes
+NO_BUILD= yes
+NO_WRKSUBDIR= yes
+
+BINARY_NAME= perlreactor
+
+post-patch:
+ @${PERL} -pi -e 's|#!/usr/bin/perl\n||; \
+ s|/usr/local/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-perlreactor/distinfo b/net-p2p/mldonkey-perlreactor/distinfo
new file mode 100644
index 000000000000..470e24d705f2
--- /dev/null
+++ b/net-p2p/mldonkey-perlreactor/distinfo
@@ -0,0 +1 @@
+MD5 (perlreactor_0.2.tar.gz) = 1aed2e05c95436055eb2363fa192a143
diff --git a/net-p2p/mldonkey-perlreactor/pkg-descr b/net-p2p/mldonkey-perlreactor/pkg-descr
new file mode 100644
index 000000000000..cc6756ec55d5
--- /dev/null
+++ b/net-p2p/mldonkey-perlreactor/pkg-descr
@@ -0,0 +1,7 @@
+[ excerpt from developer's www site]
+PerlReactor is a Perl script that scans donkeypages like sharereactor
+for new releases and puts them in your mldonkey queue. It was written
+to stay up-to-date with episodes of TV series without looking at
+sharereactor everyday.
+
+WWW: http://remotefilesync.sourceforge.net/perlreactor/
diff --git a/net-p2p/mldonkey-perlreactor/pkg-message b/net-p2p/mldonkey-perlreactor/pkg-message
new file mode 100644
index 000000000000..4b234f162fa0
--- /dev/null
+++ b/net-p2p/mldonkey-perlreactor/pkg-message
@@ -0,0 +1,12 @@
+ ATTENTIONATTENTION:
+
+Please make sure that you read
+/usr/local/share/doc/mldonkey-perlreactor/README. It contains
+important information about configuring perlreactor.
+
+This port/package merely installed the program, you now need to
+both configure and enable it.
+
+If your mldonkey runs on a different machine than the script or if
+you have set a http-password, you have to edit the top of the script
+to make it work.
diff --git a/net-p2p/mldonkey-perlreactor/pkg-plist b/net-p2p/mldonkey-perlreactor/pkg-plist
new file mode 100644
index 000000000000..d81cdb1b2021
--- /dev/null
+++ b/net-p2p/mldonkey-perlreactor/pkg-plist
@@ -0,0 +1,3 @@
+bin/perlreactor
+%%PORTDOCS%%share/doc/mldonkey-perlreactor/README
+%%PORTDOCS%%@dirrm share/doc/mldonkey-perlreactor
diff --git a/net/Makefile b/net/Makefile
index 715013645fec..289528273a8d 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -288,6 +288,7 @@
SUBDIR += micq
SUBDIR += mldonkey
SUBDIR += mldonkey-gui
+ SUBDIR += mldonkey-perlreactor
SUBDIR += mldonkey-src
SUBDIR += mldonkey-urlslave
SUBDIR += mmucl
diff --git a/net/mldonkey-perlreactor/Makefile b/net/mldonkey-perlreactor/Makefile
new file mode 100644
index 000000000000..979d961acf26
--- /dev/null
+++ b/net/mldonkey-perlreactor/Makefile
@@ -0,0 +1,43 @@
+# New ports collection makefile for: mldonkey perlreactor
+# Date created: Sat Feb 23 13:13:08 BRT 2002
+# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= mldonkey
+PORTVERSION= 0.2
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= remotefilesync
+PKGNAMESUFFIX= -perlreactor
+DISTNAME= perlreactor_${PORTVERSION}
+
+MAINTAINER= lioux@FreeBSD.org
+COMMENT= Automatically add links found in web pages to MLDonkey queue
+
+BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/LWP.pm:${PORTSDIR}/www/p5-libwww
+
+USE_PERL5= yes
+NO_BUILD= yes
+NO_WRKSUBDIR= yes
+
+BINARY_NAME= perlreactor
+
+post-patch:
+ @${PERL} -pi -e 's|#!/usr/bin/perl\n||; \
+ s|/usr/local/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-perlreactor/distinfo b/net/mldonkey-perlreactor/distinfo
new file mode 100644
index 000000000000..470e24d705f2
--- /dev/null
+++ b/net/mldonkey-perlreactor/distinfo
@@ -0,0 +1 @@
+MD5 (perlreactor_0.2.tar.gz) = 1aed2e05c95436055eb2363fa192a143
diff --git a/net/mldonkey-perlreactor/pkg-descr b/net/mldonkey-perlreactor/pkg-descr
new file mode 100644
index 000000000000..cc6756ec55d5
--- /dev/null
+++ b/net/mldonkey-perlreactor/pkg-descr
@@ -0,0 +1,7 @@
+[ excerpt from developer's www site]
+PerlReactor is a Perl script that scans donkeypages like sharereactor
+for new releases and puts them in your mldonkey queue. It was written
+to stay up-to-date with episodes of TV series without looking at
+sharereactor everyday.
+
+WWW: http://remotefilesync.sourceforge.net/perlreactor/
diff --git a/net/mldonkey-perlreactor/pkg-message b/net/mldonkey-perlreactor/pkg-message
new file mode 100644
index 000000000000..4b234f162fa0
--- /dev/null
+++ b/net/mldonkey-perlreactor/pkg-message
@@ -0,0 +1,12 @@
+ ATTENTIONATTENTION:
+
+Please make sure that you read
+/usr/local/share/doc/mldonkey-perlreactor/README. It contains
+important information about configuring perlreactor.
+
+This port/package merely installed the program, you now need to
+both configure and enable it.
+
+If your mldonkey runs on a different machine than the script or if
+you have set a http-password, you have to edit the top of the script
+to make it work.
diff --git a/net/mldonkey-perlreactor/pkg-plist b/net/mldonkey-perlreactor/pkg-plist
new file mode 100644
index 000000000000..d81cdb1b2021
--- /dev/null
+++ b/net/mldonkey-perlreactor/pkg-plist
@@ -0,0 +1,3 @@
+bin/perlreactor
+%%PORTDOCS%%share/doc/mldonkey-perlreactor/README
+%%PORTDOCS%%@dirrm share/doc/mldonkey-perlreactor