Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Feb 2020 20:59:43 +0000 (UTC)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r526858 - in head/print/html2ps: . files
Message-ID:  <202002222059.01MKxh9c043138@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hrs
Date: Sat Feb 22 20:59:43 2020
New Revision: 526858
URL: https://svnweb.freebsd.org/changeset/ports/526858

Log:
  Unbreak build:
  
  - Update MASTER_SITES.
  - Fix styles.
  - Regenerate patches.
  - Remove the WWW: line from pkg-descr because it is no longer available.
  
  PR:	244238

Modified:
  head/print/html2ps/Makefile
  head/print/html2ps/files/patch-html2ps
  head/print/html2ps/files/patch-html2ps.1
  head/print/html2ps/pkg-descr

Modified: head/print/html2ps/Makefile
==============================================================================
--- head/print/html2ps/Makefile	Sat Feb 22 20:44:35 2020	(r526857)
+++ head/print/html2ps/Makefile	Sat Feb 22 20:59:43 2020	(r526858)
@@ -6,14 +6,11 @@ DISTVERSION=	1.0b7
 PORTREVISION=	5
 PORTEPOCH=	1
 CATEGORIES=	print www perl5
-MASTER_SITES=	http://user.it.uu.se/~jan/ \
-		http://fossies.org/unix/www/
+MASTER_SITES=	LOCAL/hrs
 
 MAINTAINER=	hrs@FreeBSD.org
 COMMENT=	HTML to PostScript converter
 
-BROKEN=		unfetchable
-
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
@@ -31,8 +28,8 @@ PLIST_FILES=	bin/html2ps \
 		etc/html2psrc \
 		man/man1/html2ps.1.gz \
 		man/man5/html2psrc.5.gz \
-		%%DATADIR%%/html2ps.html \
-		%%DATADIR%%/hyphen.tex
+		${DATADIR_REL}/html2ps.html \
+		${DATADIR_REL}/hyphen.tex
 
 post-patch:
 	@${REINPLACE_CMD} -e \

Modified: head/print/html2ps/files/patch-html2ps
==============================================================================
--- head/print/html2ps/files/patch-html2ps	Sat Feb 22 20:44:35 2020	(r526857)
+++ head/print/html2ps/files/patch-html2ps	Sat Feb 22 20:59:43 2020	(r526858)
@@ -1,6 +1,6 @@
---- html2ps.orig	2010-05-07 20:22:12.000000000 +0900
-+++ html2ps	2013-04-29 00:07:16.000000000 +0900
-@@ -26,8 +26,9 @@
+--- html2ps.orig	2010-05-07 11:22:12 UTC
++++ html2ps
+@@ -26,8 +26,9 @@ eval 'exec perl -S $0 "$@"'
  # Set the name of the global configuration file. See the installation notes
  # and manual page for more details on configuration files.
  
@@ -12,7 +12,7 @@
  
  $conf=<<'EOR';
  @html2ps {
-@@ -46,7 +47,7 @@
+@@ -46,7 +47,7 @@ $conf=<<'EOR';
      path: "";
    }
    paper {
@@ -21,7 +21,7 @@
      height: "";
      width: "";
    }
-@@ -613,6 +614,23 @@
+@@ -613,6 +614,23 @@ for (0..10) {
    $height{"b$_"}=int($temp*2**(1/2)*1000+.5)/10;
  }
  if(!$pagew || !$pageh) {
@@ -45,7 +45,7 @@
    if($width{"\L$paper{'type'}"}) {
      $paper{'width'}=$width{"\L$paper{'type'}"} if(!defined $paper{'width'});
      $paper{'height'}=$height{"\L$paper{'type'}"} if(!defined $paper{'height'});
-@@ -620,6 +638,7 @@
+@@ -620,6 +638,7 @@ if(!$pagew || !$pageh) {
    } elsif($paper{'type'}) {
      &dbg("Unknown paper type: $paper{'type'}\n");
    }
@@ -53,7 +53,7 @@
  }
  if($opt_L) {
    $wl=$pageh-$mll-$mrl;
-@@ -3405,7 +3424,6 @@
+@@ -3405,7 +3424,6 @@ sub Getopts {
    local($optlist)=@_;
    local(@args,$_,$opt,$opts,$rest,$olist,$plist,$found,@popts);
    local($errs)=0;

Modified: head/print/html2ps/files/patch-html2ps.1
==============================================================================
--- head/print/html2ps/files/patch-html2ps.1	Sat Feb 22 20:44:35 2020	(r526857)
+++ head/print/html2ps/files/patch-html2ps.1	Sat Feb 22 20:59:43 2020	(r526858)
@@ -1,6 +1,6 @@
---- html2ps.1.orig	2013-04-28 23:11:32.000000000 +0900
-+++ html2ps.1	2013-04-28 23:11:39.000000000 +0900
-@@ -357,7 +357,7 @@
+--- html2ps.1.orig	2010-05-07 11:22:12 UTC
++++ html2ps.1
+@@ -357,7 +357,7 @@ is: search the current directory first, and then the g
  $HOME/.html2psrc
  User configuration file, see html2psrc(5).
  .SH SEE ALSO

Modified: head/print/html2ps/pkg-descr
==============================================================================
--- head/print/html2ps/pkg-descr	Sat Feb 22 20:44:35 2020	(r526857)
+++ head/print/html2ps/pkg-descr	Sat Feb 22 20:59:43 2020	(r526858)
@@ -15,5 +15,3 @@
   Adobe Acrobat Distiller - the original hyperlinks in the HTML
   documents will be retained in the PDF document.
 - Automatic hyphenation and text justification can be selected.
-
-WWW: http://www.tdb.uu.se/~jan/html2ps.html



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202002222059.01MKxh9c043138>