Index: head/www/bkmrkconv/Makefile =================================================================== --- head/www/bkmrkconv/Makefile (revision 412357) +++ head/www/bkmrkconv/Makefile (revision 412358) @@ -1,32 +1,37 @@ # Created by: Will Andrews # $FreeBSD$ PORTNAME= bkmrkconv PORTVERSION= 1.12 CATEGORIES= www MASTER_SITES= http://www.bleb.org/software/bkmrkconv/ MAINTAINER= ports@FreeBSD.org COMMENT= Netscape bookmarks.html converter +LICENSE= ART10 + USES= perl5 NO_BUILD= yes +NO_ARCH= yes OPTIONS_DEFINE= DOCS post-patch: @${FIND} ${WRKSRC} -name '*.pl' | ${XARGS} ${REINPLACE_CMD} -i '' -e \ 's|/usr/bin/perl|${PERL}|g ; \ s|%%PREFIX%%|${PREFIX}|g' do-install: ${INSTALL_SCRIPT} ${WRKSRC}/bkmrkconv.pl \ ${STAGEDIR}${PREFIX}/bin/bkmrkconv @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_SCRIPT} ${WRKSRC}/utils/* ${STAGEDIR}${DATADIR} @${MKDIR} ${STAGEDIR}${DATADIR}/src ${INSTALL_DATA} ${WRKSRC}/src.example/* ${STAGEDIR}${DATADIR}/src + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR} .include Index: head/www/bkmrkconv/files/patch-bkmrkconv.pl =================================================================== --- head/www/bkmrkconv/files/patch-bkmrkconv.pl (revision 412357) +++ head/www/bkmrkconv/files/patch-bkmrkconv.pl (nonexistent) @@ -1,16 +0,0 @@ ---- bkmrkconv.pl.orig Thu Sep 21 00:21:54 2000 -+++ bkmrkconv.pl Wed Mar 7 05:37:20 2001 -@@ -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 = '%%PREFIX%%/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; Property changes on: head/www/bkmrkconv/files/patch-bkmrkconv.pl ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/www/bkmrkconv/files/patch-bkmrkconv-1.12.pl =================================================================== --- head/www/bkmrkconv/files/patch-bkmrkconv-1.12.pl (nonexistent) +++ head/www/bkmrkconv/files/patch-bkmrkconv-1.12.pl (revision 412358) @@ -0,0 +1,16 @@ +--- bkmrkconv-1.12.pl.orig 2016-04-01 15:44:40 UTC ++++ bkmrkconv-1.12.pl +@@ -74,9 +74,10 @@ $outputDir =~ s!/$!!; + + 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 = '%%PREFIX%%/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; Property changes on: head/www/bkmrkconv/files/patch-bkmrkconv-1.12.pl ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property