ports/73467: Update port: print/font2svg to 0.1.5

KATO Tsuguru tkato432 at yahoo.com
Wed Nov 3 16:10:24 UTC 2004


>Number:         73467
>Category:       ports
>Synopsis:       Update port: print/font2svg to 0.1.5
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 03 16:10:23 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.10-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
- Update to version 0.1.5

Remove file:
files/patch-font2svg
pkg-plist

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/print/font2svg/Makefile print/font2svg/Makefile
--- /usr/ports/print/font2svg/Makefile	Wed Jan 21 11:46:32 2004
+++ print/font2svg/Makefile	Mon Nov  1 02:21:13 2004
@@ -7,8 +7,7 @@
 #
 
 PORTNAME=	font2svg
-PORTVERSION=	0.1.4
-PORTREVISION=	1
+PORTVERSION=	0.1.5
 CATEGORIES=	print
 MASTER_SITES=	http://www.gdv.uni-hannover.de/~peinecke/font2svg/
 
@@ -17,11 +16,14 @@
 
 USE_GHOSTSCRIPT_RUN=	yes
 
-RUN_DEPENDS=	bash:${PORTSDIR}/shells/bash2
+RUN_DEPENDS=	bash:${PORTSDIR}/shells/bash
 
 USE_REINPLACE=	yes
 NO_BUILD=	yes
 
+PLIST_FILES=	bin/font2svg %%DATADIR%%/encodings %%DATADIR%%/font2svg.ps
+PLIST_DIRS=	%%DATADIR%%
+
 pre-everything::
 .if !defined(WITH_GHOSTSCRIPT_AFPL) || ${WITH_GHOSTSCRIPT_AFPL} != yes
 	@${ECHO_MSG} ""
@@ -31,9 +33,9 @@
 .endif
 
 post-patch:
-	@${REINPLACE_CMD} -e "s|/bin/bash|${LOCALBASE}/bin/bash|" \
-		-e "s|/home/peinecke/cprog/font2svg|${DATADIR}|" \
-		${WRKSRC}/font2svg
+	@${REINPLACE_CMD} -e "s|^#!/bin/bash|#!${LOCALBASE}/bin/bash| ; \
+		 s|^font2svg_home=.*$$|font2svg_home=${DATADIR}| ; \
+		 s|^non_gnu_getopt=.*$$|non_gnu_getopt=1|" ${WRKSRC}/font2svg
 
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/font2svg ${PREFIX}/bin
diff -urN /usr/ports/print/font2svg/distinfo print/font2svg/distinfo
--- /usr/ports/print/font2svg/distinfo	Fri Jan 30 14:53:38 2004
+++ print/font2svg/distinfo	Mon Nov  1 02:12:31 2004
@@ -1,2 +1,2 @@
-MD5 (font2svg-0.1.4.tar.gz) = 1ce1fc21f9681ae3d2b953266c3066f0
-SIZE (font2svg-0.1.4.tar.gz) = 11677
+MD5 (font2svg-0.1.5.tar.gz) = acb9bdc005af3c1a47e561ca4a7b197f
+SIZE (font2svg-0.1.5.tar.gz) = 12209
diff -urN /usr/ports/print/font2svg/files/patch-font2svg print/font2svg/files/patch-font2svg
--- /usr/ports/print/font2svg/files/patch-font2svg	Sat Apr 12 23:14:27 2003
+++ print/font2svg/files/patch-font2svg	Thu Jan  1 09:00:00 1970
@@ -1,13 +0,0 @@
---- font2svg.orig	Sun Mar 30 23:49:25 2003
-+++ font2svg	Sun Mar 30 23:49:34 2003
-@@ -58,8 +58,8 @@
- 
- # parse options
- # *BSD and AIX users replace this by
--# TEMP=`getopt hke:s:d:x: $*`
--TEMP=`getopt -q --long "--kpsewhich,--encoding:1,--dvipsencoding:1,--execute:1,--help,--symbols:1" "hke:s:d:x:" "$@"`
-+TEMP=`getopt hke:s:d:x: $*`
-+#TEMP=`getopt -q --long "--kpsewhich,--encoding:1,--dvipsencoding:1,--execute:1,--help,--symbols:1" "hke:s:d:x:" "$@"`
- echo "$TEMP"
- eval set -- "$TEMP"
- while [ ! $1 = "--" ] ; do
diff -urN /usr/ports/print/font2svg/pkg-plist print/font2svg/pkg-plist
--- /usr/ports/print/font2svg/pkg-plist	Fri Jan 17 18:58:52 2003
+++ print/font2svg/pkg-plist	Thu Jan  1 09:00:00 1970
@@ -1,4 +0,0 @@
-bin/font2svg
-%%DATADIR%%/encodings
-%%DATADIR%%/font2svg.ps
- at dirrm %%DATADIR%%
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list