diff options
author | nork <nork@FreeBSD.org> | 2004-10-31 13:25:45 +0000 |
---|---|---|
committer | nork <nork@FreeBSD.org> | 2004-10-31 13:25:45 +0000 |
commit | 6702e798b2dad8f97c946b09b3500e6a9d6766a5 (patch) | |
tree | d6efe6ba54ba9cb3966fdfa61b04224962841a1e /japanese | |
parent | e7bbf5e631fa7ac95f9dd069014b0b4fa4c3314f (diff) | |
download | FreeBSD-ports-6702e798b2dad8f97c946b09b3500e6a9d6766a5.zip FreeBSD-ports-6702e798b2dad8f97c946b09b3500e6a9d6766a5.tar.gz |
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)
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/e2ps/Makefile | 19 | ||||
-rw-r--r-- | japanese/e2ps/distinfo | 4 | ||||
-rw-r--r-- | japanese/e2ps/files/patch-ac | 53 | ||||
-rw-r--r-- | japanese/e2ps/pkg-plist | 3 |
4 files changed, 51 insertions, 28 deletions
diff --git a/japanese/e2ps/Makefile b/japanese/e2ps/Makefile index 735efe2..6870885 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 f38e7a7..900d75e 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 5113d49..b2b3156 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 bead538..82d5a50 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 |