diff options
author | Will Andrews <will@FreeBSD.org> | 2000-03-29 19:44:37 +0000 |
---|---|---|
committer | Will Andrews <will@FreeBSD.org> | 2000-03-29 19:44:37 +0000 |
commit | 7d6f9b03761cc20b27093f85df3af5b4b9850977 (patch) | |
tree | 64611ff3bbd7e09b6eb63ba73685a7dc2108eb59 /www/bkmrkconv | |
parent | Remove bkmrkconv from converters. (diff) |
Re-import bkmrkconv in www category. CVSROOT/modules was handled in
previous commit.
Notes
Notes:
svn path=/head/; revision=27122
Diffstat (limited to 'www/bkmrkconv')
-rw-r--r-- | www/bkmrkconv/Makefile | 31 | ||||
-rw-r--r-- | www/bkmrkconv/distinfo | 1 | ||||
-rw-r--r-- | www/bkmrkconv/files/patch-aa | 16 | ||||
-rw-r--r-- | www/bkmrkconv/pkg-comment | 1 | ||||
-rw-r--r-- | www/bkmrkconv/pkg-descr | 8 | ||||
-rw-r--r-- | www/bkmrkconv/pkg-plist | 8 |
6 files changed, 65 insertions, 0 deletions
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/ |