aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-08-26 09:49:45 +0800
committeredwin <edwin@FreeBSD.org>2003-08-26 09:49:45 +0800
commitc1a28cce29175e8fc5ca20751290406800a7b914 (patch)
tree1a69ad2d668aa880a1037941f2c7ab0a62f85088
parent2fe8fc24d50178ba40ae3c94a4e103ad81d7f776 (diff)
downloadfreebsd-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/Makefile2
-rw-r--r--palm/sitescooper/files/patch-main.pm12
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