ports/71372: Re: update-port: japanese/e2ps

NAKAMURA Takeshi ta.nakamura at crs.co.jp
Sat Sep 4 11:32:02 UTC 2004


>Number:         71372
>Category:       ports
>Synopsis:       update-ports: japanese/e2ps
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 04 11:20:23 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     NAKAMURA Takeshi
>Release:        FreeBSD 5.2.1-RELEASE-p9 i386
>Organization:
>Environment:
System: FreeBSD crcc1712 5.2.1-RELEASE-p9 FreeBSD 5.2.1-RELEASE-p9 #21: Wed Aug 11 21:42:43 JST 2004 root at crcc1712:/export/src/FreeBSD/src/sys/i386/compile/CRCC1712 i386

>Description:
 update to 4.34

>How-To-Repeat:

>Fix:

remove 2 files
 japanese/e2ps/files/patch-aa
 japanese/e2ps/files/patch-ab

Index: Makefile
===================================================================
RCS file: /export/cvs/FreeBSD/ncvs/ports/japanese/e2ps/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- Makefile	15 Oct 2003 21:37:17 -0000	1.4
+++ Makefile	4 Sep 2004 06:09:13 -0000
@@ -6,24 +6,29 @@
 #
 
 PORTNAME=	e2ps
-PORTVERSION=	4.0
+PORTVERSION=	4.34
 CATEGORIES=	japanese print
-MASTER_SITES=	ftp://pine.kuee.kyoto-u.ac.jp/pub/e2ps/
+MASTER_SITES=	http://wt1.ld.infoseek.co.jp/sources/
 
 MAINTAINER=	kawahara at pine.kuee.kyoto-u.ac.jp
 COMMENT=	Text file to postscript converter (with Japanese support)
 
-WRKSRC=		${WRKDIR}/e2ps
+USE_BZIP2=	yes
+DOCDIR=		${PREFIX}/share/doc/${PKGBASE}
 
 .include <bsd.port.pre.mk>
 
-.if ${OSVERSION} >= 501000
-BROKEN=		"Does not compile"
-.endif
-
+post-patch:
+		cd ${WRKSRC} && \
+		mv ps-font.c ps-font.c.orig && \
+		${SED} -e '/Times-Roman$$/,/^Gothic-Medium.Katakana$$/{s,$$,\\,;}' ps-font.c.orig > ps-font.c
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/e2ps ${PREFIX}/bin
 	${LN} -sf ${PREFIX}/bin/e2ps ${PREFIX}/bin/e2lpr
+.if !defined(NOPORTDOCS)
+	${MKDIR} ${DOCDIR}
+	cd ${WRKSRC} ; ${INSTALL_DATA} README.euc README.english ${DOCDIR}
+.endif
 
 .include <bsd.port.post.mk>
Index: distinfo
===================================================================
RCS file: /export/cvs/FreeBSD/ncvs/ports/japanese/e2ps/distinfo,v
retrieving revision 1.2
diff -u -r1.2 distinfo
--- distinfo	31 Mar 2004 03:08:37 -0000	1.2
+++ distinfo	4 Sep 2004 04:59:29 -0000
@@ -1,2 +1,2 @@
-MD5 (e2ps-4.0.tar.gz) = 73e5195496733bc3a68aed568bb9f90c
-SIZE (e2ps-4.0.tar.gz) = 24516
+MD5 (e2ps-4.34.tar.bz2) = 3bc3914944135108eeaa2bae746ed676
+SIZE (e2ps-4.34.tar.bz2) = 28525
Index: pkg-plist
===================================================================
RCS file: /export/cvs/FreeBSD/ncvs/ports/japanese/e2ps/pkg-plist,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 pkg-plist
--- pkg-plist	22 Oct 1999 00:43:29 -0000	1.1.1.1
+++ pkg-plist	4 Sep 2004 06:01:21 -0000
@@ -1,2 +1,5 @@
 bin/e2ps
 bin/e2lpr
+%%PORTDOCS%%share/doc/ja-e2ps/README.euc
+%%PORTDOCS%%share/doc/ja-e2ps/README.english
+%%PORTDOCS%%@dirrm share/doc/ja-e2ps
Index: files/patch-ac
===================================================================
RCS file: /export/cvs/FreeBSD/ncvs/ports/japanese/e2ps/files/patch-ac,v
retrieving revision 1.1
diff -u -r1.1 patch-ac
--- files/patch-ac	24 Jan 2000 05:52:02 -0000	1.1
+++ files/patch-ac	4 Sep 2004 06:12:49 -0000
@@ -1,19 +1,34 @@
-*** Makefile.orig	Wed Nov  4 22:42:02 1998
---- Makefile	Wed Jan  5 12:32:13 2000
-***************
-*** 27,33 ****
-  FONTSIZE = 10.0
-  
-  # $B!&%L!&%f!&%%!&v'%M!&%i!&t'(Bs%$B%=(B
-! PRINTER = \"papyrus\"
-  
-  # $B%Ht7%A%-%$(B
-  DEFINES = \
---- 27,33 ----
-  FONTSIZE = 10.0
-  
-  # $B!&%L!&%f!&%%!&v'%M!&%i!&t'(Bs%$B%=(B
-! PRINTER = \"lp\"
-  
-  # $B%Ht7%A%-%$(B
-  DEFINES = \
+--- Makefile.orig	Mon May 20 11:41:41 2002
++++ Makefile	Sat Sep  4 15:02:43 2004
+@@ -6,7 +6,7 @@
+ 
+ 
+ # Directory to install e2ps
+-E2PS_INST_DIR = /usr/local/bin
++E2PS_INST_DIR = ${PREFIX}/bin
+ 
+ # Tab width
+ TABSTOP = 8
+@@ -52,15 +52,12 @@
+ 
+ 
+ # C and C args
+-CC = gcc
++# CC = gcc
+ CC_ARGS = -Wall
+ # CC_ARGS = -Wall -O2
+ CC_LIB = 
+ 
+-# strip command
+-STRIP = strip
+-
+-CFLAGS = $(CC_ARGS) $(DEFINES) $(CC_LIB)
++CFLAGS += $(CC_ARGS) $(DEFINES) $(CC_LIB)
+ 
+ SRC = e2ps.c ps-font.c wtkf.c
+ OBJ = e2ps.o ps-font.o wtkf.o
+@@ -81,4 +78,3 @@
+ 
+ e2ps:	$(OBJ)
+ 	$(CC) -o $@ $(OBJ) $(CFLAGS)
+-	$(STRIP) $@


>Release-Note:
>Audit-Trail:
>Unformatted:
 Resent this message.
 
 From: NAKAMURA Takeshi <1yen at sh.rim.or.jp>
 Message-Id: <20040904153823.0D94.1YEN at sh.rim.or.jp>
 Date: Sat, 04 Sep 2004 15:46:53 +0900
 Subject: update-port: japanese/e2ps
 ----
 



More information about the freebsd-ports-bugs mailing list