aboutsummaryrefslogtreecommitdiff
path: root/japanese/e2ps
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2004-10-31 13:25:45 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2004-10-31 13:25:45 +0000
commitbb2eec27666607085e38da274bc7612319602b1f (patch)
tree5a0eb103b352ad59254c77fe3cb876fd417c3f1c /japanese/e2ps
parent25473012d677ee6a2dd79ba9be55b089368699dc (diff)
downloadports-bb2eec27666607085e38da274bc7612319602b1f.tar.gz
ports-bb2eec27666607085e38da274bc7612319602b1f.zip
Update to 4.34.
PR: ports-jp/14869, ports/71372 Submitted by: NAKAMURA Takeshi <ta.nakamura@crs.co.jp> Approved by: maintainer timeout (about 1 week)
Notes
Notes: svn path=/head/; revision=120527
Diffstat (limited to 'japanese/e2ps')
-rw-r--r--japanese/e2ps/Makefile19
-rw-r--r--japanese/e2ps/distinfo4
-rw-r--r--japanese/e2ps/files/patch-ac53
-rw-r--r--japanese/e2ps/pkg-plist3
4 files changed, 51 insertions, 28 deletions
diff --git a/japanese/e2ps/Makefile b/japanese/e2ps/Makefile
index 735efe2e24a6..6870885d11b5 100644
--- a/japanese/e2ps/Makefile
+++ b/japanese/e2ps/Makefile
@@ -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@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>
diff --git a/japanese/e2ps/distinfo b/japanese/e2ps/distinfo
index f38e7a7186dc..900d75e990e0 100644
--- a/japanese/e2ps/distinfo
+++ b/japanese/e2ps/distinfo
@@ -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
diff --git a/japanese/e2ps/files/patch-ac b/japanese/e2ps/files/patch-ac
index 5113d49e792c..b2b3156b6e43 100644
--- a/japanese/e2ps/files/patch-ac
+++ b/japanese/e2ps/files/patch-ac
@@ -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
-
- # デフォルトプリンタ
-! PRINTER = \"papyrus\"
-
- # 定義群
- DEFINES = \
---- 27,33 ----
- FONTSIZE = 10.0
-
- # デフォルトプリンタ
-! PRINTER = \"lp\"
-
- # 定義群
- DEFINES = \
+--- Makefile.orig Mon May 20 11:41:41 2002
++++ Makefile Mon Oct 25 23:21:09 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) $@
diff --git a/japanese/e2ps/pkg-plist b/japanese/e2ps/pkg-plist
index bead53859066..82d5a5036168 100644
--- a/japanese/e2ps/pkg-plist
+++ b/japanese/e2ps/pkg-plist
@@ -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