diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2003-02-21 16:34:36 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2003-02-21 16:34:36 +0000 |
commit | ddcd28f136d3d48adaaf216e2248bf044ea1dd19 (patch) | |
tree | 6928ccc8ff2d01cd928ff637d712e76fd0f13039 /net/mldonkey-perlreactor | |
parent | constify to fix build with OpenSSL 0.9.7 (diff) |
New port mldonkey-perlreactor version 0.2: Automatically add links
found in web pages to MLDonkey queue
Diffstat (limited to 'net/mldonkey-perlreactor')
-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 |
5 files changed, 66 insertions, 0 deletions
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 |