diff options
author | edwin <edwin@FreeBSD.org> | 2003-08-26 09:49:45 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2003-08-26 09:49:45 +0800 |
commit | c1a28cce29175e8fc5ca20751290406800a7b914 (patch) | |
tree | 1a69ad2d668aa880a1037941f2c7ab0a62f85088 | |
parent | 2fe8fc24d50178ba40ae3c94a4e103ad81d7f776 (diff) | |
download | freebsd-ports-gnome-c1a28cce29175e8fc5ca20751290406800a7b914.tar.gz freebsd-ports-gnome-c1a28cce29175e8fc5ca20751290406800a7b914.tar.zst freebsd-ports-gnome-c1a28cce29175e8fc5ca20751290406800a7b914.zip |
sitescooper doesn't work with plucker
the commands `sitescooper -plucker` and `sitescooper
-mplucker` doesn't work as sitescooper uses deprecated
features of plucker.
PR: ports/55374
Submitted by: Anthony Ginepro <anthony.ginepro@laposte.net>
-rw-r--r-- | palm/sitescooper/Makefile | 2 | ||||
-rw-r--r-- | palm/sitescooper/files/patch-main.pm | 12 |
2 files changed, 14 insertions, 0 deletions
diff --git a/palm/sitescooper/Makefile b/palm/sitescooper/Makefile index 965d20248b99..8a0bafa039a8 100644 --- a/palm/sitescooper/Makefile +++ b/palm/sitescooper/Makefile @@ -7,6 +7,7 @@ PORTNAME= sitescooper PORTVERSION= 3.1.2 +PORTREVISION= 1 CATEGORIES= palm MASTER_SITES= http://sitescooper.org/released/ @@ -25,6 +26,7 @@ SITE_PERL= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER} MAN1= rss-to-site.1 sitescooper.1 subs-to-site.1 post-patch: + ${RM} ${WRKSRC}/lib/Sitescooper/Main.pm.orig ${PERL} -pi -e "s|^#!.+|#!${PERL}|; \ s|/usr/local/etc/sitescooper.cf|${PREFIX}/etc/sitescooper.cf|g; \ s|/usr/local/etc/sitescooper/sitescooper.cf|${PREFIX}/etc/sitescooper.cf.sample|g;" ${WRKSRC}/*.pl diff --git a/palm/sitescooper/files/patch-main.pm b/palm/sitescooper/files/patch-main.pm new file mode 100644 index 000000000000..7a31d69d4504 --- /dev/null +++ b/palm/sitescooper/files/patch-main.pm @@ -0,0 +1,12 @@ +--- lib/Sitescooper/Main.pm.orig Thu Aug 7 15:52:30 2003 ++++ lib/Sitescooper/Main.pm Thu Aug 7 15:52:50 2003 +@@ -2309,8 +2309,8 @@ + print OUT qq{ + + [scoop] +-db_name=$pdbtitle +-db_file=$sitename ++doc_name=$pdbtitle ++doc_file=$sitename + home_url=plucker:/$convfilename + home_maxdepth=9 |