mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
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)
This commit is contained in:
parent
25473012d6
commit
bb2eec2766
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=120527
@ -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>
|
||||
|
@ -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
|
||||
|
@ -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) $@
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user