diff options
Diffstat (limited to 'palm')
-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 |