diff options
author | lioux <lioux@FreeBSD.org> | 2003-02-21 16:34:36 +0000 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2003-02-21 16:34:36 +0000 |
commit | b0b706c3f8d8d597ff248b64a19909593f343da1 (patch) | |
tree | 3890e1d750c709e19f6c190ff9086622f3d60002 /net | |
parent | e761b9dd91d4f8e4f100b73455b31511742ed17a (diff) | |
download | FreeBSD-ports-b0b706c3f8d8d597ff248b64a19909593f343da1.zip FreeBSD-ports-b0b706c3f8d8d597ff248b64a19909593f343da1.tar.gz |
New port mldonkey-perlreactor version 0.2: Automatically add links
found in web pages to MLDonkey queue
Diffstat (limited to 'net')
-rw-r--r-- | net/Makefile | 1 | ||||
-rw-r--r-- | net/mldonkey-perlreactor/Makefile | 43 | ||||
-rw-r--r-- | net/mldonkey-perlreactor/distinfo | 1 | ||||
-rw-r--r-- | net/mldonkey-perlreactor/pkg-descr | 7 | ||||
-rw-r--r-- | net/mldonkey-perlreactor/pkg-message | 12 | ||||
-rw-r--r-- | net/mldonkey-perlreactor/pkg-plist | 3 |
6 files changed, 67 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile index 7150136..2895282 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 0000000..979d961 --- /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 0000000..470e24d --- /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 0000000..cc6756e --- /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 0000000..4b234f1 --- /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 0000000..d81cdb1 --- /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 |