aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--www/Makefile1
-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
7 files changed, 66 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index edff941b4f45..b866aff9b261 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -19,6 +19,7 @@
SUBDIR += ashe # requires Motif
SUBDIR += aswedit
SUBDIR += bacon
+ SUBDIR += bkmrkconv
SUBDIR += bluefish
SUBDIR += boa
SUBDIR += cadaver
diff --git a/www/bkmrkconv/Makefile b/www/bkmrkconv/Makefile
new file mode 100644
index 000000000000..593e620d48b1
--- /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 000000000000..62c75bea4ea5
--- /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 000000000000..66cde5978b48
--- /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 000000000000..3a617c3fdfe5
--- /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 000000000000..c9de356cd340
--- /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 000000000000..d342633aa6c4
--- /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/