1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

New port mldonkey-perlreactor version 0.2: Automatically add links

found in web pages to MLDonkey queue
This commit is contained in:
Mario Sergio Fujikawa Ferreira 2003-02-21 16:34:36 +00:00
parent d0db540239
commit ddcd28f136
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=76055
11 changed files with 133 additions and 0 deletions

View File

@ -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>

View File

@ -0,0 +1 @@
MD5 (perlreactor_0.2.tar.gz) = 1aed2e05c95436055eb2363fa192a143

View File

@ -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/

View File

@ -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.

View File

@ -0,0 +1,3 @@
bin/perlreactor
%%PORTDOCS%%share/doc/mldonkey-perlreactor/README
%%PORTDOCS%%@dirrm share/doc/mldonkey-perlreactor

View File

@ -288,6 +288,7 @@
SUBDIR += micq
SUBDIR += mldonkey
SUBDIR += mldonkey-gui
SUBDIR += mldonkey-perlreactor
SUBDIR += mldonkey-src
SUBDIR += mldonkey-urlslave
SUBDIR += mmucl

View File

@ -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>

View File

@ -0,0 +1 @@
MD5 (perlreactor_0.2.tar.gz) = 1aed2e05c95436055eb2363fa192a143

View File

@ -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/

View File

@ -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.

View File

@ -0,0 +1,3 @@
bin/perlreactor
%%PORTDOCS%%share/doc/mldonkey-perlreactor/README
%%PORTDOCS%%@dirrm share/doc/mldonkey-perlreactor