diff options
author | jlam <jlam@pkgsrc.org> | 2002-06-23 18:37:12 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2002-06-23 18:37:12 +0000 |
commit | e43bd7cdef06b9274e767e76147d46a933f396af (patch) | |
tree | ec205ad7d392f8b4fb061b9510a7c3c38870f747 /converters | |
parent | 0ce2600e1724a8db00dd3c6d8d500657dd469b43 (diff) | |
download | pkgsrc-e43bd7cdef06b9274e767e76147d46a933f396af.tar.gz |
Merge from pkgsrc-current to buildlink2 branch.
Diffstat (limited to 'converters')
74 files changed, 960 insertions, 75 deletions
diff --git a/converters/2vcard/DESCR b/converters/2vcard/DESCR new file mode 100644 index 00000000000..c66ace4f066 --- /dev/null +++ b/converters/2vcard/DESCR @@ -0,0 +1,6 @@ +2vcard is a little perl script to convert an addressbook to the popular +VCARD file format. Currently, 2vcard can convert mutt's and mh's alias as +well as pine's and abook's addressbook format. + +The VCARD format is used by gnomecard, for example, which in turn is used +by the balsa email client. diff --git a/converters/2vcard/Makefile b/converters/2vcard/Makefile new file mode 100644 index 00000000000..f24f25db8a7 --- /dev/null +++ b/converters/2vcard/Makefile @@ -0,0 +1,28 @@ +# $NetBSD: Makefile,v 1.1.2.2 2002/06/23 18:41:50 jlam Exp $ +# + +DISTNAME= 2vcard-0.3 +CATEGORIES= converters +MASTER_SITES= http://www.netmeister.org/apps/ +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= jschauma@netbsd.org +HOMEPAGE= http://www.netmeister.org/apps/2vcard/ +COMMENT= Convert an addressbook to the popular VCARD file format + +USE_PERL5= # defined +REPLACE_PERL= src/2vcard + +NO_BUILD= yes + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/src/2vcard ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/doc/2vcard.1 ${PREFIX}/man/man1/ + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/2vcard + ${INSTALL_DATA} ${WRKSRC}/CHANGES ${PREFIX}/share/doc/2vcard + ${INSTALL_DATA} ${WRKSRC}/COPYING ${PREFIX}/share/doc/2vcard + ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/2vcard + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/2vcard + ${INSTALL_DATA} ${WRKSRC}/doc/html/* ${PREFIX}/share/doc/html/2vcard + +.include "../../mk/bsd.pkg.mk" diff --git a/converters/2vcard/PLIST b/converters/2vcard/PLIST new file mode 100644 index 00000000000..ee0770dbaa7 --- /dev/null +++ b/converters/2vcard/PLIST @@ -0,0 +1,14 @@ +@comment $NetBSD: PLIST,v 1.1.2.2 2002/06/23 18:41:51 jlam Exp $ +bin/2vcard +man/man1/2vcard.1 +share/doc/2vcard/CHANGES +share/doc/2vcard/COPYING +share/doc/2vcard/README +share/doc/html/2vcard/index-1.html +share/doc/html/2vcard/index-2.html +share/doc/html/2vcard/index-3.html +share/doc/html/2vcard/index-4.html +share/doc/html/2vcard/index-5.html +share/doc/html/2vcard/index.html +@dirrm share/doc/html/2vcard +@dirrm share/doc/2vcard diff --git a/converters/2vcard/distinfo b/converters/2vcard/distinfo new file mode 100644 index 00000000000..1a4e2c5415d --- /dev/null +++ b/converters/2vcard/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.2.2 2002/06/23 18:41:53 jlam Exp $ + +SHA1 (2vcard-0.3.tar.bz2) = c05aa85d4d96c555e01edda024d81d6dcf3880b3 +Size (2vcard-0.3.tar.bz2) = 16474 bytes diff --git a/converters/Makefile b/converters/Makefile index 16b65c1e8ba..7bafad7009a 100644 --- a/converters/Makefile +++ b/converters/Makefile @@ -1,29 +1,43 @@ -# $NetBSD: Makefile,v 1.40 2002/03/30 06:07:02 uebayasi Exp $ +# $NetBSD: Makefile,v 1.40.2.1 2002/06/23 18:41:47 jlam Exp $ # -COMMENT= Character code converters +COMMENT= document format and character code converters +SUBDIR+= 2vcard +SUBDIR+= ack +SUBDIR+= autoconvert SUBDIR+= base64 SUBDIR+= bbcim SUBDIR+= cbmconvert SUBDIR+= cn2jp SUBDIR+= doc2html SUBDIR+= dvi2tty +SUBDIR+= hztty SUBDIR+= ish SUBDIR+= kdesupport SUBDIR+= latex2rtf SUBDIR+= libiconv SUBDIR+= macfork SUBDIR+= mpack +SUBDIR+= nkf SUBDIR+= p5-Convert-TNEF SUBDIR+= p5-Convert-UUlib +SUBDIR+= p5-Jcode SUBDIR+= p5-MIME-Base64 SUBDIR+= p5-Text-Iconv +SUBDIR+= p5-jcode +SUBDIR+= p5-nkf SUBDIR+= psiconv +SUBDIR+= py-koCodecs +SUBDIR+= py-zhCodecs +SUBDIR+= qkc SUBDIR+= recode SUBDIR+= rpm2cpio SUBDIR+= rtf2html SUBDIR+= ruby-iconv +SUBDIR+= ruby-romkan +SUBDIR+= ruby-uconv +SUBDIR+= tex2rtf SUBDIR+= ttf2pt1 SUBDIR+= txt2html SUBDIR+= txt2man diff --git a/converters/ack/DESCR b/converters/ack/DESCR new file mode 100644 index 00000000000..0ded66d4636 --- /dev/null +++ b/converters/ack/DESCR @@ -0,0 +1,3 @@ +ack is an Japanese code converter for EUC-JP, MS-Kanji code and ISO-2022-JP. +It is compatible with JIS X 0201 katakana. It recognizes input code +automatically, doesn't confuse for the katakana. diff --git a/converters/ack/Makefile b/converters/ack/Makefile new file mode 100644 index 00000000000..5b04b3ac48d --- /dev/null +++ b/converters/ack/Makefile @@ -0,0 +1,14 @@ +# $NetBSD: Makefile,v 1.1.1.1.2.2 2002/06/23 18:41:54 jlam Exp $ +# FreeBSD Id: Makefile,v 1.1.1.1 1998/09/15 22:05:58 kuriyama Exp + +DISTNAME= ack139 +PKGNAME= ack-1.39 +CATEGORIES= japanese converters +MASTER_SITES= ftp://ftp.tohoku.ac.jp/pub/unix/ack/ + +MAINTAINER= kei_sun@ba2.so-net.ne.jp +COMMENT= Japanese code converter + +ALL_TARGET= ack + +.include "../../mk/bsd.pkg.mk" diff --git a/converters/ack/PLIST b/converters/ack/PLIST new file mode 100644 index 00000000000..a121fb13b9c --- /dev/null +++ b/converters/ack/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1.1.1.50.2 2002/06/23 18:41:55 jlam Exp $ +bin/ack +man/ja_JP.EUC/man1/ack.1 diff --git a/converters/ack/distinfo b/converters/ack/distinfo new file mode 100644 index 00000000000..99436180875 --- /dev/null +++ b/converters/ack/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1.12.2 2002/06/23 18:41:56 jlam Exp $ + +SHA1 (ack139.tar.gz) = d9ae53238176d46c303a48e736c5bafa9743250c +Size (ack139.tar.gz) = 16292 bytes +SHA1 (patch-aa) = 4840bef577a42cd4cd1a387f7261f42f9887055f diff --git a/converters/ack/patches/patch-aa b/converters/ack/patches/patch-aa new file mode 100644 index 00000000000..24cafeff212 --- /dev/null +++ b/converters/ack/patches/patch-aa @@ -0,0 +1,23 @@ +$NetBSD: patch-aa,v 1.1.1.1.50.2 2002/06/23 18:41:57 jlam Exp $ + +--- Makefile.orig Tue Jul 26 09:29:53 1994 ++++ Makefile Fri Jan 1 21:08:42 1999 +@@ -1,14 +1,15 @@ + #### ack 1993,94 H.Ogasawara (COR.) + #### + #### -- install directory +-BINARY = /usr/local/bin +-MANUAL = /usr/local/man/man1 ++BINARY = ${PREFIX}/bin ++MANUAL = ${PREFIX}/man/ja_JP.EUC/man1 + + #### + #### -- UNIX + CC = cc +-CFLAGS = -O -DDEFCODE=2 -DDEFJIS=2 -DENVACK=1 ++#CFLAGS = -O -DDEFCODE=2 -DDEFJIS=2 -DENVACK=1 + #CFLAGS = -O -DDEFCODE=1 -DDEFJIS=2 -DENVACK=1 -DLANGCHK=1 -DJCONVSW=1 ++CFLAGS = -O -DDEFCODE=0 -DDEFJIS=2 -DENVACK=1 -DLANGCHK=1 -DJCONVSW=1 + #### + #### -- Human68k + #CC = gcc diff --git a/converters/autoconvert/DESCR b/converters/autoconvert/DESCR new file mode 100644 index 00000000000..61c2332672e --- /dev/null +++ b/converters/autoconvert/DESCR @@ -0,0 +1,6 @@ +AutoConvert is an intelligent Chinese Encoding converter. +It uses built-in functions to judge the type of the input file's Chinese +Encoding (such as GB/Big5/HZ), then converts the input file to any +type of Chinese Encoding you want. You can use autoconvert to +automatically convert incoming e-mail messages. It can also optionally +handle the UNI/UTF7/UTF8 encoding. diff --git a/converters/autoconvert/Makefile b/converters/autoconvert/Makefile new file mode 100644 index 00000000000..e941a8571ab --- /dev/null +++ b/converters/autoconvert/Makefile @@ -0,0 +1,20 @@ +# $NetBSD: Makefile,v 1.1.1.1.2.2 2002/06/23 18:41:59 jlam Exp $ + +DISTNAME= autoconvert-0.3.13 +CATEGORIES= converters +MASTER_SITES= http://people.debian.org/~ygh/ + +MAINTAINER= rxg@netbsd.org +HOMEPAGE= http://banyan.dlut.edu.cn/~ygh/ +COMMENT= Intelligent Chinese encoding converter + +USE_LIBTOOL= yes +USE_GMAKE= yes + +post-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/autoconvert + ${INSTALL_DATA} ${WRKSRC}/procmailrc.example ${WRKSRC}/shed.* \ + ${PREFIX}/share/examples/autoconvert + +.include "../../devel/libgetopt/buildlink.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/converters/autoconvert/PLIST b/converters/autoconvert/PLIST new file mode 100644 index 00000000000..19e6d6de1d9 --- /dev/null +++ b/converters/autoconvert/PLIST @@ -0,0 +1,17 @@ +@comment $NetBSD: PLIST,v 1.1.1.1.10.2 2002/06/23 18:42:00 jlam Exp $ +bin/autob5 +bin/autogb +include/hz.h +include/zhstatis.h +lib/libhz.a +lib/libhz.la +lib/libhz.so +lib/libhz.so.0 +lib/libhz.so.0.0 +share/examples/autoconvert/procmailrc.example +share/examples/autoconvert/shed.big5 +share/examples/autoconvert/shed.gb +share/examples/autoconvert/shed.uni +share/examples/autoconvert/shed.utf7 +share/examples/autoconvert/shed.utf8 +@dirrm share/examples/autoconvert diff --git a/converters/autoconvert/distinfo b/converters/autoconvert/distinfo new file mode 100644 index 00000000000..6b9ca8bf839 --- /dev/null +++ b/converters/autoconvert/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1.4.2 2002/06/23 18:42:01 jlam Exp $ + +SHA1 (autoconvert-0.3.13.tar.gz) = cc59899e46ccfaacdb39f7a73767780b721ab75d +Size (autoconvert-0.3.13.tar.gz) = 464081 bytes +SHA1 (patch-aa) = 803666f4de76422dec546dc56c643abeda43edb1 +SHA1 (patch-ab) = f2dc6af133d620e67e414b7f0f1543e47ef794db diff --git a/converters/autoconvert/patches/patch-aa b/converters/autoconvert/patches/patch-aa new file mode 100644 index 00000000000..552abc83319 --- /dev/null +++ b/converters/autoconvert/patches/patch-aa @@ -0,0 +1,49 @@ +$NetBSD: patch-aa,v 1.1.1.1.38.2 2002/06/23 18:42:02 jlam Exp $ + +--- Makefile.orig Sat Apr 28 09:45:46 2001 ++++ Makefile +@@ -1,22 +1,20 @@ + +-CC=gcc +-CFLAG=-O2 -g -Wall -Iinclude +-LIBS= -Llib -lhz ++CFLAG+=-Wall -Iinclude + + .PHONY: all hzlib clean install-home install + +-all: autob5 autogb hzlib xchat-plugins ++all: autob5 autogb hzlib + + autob5: autogb + rm -f autob5;ln -s autogb autob5 + autogb:autogb.c hzlib +- $(CC) $(CFLAG) $(LIBS) autogb.c -lhz -o autogb ++ $(LIBTOOL) --mode=link $(CC) $(CFLAG) autogb.c -o autogb hzconvert/libhz.la $(LIBGETOPT) + autogb-static:autogb.c hzlib + $(CC) $(CFLAG) autogb.c lib/libhz.a -o autogb + hzlib: +- cd hzconvert;make ++ cd hzconvert;$(MAKE) + xchat-plugins: +- cd contrib/xchat-plugins;make ++ cd contrib/xchat-plugins;$(MAKE) + clean: + rm -f autob5 autogb *.o *~ + rm -f include/*~ +@@ -30,12 +28,7 @@ + ln -s $(HOME)/bin/autogb $(HOME)/bin/autob5 + chmod 755 $(HOME)/bin/autogb + install: +- install -m 755 autogb $(DESTDIR)/usr/bin +- install -m 755 lib/libhz.so.0.0 $(DESTDIR)/usr/lib +- cd $(DESTDIR)/usr/lib;ln -s libhz.so.0.0 libhz.so.0 +- cd $(DESTDIR)/usr/lib;ln -s libhz.so.0 libhz.so +- install -m 755 lib/libhz.a $(DESTDIR)/usr/lib +- install -m 755 contrib/xchat-plugins/xchat-autogb.so $(DESTDIR)/usr/share/zh-autoconvert +- install -m 755 contrib/xchat-plugins/xchat-autob5.so $(DESTDIR)/usr/share/zh-autoconvert +- install -m 644 include/*.h $(DESTDIR)/usr/include +- ln -s autogb $(DESTDIR)/usr/bin/autob5 ++ cd hzconvert;$(MAKE) install ++ $(LIBTOOL) --mode=install $(BSD_INSTALL_PROGRAM) autogb $(PREFIX)/bin ++ $(BSD_INSTALL_DATA) include/*.h $(PREFIX)/include ++ ln -fs $(PREFIX)/bin/autogb $(PREFIX)/bin/autob5 diff --git a/converters/autoconvert/patches/patch-ab b/converters/autoconvert/patches/patch-ab new file mode 100644 index 00000000000..4aa260bbe9c --- /dev/null +++ b/converters/autoconvert/patches/patch-ab @@ -0,0 +1,36 @@ +$NetBSD: patch-ab,v 1.1.1.1.38.2 2002/06/23 18:42:02 jlam Exp $ + +--- hzconvert/Makefile.orig Mon Jan 8 18:03:21 2001 ++++ hzconvert/Makefile +@@ -1,22 +1,17 @@ +-CC=gcc -I../include +-CFLAGS=-O2 -Wall -g +-SHARED_LIB=libhz.so +-SHARED_LIB_MAJOR=$(SHARED_LIB).0 +-SHARED_LIB_MINOR=$(SHARED_LIB_MAJOR).0 ++CFLAGS+=-Wall -I../include ++LIB=libhz.a + OBJS=b2g.o b2u.o g2u.o hz2gb.o b2g_tables.o b2u_tables.o g2u_tables.o io.o unicode.o judge.o judge3.o gbpercent.o b5percent.o search.o + + %.o: %.c +- $(CC) -fPIC $(CFLAGS) -c $< ++ $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c $< + +-all: libhzconvert ++all: $(LIB) + +-libhzconvert: $(OBJS) +- ar rs ../lib/libhz.a $(OBJS) +- gcc -fPIC -shared -Wl,-soname,$(SHARED_LIB_MAJOR) -o ../lib/$(SHARED_LIB_MINOR) $(OBJS) -ldl +- rm -f ../lib/$(SHARED_LIB_MAJOR) +- rm -f ../lib/$(SHARED_LIB) +- cd ../lib;ln -s $(SHARED_LIB_MINOR) $(SHARED_LIB_MAJOR) +- cd ../lib;ln -s $(SHARED_LIB_MAJOR) $(SHARED_LIB) ++$(LIB): $(OBJS) ++ $(LIBTOOL) --mode=link $(CC) -o $(LIB:.a=.la) $(OBJS:.o=.lo) -rpath $(PREFIX)/lib ++ ++install: all ++ $(LIBTOOL) --mode=install $(BSD_INSTALL_DATA) $(LIB:.a=.la) $(PREFIX)/lib + + clean: + rm -f *.o *~ ../lib/lib* diff --git a/converters/hztty/DESCR b/converters/hztty/DESCR new file mode 100644 index 00000000000..e5180d4c3d6 --- /dev/null +++ b/converters/hztty/DESCR @@ -0,0 +1,7 @@ +This program turns a tty session from one encoding to another. +For example, running hztty on cxterm can allow you to read/write +Chinese in HZ format, which was not supported by cxterm. +If you have many applications in different encodings but your +favor terminal program only supports one, hztty can make life easy. +For example, hztty can convert your GB cxterm into a HZ terminal, a +Unicode (16bit, or UTF8, or UTF7) terminal, or a Big5 terminal. diff --git a/converters/hztty/Makefile b/converters/hztty/Makefile new file mode 100644 index 00000000000..0bbc114c85d --- /dev/null +++ b/converters/hztty/Makefile @@ -0,0 +1,20 @@ +# $NetBSD: Makefile,v 1.1.1.1.2.2 2002/06/23 18:42:04 jlam Exp $ + +DISTNAME= hztty-2.0 +CATEGORIES= converters +MASTER_SITES= ftp://ftp.ifcss.org/pub/software/unix/convert/ \ + ftp://ftp.cuhk.hk/pub/chinese/ifcss/software/unix/convert/ \ + ftp://ftp.edu.tw/Chinese/ifcss/software/unix/convert/ \ + ftp://ftp.mpi-sb.mpg.de/pub/chinese/mirror/ftp.ifcss.org/software/unix/convert/ + +MAINTAINER= rxg@netbsd.org +#HOMEPAGE= +COMMENT= turns a tty session between Big5/GB/HZ/Unicode + +ALL_TARGET= bsd + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/hztty ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/hztty.1 ${PREFIX}/man/man1 + +.include "../../mk/bsd.pkg.mk" diff --git a/converters/hztty/PLIST b/converters/hztty/PLIST new file mode 100644 index 00000000000..0e8e1e558a3 --- /dev/null +++ b/converters/hztty/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1.1.1.50.2 2002/06/23 18:42:05 jlam Exp $ +bin/hztty +man/man1/hztty.1 diff --git a/converters/hztty/distinfo b/converters/hztty/distinfo new file mode 100644 index 00000000000..76e794f5867 --- /dev/null +++ b/converters/hztty/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1.12.2 2002/06/23 18:42:06 jlam Exp $ + +SHA1 (hztty-2.0.tar.gz) = db2d13f4f9d3918c1feef3ac8fb4bb24326a28ef +Size (hztty-2.0.tar.gz) = 229189 bytes +SHA1 (patch-aa) = 6479d6b1d359f90e7ad6808bdb9c24c8fe10e9d6 +SHA1 (patch-ab) = fc050ecb9b5df0403b3f0307ccd741c60c693f5f diff --git a/converters/hztty/patches/patch-aa b/converters/hztty/patches/patch-aa new file mode 100644 index 00000000000..212dfb67850 --- /dev/null +++ b/converters/hztty/patches/patch-aa @@ -0,0 +1,22 @@ +$NetBSD: patch-aa,v 1.1.1.1.12.2 2002/06/23 18:42:07 jlam Exp $ + +--- Makefile.orig Sun Jan 29 16:39:19 1995 ++++ Makefile Sun Apr 2 11:16:03 2000 +@@ -31,7 +30,7 @@ + ${OBJ_GB_BIG5} ${OBJ_UNICODE_GB} ${OBJ_UNICODE_BIG5} + + DEFINES= +-CFLAGS=${CDEBUGFLAGS} ${DEFINES} ${MODULES_DEF} -I. ++CFLAGS+=${DEFINES} ${MODULES_DEF} -I. + + PROG = hztty + LIBS= +@@ -132,7 +131,7 @@ + + + bsd: +- miniconf.sh $(CPP) ++ ./miniconf.sh $(CPP) + ${MAKE} ${MFLAGS} DEFINES='-DBSD' ${PROG} + + posix: diff --git a/converters/hztty/patches/patch-ab b/converters/hztty/patches/patch-ab new file mode 100644 index 00000000000..8585f17c765 --- /dev/null +++ b/converters/hztty/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1.1.1.12.2 2002/06/23 18:42:08 jlam Exp $ + +--- tty.c.orig Sun Jan 29 12:24:55 1995 ++++ tty.c Mon Oct 6 23:56:32 1997 +@@ -26,7 +26,7 @@ + # define TTYDEV "/dev/pty/ttyxx" + #else /* !hpux */ + # define PTYCHAR1 "pqrstuvwxyzPQRSTUVWXYZ" +-# define PTYCHAR2 "0123456789abcdef" ++# define PTYCHAR2 "0123456789abcdefghijklmnopqrstuv" + # define PTYDEV "/dev/ptyxx" + # define TTYDEV "/dev/ttyxx" + #endif /* !hpux */ diff --git a/converters/libiconv/Makefile b/converters/libiconv/Makefile index df9636e9f7b..679974affa0 100644 --- a/converters/libiconv/Makefile +++ b/converters/libiconv/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.7.2.2 2002/06/21 23:05:01 jlam Exp $ +# $NetBSD: Makefile,v 1.7.2.3 2002/06/23 18:42:09 jlam Exp $ # DISTNAME= libiconv-1.7 +PKGREVISION= 2 CATEGORIES= converters MASTER_SITES= ftp://ftp.ilog.fr/pub/Users/haible/gnu/ @@ -22,6 +23,13 @@ LIBTOOL_OVERRIDE+= ${WRKSRC}/libcharset/libtool PLIST_SRC= ${PKGDIR}/PLIST.${OPSYS} .endif +# remove any existing charset.alias; if it already exists, libiconv does +# not overwrite it, and older versions of libiconv wrote incorrect +# charset.alias files, which were not removed during deinstall since +# other packages touched them. +pre-install: + ${RM} -f ${PREFIX}/lib/charset.alias + test: build cd ${WRKSRC} && ${MAKE_ENV} ${MAKE_PROGRAM} check |& tee ${WRKDIR}/check.log diff --git a/converters/libiconv/buildlink.mk b/converters/libiconv/buildlink.mk index c75e24373c5..e9d98f4f715 100644 --- a/converters/libiconv/buildlink.mk +++ b/converters/libiconv/buildlink.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink.mk,v 1.8 2001/07/27 13:33:21 jlam Exp $ +# $NetBSD: buildlink.mk,v 1.8.2.1 2002/06/23 18:42:10 jlam Exp $ # # This Makefile fragment is included by packages that use libiconv. # @@ -17,7 +17,7 @@ ICONV_BUILDLINK_MK= # defined .include "../../mk/bsd.buildlink.mk" -BUILDLINK_DEPENDS.iconv?= libiconv>=1.5 +BUILDLINK_DEPENDS.iconv?= libiconv>=1.7nb2 DEPENDS+= ${BUILDLINK_DEPENDS.iconv}:../../converters/libiconv EVAL_PREFIX+= BUILDLINK_PREFIX.iconv=libiconv diff --git a/converters/libiconv/distinfo b/converters/libiconv/distinfo index b179ac8305a..3f6798747b9 100644 --- a/converters/libiconv/distinfo +++ b/converters/libiconv/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.4 2001/10/30 17:41:20 drochner Exp $ +$NetBSD: distinfo,v 1.4.2.1 2002/06/23 18:42:10 jlam Exp $ SHA1 (libiconv-1.7.tar.gz) = 14232820739d778e0cdbe3aa647aa7ce6ff4d101 Size (libiconv-1.7.tar.gz) = 2941046 bytes -SHA1 (patch-aa) = b170180c457a14276ebc96f73ef9573fb7944e6f +SHA1 (patch-aa) = 9990fa9faecb6e332a67d7af58cc2c98139a8e0c SHA1 (patch-ab) = 4859358c291ee59c85fc9e9090e7c6505817bcb4 SHA1 (patch-ac) = 6896d58b242f4c08887061ddf3217bd9b291c895 diff --git a/converters/libiconv/patches/patch-aa b/converters/libiconv/patches/patch-aa index 7d381d50761..bb528f8efc5 100644 --- a/converters/libiconv/patches/patch-aa +++ b/converters/libiconv/patches/patch-aa @@ -1,13 +1,23 @@ -$NetBSD: patch-aa,v 1.2 2001/05/14 12:14:47 rh Exp $ +$NetBSD: patch-aa,v 1.2.2.1 2002/06/23 18:42:11 jlam Exp $ ---- libcharset/lib/config.charset.orig Sun Mar 11 15:37:53 2001 +--- libcharset/lib/config.charset.orig Mon Jun 25 14:01:22 2001 +++ libcharset/lib/config.charset -@@ -235,7 +235,7 @@ - #echo "sun_eu_greek ?" # what is this? - echo "UTF-8 UTF-8" +@@ -435,4 +435,18 @@ + echo "eo CP850" + echo "eo_EO CP850" ;; -- freebsd*) -+ *bsd*) - # FreeBSD 4.2 doesn't have nl_langinfo(CODESET); therefore - # localcharset.c falls back to using the full locale name - # from the environment variables. ++ netbsd*) ++ echo "646 ASCII" ++ echo "ISO8859-1 ISO-8859-1" ++ echo "ISO8859-2 ISO-8859-2" ++ echo "ISO8859-4 ISO-8859-4" ++ echo "ISO8859-5 ISO-8859-5" ++ echo "ISO8859-15 ISO-8859-15" ++ echo "eucCN GB2312" ++ echo "eucJP EUC-JP" ++ echo "eucKR EUC-KR" ++ echo "eucTW EUC-TW" ++ echo "BIG5 BIG5" ++ echo "SJIS SHIFT_JIS" ++ ;; + esac diff --git a/converters/nkf/DESCR b/converters/nkf/DESCR new file mode 100644 index 00000000000..3eb4a732c22 --- /dev/null +++ b/converters/nkf/DESCR @@ -0,0 +1,8 @@ +Nkf is a yet another kanji code converter between the different types +of kanji codes out there. It can convert between 7-bit JIS, MS-kanji +(shifted-JIS) or EUC. + +One of the most unique facilities of nkf is that it guesses the input +kanji code. It currently recognizes 7-bit JIS, MS-kanji (shifted-JIS) +and EUC. So users don't need to specify (or even know) the input +kanji code type. diff --git a/converters/nkf/Makefile b/converters/nkf/Makefile new file mode 100644 index 00000000000..ed30f5d7c87 --- /dev/null +++ b/converters/nkf/Makefile @@ -0,0 +1,24 @@ +# $NetBSD: Makefile,v 1.1.1.1.4.2 2002/06/23 18:42:12 jlam Exp $ + +DISTNAME= nkf-1.7 +CATEGORIES= japanese converters +MASTER_SITES= ftp://ftp.sra.co.jp/pub/cmd/nkf/ + +PATCH_SITES= http://www.rs.civil.tohoku.ac.jp/~ito/ws/ +PATCHFILES= nkf.patch.txt + +MAINTAINER= kay@kaynet.or.jp +COMMENT= Network Kanji code conversion Filter + +ALL_TARGET= nkf +PATCH_DIST_ARGS+= -R -d ${WRKSRC} + +post-extract: + @cd ${WRKSRC} && ${PATCH} ${PATCH_ARGS} < ${FILESDIR}/nkf.post-extract + @${RM} -rf ${WRKSRC}/NKF + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/nkf ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/nkf.1 ${PREFIX}/man/man1 + +.include "../../mk/bsd.pkg.mk" diff --git a/converters/nkf/PLIST b/converters/nkf/PLIST new file mode 100644 index 00000000000..62644f73a64 --- /dev/null +++ b/converters/nkf/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1.1.1.50.2 2002/06/23 18:42:13 jlam Exp $ +bin/nkf +man/man1/nkf.1 diff --git a/converters/nkf/distinfo b/converters/nkf/distinfo new file mode 100644 index 00000000000..542860998db --- /dev/null +++ b/converters/nkf/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1.4.2 2002/06/23 18:42:14 jlam Exp $ + +SHA1 (nkf-1.7.tar.gz) = 2116864c1acc8e6f80d4c59dc63c73eb37c9e80c +Size (nkf-1.7.tar.gz) = 28222 bytes +SHA1 (nkf.patch.txt) = f7b0a640be331a707584ba34d083f5e2361c3969 +Size (nkf.patch.txt) = 3558 bytes diff --git a/converters/nkf/files/nkf.post-extract b/converters/nkf/files/nkf.post-extract new file mode 100644 index 00000000000..61df30147cb --- /dev/null +++ b/converters/nkf/files/nkf.post-extract @@ -0,0 +1,19 @@ +*** nkf.c.bak Sun May 9 17:20:37 1999 +--- nkf.c Sun May 9 17:21:32 1999 +*************** +*** 1483,1489 **** + + + #ifdef STRICT_MIME +! /* This converts ^\^\*/ + + unsigned char *mime_pattern[] = { + (unsigned char *)"\075?ISO-8859-1?Q?", +--- 1483,1489 ---- + + + #ifdef STRICT_MIME +! /* This converts */ + + unsigned char *mime_pattern[] = { + (unsigned char *)"\075?ISO-8859-1?Q?", diff --git a/converters/p5-Jcode/DESCR b/converters/p5-Jcode/DESCR new file mode 100644 index 00000000000..e4cf1cc3ccc --- /dev/null +++ b/converters/p5-Jcode/DESCR @@ -0,0 +1,8 @@ +Jcode.pm is a Perl module that handles various Japanese charsets. +It has all features available on jcode.pl-2.10 PLUS + + *Object-oriented approach on Japanese text handling + *mime header handling + *Unicode feature (UCS2 and UTF8) + +Detail: http://openlab.ring.gr.jp/Jcode/Jcode.html diff --git a/converters/p5-Jcode/Makefile b/converters/p5-Jcode/Makefile new file mode 100644 index 00000000000..9e13e696bb2 --- /dev/null +++ b/converters/p5-Jcode/Makefile @@ -0,0 +1,29 @@ +# $NetBSD: Makefile,v 1.1.1.1.2.2 2002/06/23 18:42:17 jlam Exp $ +# + +DISTNAME= Jcode-0.80 +PKGNAME= p5-${DISTNAME} +SVR4_PKGNAME= p5jco +CATEGORIES= converters japanese +MASTER_SITES= http://openlab.ring.gr.jp/Jcode/ + +MAINTAINER= tech-pkg-ja@jp.netbsd.org +HOMEPAGE= http://openlab.ring.gr.jp/Jcode/index.html +COMMENT= perl5 module for handling various Japanese charsets + +DEPENDS+= p5-MIME-Base64>=2.1:../../converters/p5-MIME-Base64 + +USE_BUILDLINK_ONLY= YES +PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Jcode/.packlist + +pre-configure: + @cd ${WRKSRC}; ${RM} -f mac_install.pl win_install.pl + +do-configure: + @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL + +test: + @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} test + +.include "../../lang/perl5/buildlink.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/converters/p5-Jcode/PLIST b/converters/p5-Jcode/PLIST new file mode 100644 index 00000000000..dfb31d76bb9 --- /dev/null +++ b/converters/p5-Jcode/PLIST @@ -0,0 +1 @@ +@comment $NetBSD: PLIST,v 1.1.1.1.34.2 2002/06/23 18:42:18 jlam Exp $ diff --git a/converters/p5-Jcode/distinfo b/converters/p5-Jcode/distinfo new file mode 100644 index 00000000000..d845bb81dae --- /dev/null +++ b/converters/p5-Jcode/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1.2.2 2002/06/23 18:42:19 jlam Exp $ + +SHA1 (Jcode-0.80.tar.gz) = 9f7bb8c007e1cb64c77d9c85e9f6e893089e98cf +Size (Jcode-0.80.tar.gz) = 187438 bytes +SHA1 (patch-aa) = 27a8d2a53abdf6ca77444a671e8ad319a2e973d1 diff --git a/converters/p5-Jcode/patches/patch-aa b/converters/p5-Jcode/patches/patch-aa new file mode 100644 index 00000000000..285218d58fc --- /dev/null +++ b/converters/p5-Jcode/patches/patch-aa @@ -0,0 +1,17 @@ +$NetBSD: patch-aa,v 1.1.1.1.8.2 2002/06/23 18:42:21 jlam Exp $ + +--- MANIFEST.orig Fri May 3 09:01:24 2002 ++++ MANIFEST +@@ -15,7 +15,6 @@ + Unicode/_test.pl + Unicode/table.h + Unicode/uni.c +-mac_install.pl + t/ambiguous.pl + t/benchmark.pl + t/convert.t +@@ -32,4 +31,3 @@ + t/unibench.pl + t/x0212.euc + t/zenkaku.euc +-win_install.pl diff --git a/converters/p5-jcode/DESCR b/converters/p5-jcode/DESCR new file mode 100644 index 00000000000..8e9cd129287 --- /dev/null +++ b/converters/p5-jcode/DESCR @@ -0,0 +1,8 @@ +jcode.pl is Perl library for Japanese character code conversion. +It supports translation of each JIS, EUC, Shift JIS texts, and +automatically recognizes the encode-method of the target text files. + +Document is in jcode.pl itself as comment. +And jcode.pl-history file (in Japanese) might help you: + ftp://ftp.iij.ad.jp/pub/IIJ/dist/utashiro/perl/jcode.pl-history + ftp://ftp.sra.co.jp/pub/lang/perl/sra-scripts/jcode.pl-history diff --git a/converters/p5-jcode/Makefile b/converters/p5-jcode/Makefile new file mode 100644 index 00000000000..b26bd767beb --- /dev/null +++ b/converters/p5-jcode/Makefile @@ -0,0 +1,27 @@ +# $NetBSD: Makefile,v 1.1.1.1.2.2 2002/06/23 18:42:23 jlam Exp $ +# FreeBSD Id: Makefile,v 1.2 1999/01/17 10:56:40 vanilla Exp $ + +DISTNAME= jcode.pl-2.13 +PKGNAME= p5-jcode-2.13 +SVR4_PKGNAME= p5jc2 +CATEGORIES= japanese converters +MASTER_SITES= ftp://ftp.iij.ad.jp/pub/IIJ/dist/utashiro/perl/ \ + ftp://ftp.sra.co.jp/pub/lang/perl/sra-scripts/ +EXTRACT_SUFX= + +MAINTAINER= tech-pkg-ja@jp.netbsd.org +HOMEPAGE= # not available +COMMENT= Perl library for Japanese character code conversion + +USE_BUILDLINK_ONLY= YES + +WRKSRC= ${WRKDIR} +NO_BUILD= # defined +EXTRACT_CMD= ${CP} ${DOWNLOADED_DISTFILE} . + +do-install: + ${INSTALL_DATA_DIR} ${PERL5_SITELIB} + ${INSTALL_DATA} ${WRKDIR}/${DISTNAME} ${PERL5_SITELIB}/jcode.pl + +.include "../../lang/perl5/buildlink.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/converters/p5-jcode/PLIST b/converters/p5-jcode/PLIST new file mode 100644 index 00000000000..d9ee8b4e1ec --- /dev/null +++ b/converters/p5-jcode/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1.16.2 2002/06/23 18:42:24 jlam Exp $ +${PERL5_SITELIB}/jcode.pl diff --git a/converters/p5-jcode/distinfo b/converters/p5-jcode/distinfo new file mode 100644 index 00000000000..675763104b6 --- /dev/null +++ b/converters/p5-jcode/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1.12.2 2002/06/23 18:42:25 jlam Exp $ + +SHA1 (jcode.pl-2.13) = a123c07e86addb950cb3d9b7128cff03aba12c60 +Size (jcode.pl-2.13) = 21093 bytes diff --git a/converters/p5-nkf/DESCR b/converters/p5-nkf/DESCR new file mode 100644 index 00000000000..ffd81368e75 --- /dev/null +++ b/converters/p5-nkf/DESCR @@ -0,0 +1,7 @@ +Nkf is a yet another kanji code converter among networks, hosts and terminals. +It converts input kanji code to desig- nated kanji code such as 7-bit +JIS, MS-kanji (shifted-JIS) or EUC. + +One of the most unique facicility of nkf is the guess of the input kanji +code. It currently recognizes 7-bit JIS, MS- kanji (shifted-JIS) and EUC. +So users needn't the input kanji code specification. diff --git a/converters/p5-nkf/Makefile b/converters/p5-nkf/Makefile new file mode 100644 index 00000000000..b381fa36101 --- /dev/null +++ b/converters/p5-nkf/Makefile @@ -0,0 +1,22 @@ +# $NetBSD: Makefile,v 1.1.1.1.2.2 2002/06/23 18:42:26 jlam Exp $ +# + +DISTNAME= nkf-1.7 +PKGNAME= p5-nkf-1.7 +SVR4_PKGNAME= p5nkf +CATEGORIES= japanese converters +MASTER_SITES= ftp://ftp.sra.co.jp/pub/cmd/nkf/ + +MAINTAINER= tech-pkg-ja@jp.netbsd.org +COMMENT= Perl library for Network Kanji code conversion Filter + +USE_BUILDLINK_ONLY= YES +PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/NKF/.packlist + +WRKSRC= ${WRKDIR}/${DISTNAME}/NKF + +do-configure: + @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL + +.include "../../lang/perl5/buildlink.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/converters/p5-nkf/PLIST b/converters/p5-nkf/PLIST new file mode 100644 index 00000000000..c2911f0050a --- /dev/null +++ b/converters/p5-nkf/PLIST @@ -0,0 +1 @@ +@comment $NetBSD: PLIST,v 1.1.1.1.34.2 2002/06/23 18:42:27 jlam Exp $ diff --git a/converters/p5-nkf/distinfo b/converters/p5-nkf/distinfo new file mode 100644 index 00000000000..35a286893ae --- /dev/null +++ b/converters/p5-nkf/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1.6.2 2002/06/23 18:42:27 jlam Exp $ + +SHA1 (nkf-1.7.tar.gz) = 2116864c1acc8e6f80d4c59dc63c73eb37c9e80c +Size (nkf-1.7.tar.gz) = 28222 bytes diff --git a/converters/py-koCodecs/DESCR b/converters/py-koCodecs/DESCR new file mode 100644 index 00000000000..242990aa08b --- /dev/null +++ b/converters/py-koCodecs/DESCR @@ -0,0 +1,4 @@ +This package provides Unicode codecs that make Python aware of +Korean character encoding 'EUC-KR'. By using this package, Korean +characters can be treated as a character string instead of a byte +sequence. diff --git a/converters/py-koCodecs/Makefile b/converters/py-koCodecs/Makefile new file mode 100644 index 00000000000..9d9aa1e83a0 --- /dev/null +++ b/converters/py-koCodecs/Makefile @@ -0,0 +1,16 @@ +# $NetBSD: Makefile,v 1.1.1.1.2.2 2002/06/23 18:42:29 jlam Exp $ + +DISTNAME= KoreanCodecs-2.0.2 +PKGNAME= ${PYPKGPREFIX}-koCodecs-2.0.2 +CATEGORIES= converters +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=koco/} + +MAINTAINER= perky@fallin.lv +HOMEPAGE= http://sourceforge.net/projects/koco +COMMENT= Python Unicode codecs for Korean charsets + +PYDISTUTILSPKG= yes +PYBINMODULE= yes + +.include "../../lang/python/extension.buildlink.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/converters/py-koCodecs/PLIST b/converters/py-koCodecs/PLIST new file mode 100644 index 00000000000..647d77b56ee --- /dev/null +++ b/converters/py-koCodecs/PLIST @@ -0,0 +1,55 @@ +@comment $NetBSD: PLIST,v 1.1.1.1.2.2 2002/06/23 18:42:30 jlam Exp $ +${PYSITELIB}/KoreanCodecs.pth +${PYSITELIB}/korean/__init__.py +${PYSITELIB}/korean/__init__.pyc +${PYSITELIB}/korean/c/__init__.py +${PYSITELIB}/korean/c/__init__.pyc +${PYSITELIB}/korean/c/_koco.so +${PYSITELIB}/korean/c/cp949.py +${PYSITELIB}/korean/c/cp949.pyc +${PYSITELIB}/korean/c/euc_kr.py +${PYSITELIB}/korean/c/euc_kr.pyc +${PYSITELIB}/korean/cp949.py +${PYSITELIB}/korean/cp949.pyc +${PYSITELIB}/korean/euc_kr.py +${PYSITELIB}/korean/euc_kr.pyc +${PYSITELIB}/korean/hangul.py +${PYSITELIB}/korean/hangul.pyc +${PYSITELIB}/korean/iso_2022_kr.py +${PYSITELIB}/korean/iso_2022_kr.pyc +${PYSITELIB}/korean/johab.py +${PYSITELIB}/korean/johab.pyc +${PYSITELIB}/korean/mappings/__init__.py +${PYSITELIB}/korean/mappings/__init__.pyc +${PYSITELIB}/korean/mappings/johab_ideograph.py +${PYSITELIB}/korean/mappings/johab_ideograph.pyc +${PYSITELIB}/korean/mappings/ksc5601_hangul.py +${PYSITELIB}/korean/mappings/ksc5601_hangul.pyc +${PYSITELIB}/korean/mappings/ksc5601_ideograph.py +${PYSITELIB}/korean/mappings/ksc5601_ideograph.pyc +${PYSITELIB}/korean/mappings/ksc5601_misc.py +${PYSITELIB}/korean/mappings/ksc5601_misc.pyc +${PYSITELIB}/korean/mappings/uhc.py +${PYSITELIB}/korean/mappings/uhc.pyc +${PYSITELIB}/korean/python/__init__.py +${PYSITELIB}/korean/python/__init__.pyc +${PYSITELIB}/korean/python/cp949.py +${PYSITELIB}/korean/python/cp949.pyc +${PYSITELIB}/korean/python/euc_kr.py +${PYSITELIB}/korean/python/euc_kr.pyc +${PYSITELIB}/korean/python/iso_2022_kr.py +${PYSITELIB}/korean/python/iso_2022_kr.pyc +${PYSITELIB}/korean/python/johab.py +${PYSITELIB}/korean/python/johab.pyc +${PYSITELIB}/korean/python/qwerty2bul.py +${PYSITELIB}/korean/python/qwerty2bul.pyc +${PYSITELIB}/korean/python/unijohab.py +${PYSITELIB}/korean/python/unijohab.pyc +${PYSITELIB}/korean/qwerty2bul.py +${PYSITELIB}/korean/qwerty2bul.pyc +${PYSITELIB}/korean/unijohab.py +${PYSITELIB}/korean/unijohab.pyc +@dirrm ${PYSITELIB}/korean/python +@dirrm ${PYSITELIB}/korean/mappings +@dirrm ${PYSITELIB}/korean/c +@dirrm ${PYSITELIB}/korean diff --git a/converters/py-koCodecs/distinfo b/converters/py-koCodecs/distinfo new file mode 100644 index 00000000000..39cc6e82ca4 --- /dev/null +++ b/converters/py-koCodecs/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1.2.2 2002/06/23 18:42:31 jlam Exp $ + +SHA1 (KoreanCodecs-2.0.2.tar.gz) = 958c9b3ad6dcbde98e49899ed8ea17e827b52dca +Size (KoreanCodecs-2.0.2.tar.gz) = 236218 bytes diff --git a/converters/py-zhCodecs/DESCR b/converters/py-zhCodecs/DESCR new file mode 100644 index 00000000000..122fea0e754 --- /dev/null +++ b/converters/py-zhCodecs/DESCR @@ -0,0 +1,2 @@ +This package supports Python interfaces for conversions between +Chinese and Unicode. diff --git a/converters/py-zhCodecs/Makefile b/converters/py-zhCodecs/Makefile new file mode 100644 index 00000000000..9048f73b7ba --- /dev/null +++ b/converters/py-zhCodecs/Makefile @@ -0,0 +1,22 @@ +# $NetBSD: Makefile,v 1.1.1.1.2.2 2002/06/23 18:42:33 jlam Exp $ + +DISTNAME= ChineseCodecs1.2.0 +PKGNAME= ${PYPKGPREFIX}-zhCodecs-1.2.0 +CATEGORIES= converters devel +MASTER_SITES= ftp://ftp.shellhung.org/pub/OpenBSD/packages/chinese/ \ + ftp://ftp2.python.or.kr/pub/FreeBSD/ports/distfiles/ + +MAINTAINER= shell@netbsd.org +HOMEPAGE= http://www.sourceforge.net/python-codecs/ +COMMENT= python Unicode codecs for Chinese charsets + +PYDISTUTILSPKG= # defined +PYBINMODULE= # defined + +WRKSRC= ${WRKDIR}/${DISTNAME}/Python + +post-extract: + @${CHMOD} 711 ${WRKSRC}/chinesetw + +.include "../../lang/python/extension.buildlink.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/converters/py-zhCodecs/PLIST b/converters/py-zhCodecs/PLIST new file mode 100644 index 00000000000..104c557585d --- /dev/null +++ b/converters/py-zhCodecs/PLIST @@ -0,0 +1,23 @@ +@comment $NetBSD: PLIST,v 1.1.1.1.2.2 2002/06/23 18:42:34 jlam Exp $ +${PYSITELIB}/big5_tw.py +${PYSITELIB}/big5_tw.pyc +${PYSITELIB}/chinesecn/__init__.py +${PYSITELIB}/chinesecn/__init__.pyc +${PYSITELIB}/chinesecn/euc_gb23122utf.py +${PYSITELIB}/chinesecn/euc_gb23122utf.pyc +${PYSITELIB}/chinesecn/utf2euc_gb2312.py +${PYSITELIB}/chinesecn/utf2euc_gb2312.pyc +${PYSITELIB}/chinesetw/__init__.py +${PYSITELIB}/chinesetw/__init__.pyc +${PYSITELIB}/chinesetw/big52utf1.py +${PYSITELIB}/chinesetw/big52utf1.pyc +${PYSITELIB}/chinesetw/big52utf2.py +${PYSITELIB}/chinesetw/big52utf2.pyc +${PYSITELIB}/chinesetw/utf2big51.py +${PYSITELIB}/chinesetw/utf2big51.pyc +${PYSITELIB}/chinesetw/utf2big52.py +${PYSITELIB}/chinesetw/utf2big52.pyc +${PYSITELIB}/eucgb2312_cn.py +${PYSITELIB}/eucgb2312_cn.pyc +@dirrm ${PYSITELIB}/chinesetw +@dirrm ${PYSITELIB}/chinesecn diff --git a/converters/py-zhCodecs/distinfo b/converters/py-zhCodecs/distinfo new file mode 100644 index 00000000000..cc60a92e75b --- /dev/null +++ b/converters/py-zhCodecs/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1.12.2 2002/06/23 18:42:36 jlam Exp $ + +SHA1 (ChineseCodecs1.2.0.tar.gz) = 25f20cfdd19f7ea43684960344c3555696e75d4c +Size (ChineseCodecs1.2.0.tar.gz) = 519525 bytes diff --git a/converters/qkc/DESCR b/converters/qkc/DESCR new file mode 100644 index 00000000000..a193df653ad --- /dev/null +++ b/converters/qkc/DESCR @@ -0,0 +1,4 @@ +Qkc is a kanji code converter capable of SHIFT-JIS, EUC and JIS. +Unlike nkf, qkc can handle multiple files at a time. Qkc also has +functionality to change end-of-line characters, ie, from CR+LF to LF, +or to CR, and vice versa. diff --git a/converters/qkc/Makefile b/converters/qkc/Makefile new file mode 100644 index 00000000000..6953480fdcc --- /dev/null +++ b/converters/qkc/Makefile @@ -0,0 +1,21 @@ +# $NetBSD: Makefile,v 1.1.1.1.2.2 2002/06/23 18:42:38 jlam Exp $ +# FreeBSD: ports/japanese/qkc/Makefile,v 1.15 2001/05/10 11:42:23 max Exp + +DISTNAME= qkcc100 +PKGNAME= qkc-1.0 +CATEGORIES= japanese converters +MASTER_SITES= http://hp.vector.co.jp/authors/VA000501/ +EXTRACT_SUFX= .zip + +MAINTAINER= hiramatu@boreas.dti.ne.jp +HOMEPAGE= http://hp.vector.co.jp/authors/VA000501/ +COMMENT= Quick Kanji code Converter + +WRKSRC= ${WRKDIR} +ALL_TARGET= qkc + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/qkc ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/qkc.1 ${PREFIX}/man/ja_JP.EUC/man1 + +.include "../../mk/bsd.pkg.mk" diff --git a/converters/qkc/PLIST b/converters/qkc/PLIST new file mode 100644 index 00000000000..138842fe02a --- /dev/null +++ b/converters/qkc/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1.1.1.50.2 2002/06/23 18:42:40 jlam Exp $ +bin/qkc +man/ja_JP.EUC/man1/qkc.1 diff --git a/converters/qkc/distinfo b/converters/qkc/distinfo new file mode 100644 index 00000000000..9f9443689c1 --- /dev/null +++ b/converters/qkc/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1.2.2 2002/06/23 18:42:41 jlam Exp $ + +SHA1 (qkcc100.zip) = 25b5ecc5d34c76d6e784686621e5679aeb0ded66 +Size (qkcc100.zip) = 36308 bytes diff --git a/converters/ruby-romkan/DESCR b/converters/ruby-romkan/DESCR new file mode 100644 index 00000000000..3c19f0c0694 --- /dev/null +++ b/converters/ruby-romkan/DESCR @@ -0,0 +1,2 @@ +Ruby/Romkan is a Romaji <-> Kana conversion library for Ruby. It can +convert a Japanese Romaji string to a Japanese Kana string or vice versa. diff --git a/converters/ruby-romkan/Makefile b/converters/ruby-romkan/Makefile new file mode 100644 index 00000000000..330b60fd232 --- /dev/null +++ b/converters/ruby-romkan/Makefile @@ -0,0 +1,29 @@ +# $NetBSD: Makefile,v 1.1.1.1.2.2 2002/06/23 18:42:44 jlam Exp $ + +DISTNAME= ruby-romkan-0.4 +CATEGORIES= japanese converters +MASTER_SITES= http://namazu.org/~satoru/ruby-romkan/ + +MAINTAINER= packages@netbsd.org +HOMEPAGE= http://namazu.org/~satoru/ruby-romkan/ +COMMENT= Romaji <-> Kana conversion library for Ruby + +DIST_SUBDIR= ruby +USE_RUBY_RD= # defined +NO_CONFIGURE= # defined + +do-build: + cd ${WRKSRC}; ${RUBY_RD} romkan.en.rd > romkan.html + cd ${WRKSRC}; ${RUBY_RD} romkan.ja.rd > romkan.html.ja + +do-install: + ${INSTALL_DATA} ${WRKSRC}/romkan.rb ${RUBY_SITELIBDIR} + ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/romkan + ${INSTALL_DATA} ${WRKSRC}/romkan.html ${RUBY_DOCDIR}/romkan + ${INSTALL_DATA} ${WRKSRC}/romkan.html.ja ${RUBY_DOCDIR}/romkan + ${INSTALL_DATA} ${WRKSRC}/romkan.en.rd ${RUBY_DOCDIR}/romkan/romkan.rd + ${INSTALL_DATA} ${WRKSRC}/romkan.ja.rd ${RUBY_DOCDIR}/romkan + +.include "../../textproc/ruby-rdtool/Makefile.common" +.include "../../lang/ruby-base/Makefile.common" +.include "../../mk/bsd.pkg.mk" diff --git a/converters/ruby-romkan/PLIST b/converters/ruby-romkan/PLIST new file mode 100644 index 00000000000..02eaa9f23c0 --- /dev/null +++ b/converters/ruby-romkan/PLIST @@ -0,0 +1,7 @@ +@comment $NetBSD: PLIST,v 1.1.1.1.38.2 2002/06/23 18:42:46 jlam Exp $ +${RUBY_SITELIBDIR}/romkan.rb +${RUBY_DOCDIR}/romkan/romkan.html +${RUBY_DOCDIR}/romkan/romkan.html.ja +${RUBY_DOCDIR}/romkan/romkan.ja.rd +${RUBY_DOCDIR}/romkan/romkan.rd +@dirrm ${RUBY_DOCDIR}/romkan diff --git a/converters/ruby-romkan/distinfo b/converters/ruby-romkan/distinfo new file mode 100644 index 00000000000..ef371541e6c --- /dev/null +++ b/converters/ruby-romkan/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1.12.2 2002/06/23 18:42:47 jlam Exp $ + +SHA1 (ruby/ruby-romkan-0.4.tar.gz) = 316b95ac4c8914fd1020d9b0893c870ace68a144 +Size (ruby/ruby-romkan-0.4.tar.gz) = 4653 bytes diff --git a/converters/ruby-uconv/DESCR b/converters/ruby-uconv/DESCR new file mode 100644 index 00000000000..b7d28c5cc57 --- /dev/null +++ b/converters/ruby-uconv/DESCR @@ -0,0 +1,7 @@ +This is an Unicode conversion library with Japanese codesets support +for Ruby. + +Supported character encoding schemes are UCS-4, UTF-16, UTF-8, EUC-JP, +CP932 (a variant of Shift_JIS for Japanese Windows). + +WWW: http://www.yoshidam.net/Ruby.html#uconv diff --git a/converters/ruby-uconv/Makefile b/converters/ruby-uconv/Makefile new file mode 100644 index 00000000000..e3860565f31 --- /dev/null +++ b/converters/ruby-uconv/Makefile @@ -0,0 +1,35 @@ +# $NetBSD: Makefile,v 1.1.1.1.2.2 2002/06/23 18:42:48 jlam Exp $ +# FreeBSD: ports/japanese/ruby-uconv/Makefile,v 1.8 2001/01/30 19:26:22 knu Exp + +DISTNAME= uconv-0.4.9 +PKGNAME= ${RUBY_PKGNAMEPREFIX}${DISTNAME} +CATEGORIES= japanese converters +MASTER_SITES= http://www.yoshidam.net/ + +MAINTAINER= taca@netbsd.org +HOMEPAGE= http://www.yoshidam.net/Ruby.html#uconv +COMMENT= Unicode conversion library with Japanese codesets support + +DIST_SUBDIR= ruby +USE_RUBY= yes +USE_RUBY_EXTCONF= yes + +WRKSRC= ${WRKDIR}/uconv +INSTALL_TARGET= site-install + +REPLACE_RUBY= samples/euc2unicode.rb samples/unicode2euc.rb \ + samples/xmlconv.rb +EXAMPLES= euc2unicode.rb test_euc.txt test_euc.xml trilang.xml \ + unicode2euc.rb xmlconv.rb + +post-install: + ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/uconv +.for f in ${EXAMPLES} + ${INSTALL_DATA} ${WRKSRC}/samples/${f} ${RUBY_EXAMPLESDIR}/uconv +.endfor + ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/uconv + ${INSTALL_DATA} ${WRKSRC}/README ${RUBY_DOCDIR}/uconv + ${INSTALL_DATA} ${WRKSRC}/README.ja ${RUBY_DOCDIR}/uconv + +.include "../../lang/ruby-base/Makefile.common" +.include "../../mk/bsd.pkg.mk" diff --git a/converters/ruby-uconv/PLIST b/converters/ruby-uconv/PLIST new file mode 100644 index 00000000000..3b8b90b95c2 --- /dev/null +++ b/converters/ruby-uconv/PLIST @@ -0,0 +1,12 @@ +@comment $NetBSD: PLIST,v 1.1.1.1.10.2 2002/06/23 18:42:49 jlam Exp $ +${RUBY_SITEARCHLIBDIR}/uconv.so +${RUBY_DOCDIR}/uconv/README +${RUBY_DOCDIR}/uconv/README.ja +@dirrm ${RUBY_DOCDIR}/uconv +${RUBY_EXAMPLESDIR}/uconv/euc2unicode.rb +${RUBY_EXAMPLESDIR}/uconv/test_euc.txt +${RUBY_EXAMPLESDIR}/uconv/test_euc.xml +${RUBY_EXAMPLESDIR}/uconv/trilang.xml +${RUBY_EXAMPLESDIR}/uconv/unicode2euc.rb +${RUBY_EXAMPLESDIR}/uconv/xmlconv.rb +@dirrm ${RUBY_EXAMPLESDIR}/uconv diff --git a/converters/ruby-uconv/distinfo b/converters/ruby-uconv/distinfo new file mode 100644 index 00000000000..268755b2e57 --- /dev/null +++ b/converters/ruby-uconv/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1.10.2 2002/06/23 18:42:50 jlam Exp $ + +SHA1 (ruby/uconv-0.4.9.tar.gz) = 28f5692fa4705fdefa19dc9fbc7470c0f01cc750 +Size (ruby/uconv-0.4.9.tar.gz) = 585698 bytes diff --git a/converters/tex2rtf/DESCR b/converters/tex2rtf/DESCR new file mode 100644 index 00000000000..9caaea10c7e --- /dev/null +++ b/converters/tex2rtf/DESCR @@ -0,0 +1,6 @@ +Tex2RTF is a program written by Julian Smart (julian.smart@ukonline.co.uk) +to convert from a LaTeX subset to four other formats: + * Linear RTF, for importing into a wide range of word processors. + * Windows Help hypertext RTF, for compilation with HC (Help Compiler). + * HTML (Hypertext Markup Language), as used on the World Wide Web. + * XLP wxHelp format (the wxWindows toolkit help format). diff --git a/converters/tex2rtf/Makefile b/converters/tex2rtf/Makefile new file mode 100644 index 00000000000..05a89e6db0e --- /dev/null +++ b/converters/tex2rtf/Makefile @@ -0,0 +1,22 @@ +# $NetBSD: Makefile,v 1.1.1.1.2.2 2002/06/23 18:42:52 jlam Exp $ + +DISTNAME= tex2rtf164_source +PKGNAME= tex2rtf-164 +CATEGORIES= converters textproc +MASTER_SITES= ftp://www.remstar.com/pub/wxwin/tex2rtf/ \ + ftp://ftp.sunet.se/pub7/lang/wxwin/tex2rtf/ +EXTRACT_SUFX= .zip + +MAINTAINER= collver@linuxfreemail.com +HOMEPAGE= http://web.ukonline.co.uk/julian.smart/tex2rtf/ +COMMENT= LaTex-to-RTF translator + +WRKSRC= ${WRKDIR}/src + +do-build: + cd ${WRKSRC} && make -f makefile.unx nogui + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/tex2rtf_nogui ${PREFIX}/bin/tex2rtf + +.include "../../mk/bsd.pkg.mk" diff --git a/converters/tex2rtf/PLIST b/converters/tex2rtf/PLIST new file mode 100644 index 00000000000..ef04d4346d7 --- /dev/null +++ b/converters/tex2rtf/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1.50.2 2002/06/23 18:42:53 jlam Exp $ +bin/tex2rtf diff --git a/converters/tex2rtf/distinfo b/converters/tex2rtf/distinfo new file mode 100644 index 00000000000..133b2618b24 --- /dev/null +++ b/converters/tex2rtf/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1.4.2 2002/06/23 18:42:54 jlam Exp $ + +SHA1 (tex2rtf164_source.zip) = 553e76b3ffd7e0a670427ea27a4cdaab3cee4d72 +Size (tex2rtf164_source.zip) = 310555 bytes +SHA1 (patch-aa) = 08b848150d26177e8401a0538fe9ea49395c1a5e +SHA1 (patch-ab) = fbb7a7733670acc96f86765c7c3d34baeab4a061 diff --git a/converters/tex2rtf/patches/patch-aa b/converters/tex2rtf/patches/patch-aa new file mode 100644 index 00000000000..f03ff093092 --- /dev/null +++ b/converters/tex2rtf/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1.6.2 2002/06/23 18:42:55 jlam Exp $ + +--- make.env.orig Thu Sep 12 11:58:42 1996 ++++ make.env +@@ -56,7 +56,7 @@ + # Sun with GCC: nothing + # Solaris: -lgen -ldl -lsocket -lnsl + # SGI: -lPW +-COMPLIBS=-lg++ ++COMPLIBS=-lstdc++ + + # HP-specific compiler library: an AIAI convenience + HPCOMPLIBS= diff --git a/converters/tex2rtf/patches/patch-ab b/converters/tex2rtf/patches/patch-ab new file mode 100644 index 00000000000..2429d67c74e --- /dev/null +++ b/converters/tex2rtf/patches/patch-ab @@ -0,0 +1,22 @@ +$NetBSD: patch-ab,v 1.1.1.1.6.2 2002/06/23 18:42:56 jlam Exp $ + +--- makefile.unx.orig Sun Nov 23 17:55:48 1997 ++++ makefile.unx +@@ -2,7 +2,7 @@ + # Valid targets: xview, motif or nogui. These should produce + # the executables tex2rtf_ol, tex2rtf_motif and tex2rtf_nogui respectively. + +-WXDIR = ../../.. ++WXDIR = .. + + # All common UNIX compiler flags and options are now in + # this central makefile. +@@ -25,7 +25,7 @@ + + TEX2ANYLIB = $(TEX2RTFDIR)/lib/libtex2any$(GUISUFFIX).a + +-INC = -I$(WXDIR)/include/base -I$(WXDIR)/include/x -I$(WXHELPDIR)/src $(COMPPATHS) ++INC = -I$(WXDIR)/include/base -I$(WXDIR)/include/x -I$(WXHELPDIR)/src -I$(WXDIR)/src/wxwin $(COMPPATHS) + + LDFLAGS = $(XLIB) -L$(WXDIR)/lib -L$(TEX2RTFDIR)/lib + diff --git a/converters/ttf2pt1/Makefile b/converters/ttf2pt1/Makefile index aa66818bf9a..efc22faf87f 100644 --- a/converters/ttf2pt1/Makefile +++ b/converters/ttf2pt1/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.1 2002/01/02 20:30:16 reinoud Exp $ +# $NetBSD: Makefile,v 1.1.2.1 2002/06/23 18:42:56 jlam Exp $ # DISTNAME= ttf2pt1-3.4.0 +PKGREVISION= 2 CATEGORIES= converters MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ttf2pt1/} EXTRACT_SUFX= .tgz @@ -10,4 +11,9 @@ MAINTAINER= reinoud@netbsd.org HOMEPAGE= http://ttf2pt1.sourceforge.net COMMENT= TrueType font converter to Postscript type 1 +DEPENDS+= t1utils-[0-9]*:../../textproc/t1utils + +USE_CONFIG_WRAPPER= yes + +.include "../../graphics/freetype2/buildlink.mk" .include "../../mk/bsd.pkg.mk" diff --git a/converters/ttf2pt1/PLIST b/converters/ttf2pt1/PLIST index 3712ab956b8..34eac09a030 100644 --- a/converters/ttf2pt1/PLIST +++ b/converters/ttf2pt1/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.2 2002/02/05 22:39:01 skrll Exp $ +@comment $NetBSD: PLIST,v 1.2.2.1 2002/06/23 18:42:57 jlam Exp $ bin/ttf2pt1 bin/ttf2pt1_convert bin/ttf2pt1_x2gs @@ -13,7 +13,6 @@ share/ttf2pt1/FONTS.hpux share/ttf2pt1/FONTS.hpux.html share/ttf2pt1/FONTS.html share/ttf2pt1/README -share/ttf2pt1/README.FIRST share/ttf2pt1/README.html share/ttf2pt1/app/RPM/ttf2pt1.spec.src share/ttf2pt1/app/X11/README @@ -101,5 +100,3 @@ share/ttf2pt1/scripts/x2gs @dirrm share/ttf2pt1/app/RPM @dirrm share/ttf2pt1/app @dirrm share/ttf2pt1 -@exec ${MKDIR} -p %D/libexec/ttf2pt1 -@dirrm libexec/ttf2pt1 diff --git a/converters/ttf2pt1/distinfo b/converters/ttf2pt1/distinfo index d27e68f0731..120bff4e137 100644 --- a/converters/ttf2pt1/distinfo +++ b/converters/ttf2pt1/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.1 2002/01/02 20:30:17 reinoud Exp $ +$NetBSD: distinfo,v 1.1.2.1 2002/06/23 18:42:58 jlam Exp $ SHA1 (ttf2pt1-3.4.0.tgz) = 1e11478ab5f6dae26ea743dc1149603d652746bb Size (ttf2pt1-3.4.0.tgz) = 204811 bytes -SHA1 (patch-aa) = a74ad2bcaa3d4fd12973f229f53e0d5e42215368 +SHA1 (patch-aa) = 798855010e4c1615ac25050e21771103c92f2fff diff --git a/converters/ttf2pt1/patches/patch-aa b/converters/ttf2pt1/patches/patch-aa index 2757b076544..3a49ac765d2 100644 --- a/converters/ttf2pt1/patches/patch-aa +++ b/converters/ttf2pt1/patches/patch-aa @@ -1,8 +1,8 @@ -$NetBSD: patch-aa,v 1.1 2002/01/02 20:30:18 reinoud Exp $ +$NetBSD: patch-aa,v 1.1.2.1 2002/06/23 18:42:58 jlam Exp $ --- Makefile.orig Mon Oct 15 04:32:29 2001 +++ Makefile -@@ -20,11 +20,11 @@ +@@ -20,7 +20,7 @@ # # Default @@ -11,12 +11,37 @@ $NetBSD: patch-aa,v 1.1 2002/01/02 20:30:18 reinoud Exp $ # For GNU C # --#CFLAGS_SYS= -O2 -+CFLAGS_SYS= -O2 - # - # For GNU C with long options support library (Linux etc.) - # -@@ -93,7 +93,7 @@ +@@ -54,7 +54,7 @@ + # This WON'T BUILD with FT2-beta8, use the FreeType release 2.0. + # http://download.sourceforge.net/freetype/freetype-2.0.tar.gz + +-CFLAGS_FT= ++CFLAGS_FT= -DUSE_FREETYPE `${FREETYPE_CONFIG} --cflags` + + # To enable use of the FreeType-2 library + # (if the include and lib directory do not match your installation, +@@ -65,7 +65,7 @@ + # + # The FreeType-2 library flags (disabled by default) + +-LIBS_FT= ++LIBS_FT= `${FREETYPE_CONFIG} --libs` -Wl,-R`${FREETYPE_CONFIG} --prefix`/lib + + # To enable use of the FreeType-2 library + # (if the include and lib directory do not match your installation, +@@ -84,20 +84,20 @@ + #CFLAGS_PREF= -DPREFER_FREETYPE + + # Uncomment the second line to not compile t1asm into ttf2pt1 +-CFLAGS_EXTT1ASM= +-#CFLAGS_EXTT1ASM= -DEXTERNAL_T1ASM ++#CFLAGS_EXTT1ASM= ++CFLAGS_EXTT1ASM= -DEXTERNAL_T1ASM + +-CFLAGS= $(CFLAGS_SYS) $(CFLAGS_FT) $(CFLAGS_PREF) ++CFLAGS+= $(CFLAGS_SYS) $(CFLAGS_FT) $(CFLAGS_PREF) + LIBS= $(LIBS_SYS) $(LIBS_FT) + # Installation-related stuff # # The base dir for installation and subdirs in it @@ -25,41 +50,27 @@ $NetBSD: patch-aa,v 1.1 2002/01/02 20:30:18 reinoud Exp $ # for binaries BINDIR = $(INSTDIR)/bin # for binaries of little general interest -@@ -123,7 +123,7 @@ +-LIBXDIR = $(INSTDIR)/libexec/ttf2pt1 ++LIBXDIR = $(INSTDIR)/bin + # for scripts, maps/encodings etc. + SHAREDIR = $(INSTDIR)/share/ttf2pt1 + MANDIR = $(INSTDIR)/man +@@ -118,12 +118,12 @@ + app/X11/README app/netscape/README + + SUBDIRS = app encodings maps scripts other +-TXTFILES = README* FONTS* CHANGES* COPYRIGHT ++TXTFILES = README README.html FONTS* CHANGES* COPYRIGHT + MANS1=ttf2pt1.1 ttf2pt1_convert.1 ttf2pt1_x2gs.1 MANS=$(MANS1) $(MANS5) -all: t1asm ttf2pt1 docs mans rpm -+all: t1asm ttf2pt1 docs mans ++all: ttf2pt1 docs mans docs: $(DOCS) -@@ -136,7 +136,7 @@ - veryclean: clean - rm -f $(DOCS) $(MANS) - --rpm: app/RPM/Makefile app/RPM/ttf2pt1.spec -+#rpm: app/RPM/Makefile app/RPM/ttf2pt1.spec - - ttf2pt1.1: README.html - scripts/html2man . . <README.html -@@ -144,11 +144,11 @@ - ttf2pt1_convert.1 ttf2pt1_x2gs.1: FONTS.html - scripts/html2man . . <FONTS.html - --app/RPM/Makefile: Makefile -- sed 's/^CFLAGS_SYS.*=.*$$/CFLAGS_SYS= -O2 -D_GNU_SOURCE/;/warning:/,/^$$/s/^/#/' <Makefile >app/RPM/Makefile -+#app/RPM/Makefile: Makefile -+# sed 's/^CFLAGS_SYS.*=.*$$/CFLAGS_SYS= -O2 -D_GNU_SOURCE/;/warning:/,/^$$/s/^/#/' <Makefile >app/RPM/Makefile - --app/RPM/ttf2pt1.spec: app/RPM/ttf2pt1.spec.src version.h -- sed 's/^Version:.*/Version: '`grep TTF2PT1_VERSION version.h| cut -d\" -f2`'/' <app/RPM/ttf2pt1.spec.src >$@ -+#app/RPM/ttf2pt1.spec: app/RPM/ttf2pt1.spec.src version.h -+# sed 's/^Version:.*/Version: '`grep TTF2PT1_VERSION version.h| cut -d\" -f2`'/' <app/RPM/ttf2pt1.spec.src >$@ - - t1asm: t1asm.c - $(CC) $(CFLAGS) -o t1asm -DSTANDALONE t1asm.c $(LIBS) -@@ -202,24 +202,24 @@ +@@ -202,31 +202,21 @@ scripts/unhtml <FONTS.hpux.html >FONTS.hpux install: all @@ -68,29 +79,35 @@ $NetBSD: patch-aa,v 1.1 2002/01/02 20:30:18 reinoud Exp $ - scripts/inst_dir $(SHAREDIR) - scripts/inst_dir $(MANDIR)/man1 - scripts/inst_dir $(MANDIR)/man5 -+ install -d $(BINDIR) -+ install -d $(LIBXDIR) -+ install -d $(SHAREDIR) -+ install -d $(MANDIR)/man1 -+ install -d $(MANDIR)/man5 - cp -R $(TXTFILES) $(SUBDIRS) $(SHAREDIR) - chown -R $(OWNER) $(SHAREDIR) - chgrp -R $(GROUP) $(SHAREDIR) - chmod -R go-w $(SHAREDIR) +- cp -R $(TXTFILES) $(SUBDIRS) $(SHAREDIR) +- chown -R $(OWNER) $(SHAREDIR) +- chgrp -R $(GROUP) $(SHAREDIR) +- chmod -R go-w $(SHAREDIR) - scripts/inst_file ttf2pt1 $(BINDIR)/ttf2pt1 $(OWNER) $(GROUP) 0755 - [ -f $(BINDIR)/t1asm ] || scripts/inst_file t1asm $(LIBXDIR)/t1asm $(OWNER) $(GROUP) 0755 -+ install -c -o $(OWNER) -g $(GROUP) -m 0755 ttf2pt1 $(BINDIR) -+ [ -f $(BINDIR)/t1asm ] || install -c -o $(OWNER) -g $(GROUP) -m 0755 t1asm $(LIBXDIR)/t1asm ++ $(BSD_INSTALL_DATA_DIR) $(SHAREDIR) ++ cp -Rf $(TXTFILES) $(SUBDIRS) $(SHAREDIR) ++ $(BSD_INSTALL_PROGRAM) ttf2pt1 $(BINDIR) sed 's|^TTF2PT1_BINDIR=$$|TTF2PT1_BINDIR=$(BINDIR)|;\ s|^TTF2PT1_LIBXDIR=$$|TTF2PT1_LIBXDIR=$(LIBXDIR)|;\ s|^TTF2PT1_SHAREDIR=$$|TTF2PT1_SHAREDIR=$(SHAREDIR)|;' <scripts/convert >cvt.tmp - scripts/inst_file cvt.tmp $(BINDIR)/ttf2pt1_convert $(OWNER) $(GROUP) 0755 - scripts/inst_file cvt.tmp $(SHAREDIR)/scripts/convert $(OWNER) $(GROUP) 0755 -+ install -c -o $(OWNER) -g $(GROUP) -m 0755 cvt.tmp $(BINDIR)/ttf2pt1_convert -+ install -c -o $(OWNER) -g $(GROUP) -m 0755 cvt.tmp $(SHAREDIR)/scripts/convert - rm cvt.tmp +- rm cvt.tmp - scripts/inst_file scripts/x2gs $(BINDIR)/ttf2pt1_x2gs $(OWNER) $(GROUP) 0755 -+ install -c -o $(OWNER) -g $(GROUP) -m 0755 scripts/x2gs $(BINDIR)/ttf2pt1_x2gs ++ $(BSD_INSTALL_SCRIPT) cvt.tmp $(BINDIR)/ttf2pt1_convert ++ rm -f cvt.tmp ++ $(BSD_INSTALL_SCRIPT) scripts/x2gs $(BINDIR)/ttf2pt1_x2gs for i in $(MANS1); do { \ sed 's|TTF2PT1_BINDIR|$(BINDIR)|;\ s|TTF2PT1_LIBXDIR|$(LIBXDIR)|;\ +- s|TTF2PT1_SHAREDIR|$(SHAREDIR)|;' <$$i >$(MANDIR)/man1/$$i \ +- && chown $(OWNER) $(MANDIR)/man1/$$i \ +- && chgrp $(GROUP) $(MANDIR)/man1/$$i \ +- && chmod 0644 $(MANDIR)/man1/$$i \ ++ s|TTF2PT1_SHAREDIR|$(SHAREDIR)|;' <$$i >$$i.tmp \ ++ && $(BSD_INSTALL_MAN) $$i.tmp $(MANDIR)/man1/$$i \ ++ && rm -f $$i.tmp \ + || exit 1; \ + } done + |