summaryrefslogtreecommitdiffstats
path: root/www/bkmrkconv
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2000-03-29 19:44:37 +0000
committerwill <will@FreeBSD.org>2000-03-29 19:44:37 +0000
commit8830ba20143385fbeda430cfc814367e5d9d5c62 (patch)
treebe05689fd33aa836d18e85b0616063fe85b699fe /www/bkmrkconv
parentbf3c817f45e69b9537ef6b499808aefb293beba4 (diff)
downloadFreeBSD-ports-8830ba20143385fbeda430cfc814367e5d9d5c62.zip
FreeBSD-ports-8830ba20143385fbeda430cfc814367e5d9d5c62.tar.gz
Re-import bkmrkconv in www category. CVSROOT/modules was handled in
previous commit.
Diffstat (limited to 'www/bkmrkconv')
-rw-r--r--www/bkmrkconv/Makefile31
-rw-r--r--www/bkmrkconv/distinfo1
-rw-r--r--www/bkmrkconv/files/patch-aa16
-rw-r--r--www/bkmrkconv/pkg-comment1
-rw-r--r--www/bkmrkconv/pkg-descr8
-rw-r--r--www/bkmrkconv/pkg-plist8
6 files changed, 65 insertions, 0 deletions
diff --git a/www/bkmrkconv/Makefile b/www/bkmrkconv/Makefile
new file mode 100644
index 0000000..593e620
--- /dev/null
+++ b/www/bkmrkconv/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: bkmrkconv
+# Version required: 1.08
+# Date created: 18 Dec 1999
+# Whom: Will Andrews <andrews@technologist.com>
+#
+# $FreeBSD$
+#
+
+DISTNAME= bkmrkconv
+PKGNAME= bkmrkconv-1.08
+CATEGORIES= converters www
+MASTER_SITES= http://www.dcs.warwick.ac.uk/~csube/bkmrkconv/
+
+MAINTAINER= will@FreeBSD.org
+
+USE_PERL5= yes
+NO_BUILD= yes
+WRKSRC= ${WRKDIR}/${PKGNAME}
+
+pre-install:
+ @${PERL} -pi -e "s:/usr/local/bin/perl:${PERL}:g" ${WRKSRC}/*.pl
+ @${PERL} -pi -e "s:/usr/local/share:${PREFIX}/share:g" ${WRKSRC}/bkmrkconv.pl
+
+do-install:
+ @${MKDIR} ${PREFIX}/share/bkmrkconv/src
+ @${INSTALL_DATA} ${WRKSRC}/README.txt ${PREFIX}/share/bkmrkconv/
+ @${INSTALL_DATA} ${WRKSRC}/src.example/* ${PREFIX}/share/bkmrkconv/src/
+ @${INSTALL_SCRIPT} ${WRKSRC}/random.pl ${PREFIX}/share/bkmrkconv/
+ @${INSTALL_SCRIPT} ${WRKSRC}/bkmrkconv.pl ${PREFIX}/bin/bkmrkconv
+
+.include <bsd.port.mk>
diff --git a/www/bkmrkconv/distinfo b/www/bkmrkconv/distinfo
new file mode 100644
index 0000000..62c75be
--- /dev/null
+++ b/www/bkmrkconv/distinfo
@@ -0,0 +1 @@
+MD5 (bkmrkconv.tar.gz) = 2e9a32ef9e1f027772342ea2f4c14e69
diff --git a/www/bkmrkconv/files/patch-aa b/www/bkmrkconv/files/patch-aa
new file mode 100644
index 0000000..66cde59
--- /dev/null
+++ b/www/bkmrkconv/files/patch-aa
@@ -0,0 +1,16 @@
+--- bkmrkconv.pl Thu Mar 23 09:22:20 2000
++++ bkmrkconv.pl.new Thu Mar 23 09:25:54 2000
+@@ -70,9 +70,10 @@
+
+ chomp(my $oldcwd = `pwd`);
+ chdir $outputDir;
+-my $rootpage = &readFile("src/rootpage.html");
+-my $linkspage = &readFile("src/linkspage.html");
+-my $contentspage = &readFile("src/contentspage.html") if ($doContents);
++my $shareDir = '/usr/local/share/bkmrkconv';
++my $rootpage = &readFile("$shareDir/src/rootpage.html");
++my $linkspage = &readFile("$shareDir/src/linkspage.html");
++my $contentspage = &readFile("$shareDir/src/contentspage.html") if ($doContents);
+ chdir $oldcwd;
+
+ my %root;
diff --git a/www/bkmrkconv/pkg-comment b/www/bkmrkconv/pkg-comment
new file mode 100644
index 0000000..3a617c3
--- /dev/null
+++ b/www/bkmrkconv/pkg-comment
@@ -0,0 +1 @@
+Netscape bookmarks.html converter
diff --git a/www/bkmrkconv/pkg-descr b/www/bkmrkconv/pkg-descr
new file mode 100644
index 0000000..c9de356
--- /dev/null
+++ b/www/bkmrkconv/pkg-descr
@@ -0,0 +1,8 @@
+bkmrkconv converts Netscape-generated bookmarks.html
+into a nice tree of files that you can navigate using
+your favorite browser.
+
+WWW: http://www.dcs.warwick.ac.uk/~csube/bkmrkconv/
+Author: Andrew Flegg <jaffa@eh.org>
+
+--Will <andrews@technologist.com>
diff --git a/www/bkmrkconv/pkg-plist b/www/bkmrkconv/pkg-plist
new file mode 100644
index 0000000..d342633
--- /dev/null
+++ b/www/bkmrkconv/pkg-plist
@@ -0,0 +1,8 @@
+bin/bkmrkconv
+share/bkmrkconv/random.pl
+share/bkmrkconv/README.txt
+share/bkmrkconv/src/contentspage.html
+share/bkmrkconv/src/linkspage.html
+share/bkmrkconv/src/rootpage.html
+@dirrm share/bkmrkconv/src
+@dirrm share/bkmrkconv/
OpenPOWER on IntegriCloud