bk2site - convert Netscape bookmarks into Yahoo-style site

This commit is contained in:
dugsong 2000-06-30 03:40:49 +00:00
parent 2ad09cf952
commit 0bce0f4f39
6 changed files with 62 additions and 0 deletions

21
www/bk2site/Makefile Normal file
View File

@ -0,0 +1,21 @@
# $OpenBSD: Makefile,v 1.1.1.1 2000/06/30 03:40:49 dugsong Exp $
DISTNAME= bk2site-1.1.5
CATEGORIES= www
MASTER_SITES= http://download.sourceforge.net/bk2site/
MAINTAINER= dugsong@monkey.org
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
CONFIGURE_STYLE= gnu destdir
post-install:
${INSTALL_MAN} ${WRKBUILD}/bk2site.1 ${PREFIX}/man/man1/
${INSTALL_DATA} ${WRKBUILD}/indexbase.html ${WRKBUILD}/otherbase.html \
${PREFIX}/share/bk2site/
.include <bsd.port.mk>

3
www/bk2site/files/md5 Normal file
View File

@ -0,0 +1,3 @@
MD5 (bk2site-1.1.5.tar.gz) = fbccd90bd421ffca11f481dfcef42527
RMD160 (bk2site-1.1.5.tar.gz) = 6652b6b8d8e6f5f6beb3128027a9e58b6146006f
SHA1 (bk2site-1.1.5.tar.gz) = 37c8bd21bee5820ff7960f3e38ea33d650081fec

View File

@ -0,0 +1,25 @@
--- reference.C~ Thu Jun 1 14:14:01 2000
+++ reference.C Mon Jun 26 01:04:21 2000
@@ -762,19 +762,19 @@
else
replaceAll(outputString, "%NEW", "");
else if (FORMATVARS[i] == "%TIMEFCRE"){
- long int l = creationTime;
+ time_t l = creationTime;
string c (ctime(&l));
c = c.substr(0,c.size()-1);
replaceAll(outputString, "%TIMEFCRE", c);
}
else if (FORMATVARS[i] == "%TIMEFMOD"){
- long int l = modifiedTime;
+ time_t l = modifiedTime;
string c(ctime(&l));
c = c.substr(0,c.size()-1);
replaceAll(outputString, "%TIMEFMOD", c);
}
else if (FORMATVARS[i] == "%TIMEFVIS"){
- long int l = visitTime;
+ time_t l = visitTime;
string c(ctime(&l));
c = c.substr(0,c.size()-1);
replaceAll(outputString, "%TIMEFVIS", c);

1
www/bk2site/pkg/COMMENT Normal file
View File

@ -0,0 +1 @@
convert Netscape bookmarks into a Yahoo-like website

6
www/bk2site/pkg/DESCR Normal file
View File

@ -0,0 +1,6 @@
http://bk2site.sourceforge.net/
bk2site will transform your Netscape bookmarks file into a yahoo-like
website with slashdot-like news. You can see an example website
created with it at www.MultiAgent.com.

6
www/bk2site/pkg/PLIST Normal file
View File

@ -0,0 +1,6 @@
bin/bk2site
man/man1/bk2site.1
share/bk2site/dot.bk2siterc
share/bk2site/indexbase.html
share/bk2site/otherbase.html
@dirrm share/bk2site