Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Aug 2001 20:18:16 +0900 (JST)
From:      KANOU Hiroki <kanou@mil.allnet.ne.jp>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/29986: Maintainer update: print/pfaedit
Message-ID:  <200108231118.UAA53827@kappa.allnet.ne.jp>

next in thread | raw e-mail | index | archive | help

>Number:         29986
>Category:       ports
>Synopsis:       Maintainer update: print/pfaedit
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 23 04:20:04 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     KANOU Hiroki
>Release:        FreeBSD 4.4-PRERELEASE #0
>Organization:
>Environment:

>Description:

graphics/pfaedit port was updated by maintainer.
	Changes:
	- Updated to the newest version at Aug 8 2001.
	- MASTER_SITES was changed.
	- Two patches are added.

>How-To-Repeat:


>Fix:
	
--- Makefile.orig	Sun May 20 02:09:56 2001
+++ Makefile	Thu Aug 23 19:44:33 2001
@@ -6,19 +6,18 @@
 #
 
 PORTNAME=	pfaedit
-PORTVERSION=	20010410
+PORTVERSION=	20010808
 CATEGORIES=	print
-MASTER_SITES=   http://bibliofile.mc.duke.edu/gww/Freeware/PfaEdit/ \
-		${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR=	${PORTNAME}
+MASTER_SITES=   http://pfaedit.sourceforge.net/
 DISTFILES=	${PORTNAME}_src-${DIST_VER}.tgz \
-		libgunicode-${LIBGUNI_VER}.tgz libgdraw-${LIBGDRAW_VER}.tgz
+		libgunicode-${LIBGUNI_VER}.tgz libgdraw-${LIBGDRAW_VER}.tgz \
+		cidmaps.tgz
 
 MAINTAINER=	kanou@mil.allnet.ne.jp
 
-DIST_VER=	230401
-LIBGDRAW_VER=	220401
-LIBGUNI_VER=	220401
+DIST_VER=	010808
+LIBGDRAW_VER=	010808
+LIBGUNI_VER=	010808
 
 LIB_DEPENDS=	tiff.4:${PORTSDIR}/graphics/tiff \
 		jpeg.9:${PORTSDIR}/graphics/jpeg \
@@ -36,6 +35,8 @@
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/pfaedit/pfaedit ${PREFIX}/bin
+	${MKDIR} ${PREFIX}/share/pfaedit
+	${INSTALL_DATA} ${WRKDIR}/*.cidmap ${PREFIX}/share/pfaedit
 	${INSTALL_MAN} ${WRKSRC}/pfaedit/pfaedit.1 ${PREFIX}/man/man1
 
 .include <bsd.port.mk>
--- distinfo.orig	Sun May 20 02:09:56 2001
+++ distinfo	Thu Aug 23 18:47:22 2001
@@ -1,3 +1,4 @@
-MD5 (pfaedit_src-230401.tgz) = 274232db99779d96dbcd673172b3bc46
-MD5 (libgunicode-220401.tgz) = e4da6d0c4380df8d2cfdec87689525e1
-MD5 (libgdraw-220401.tgz) = 81464356be0dd91866601219e5492e34
+MD5 (pfaedit_src-010808.tgz) = 5d6d99029a038e4930279cc882abfc2b
+MD5 (cidmaps.tgz) = b2f5fd18ea3c8205e6923832505bf73b
+MD5 (libgunicode-010808.tgz) = 4d45e6d0e772b12f5664a4064f9fbdf5
+MD5 (libgdraw-010808.tgz) = 6b5db477d345fdf72165d6248ab4534c
--- /dev/null	Thu Aug 23 19:31:46 2001
+++ files/patch-aa	Thu Aug 23 19:25:08 2001
@@ -0,0 +1,20 @@
+--- pfaedit/encoding.c.orig	Sat Aug  4 06:27:24 2001
++++ pfaedit/encoding.c	Thu Aug 23 19:21:17 2001
+@@ -683,7 +683,7 @@
+     if ( file==NULL )
+ 	file = SearchDirForCidMap(GResourceProgramDir,registry,ordering,supplement,&maybefile);
+     if ( file==NULL )
+-	file = SearchDirForCidMap("/usr/share/pfaedit",registry,ordering,supplement,&maybefile);
++	file = SearchDirForCidMap("/usr/local/share/pfaedit",registry,ordering,supplement,&maybefile);
+ 
+     if ( file==NULL && (maybe!=NULL || maybefile!=NULL)) {
+ 	if ( maybefile!=NULL ) {
+@@ -864,7 +864,7 @@
+     }
+     FindMapsInDir(&block,".");
+     FindMapsInDir(&block,GResourceProgramDir);
+-    FindMapsInDir(&block,"/usr/share/pfaedit");
++    FindMapsInDir(&block,"/usr/local/share/pfaedit");
+ 
+     choices = gcalloc(block.cur+2,sizeof(unichar_t *));
+     choices[0] = u_copy(GStringGetResource(_STR_Browse,NULL));
--- /dev/null	Thu Aug 23 19:31:46 2001
+++ files/patch-ab	Thu Aug 23 19:25:42 2001
@@ -0,0 +1,11 @@
+--- pfaedit/prefs.c.orig	Thu Aug  9 08:55:45 2001
++++ pfaedit/prefs.c	Thu Aug 23 19:22:49 2001
+@@ -134,7 +134,7 @@
+ 	GFileBuildName(GResourceProgramDir,buffer,full,sizeof(full));
+     }
+     if ( !GFileExists(full)) {
+-	GFileBuildName("/usr/share/pfaedit",buffer,full,sizeof(full));
++	GFileBuildName("/usr/local/share/pfaedit",buffer,full,sizeof(full));
+ 	if ( !GFileExists(full) && strlen(loc)>5 ) {
+ 	    strcpy(buffer+13,".ui");
+ 	    GFileBuildName(GResourceProgramDir,buffer,full,sizeof(full));
--- pkg-plist.orig	Sun May 20 02:09:56 2001
+++ pkg-plist	Thu Aug 23 19:02:45 2001
@@ -1 +1,8 @@
 bin/pfaedit
+share/pfaedit/Adobe-CNS1-3.cidmap
+share/pfaedit/Adobe-Identity-0.cidmap
+share/pfaedit/Adobe-Japan2-0.cidmap
+share/pfaedit/Adobe-GB1-4.cidmap
+share/pfaedit/Adobe-Japan1-4.cidmap
+share/pfaedit/Adobe-Korea1-2.cidmap
+@dirrm share/pfaedit
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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