Date: Mon, 8 Jan 2001 10:19:47 +0800 (CST) From: leeym@bsd.ce.ntu.edu.tw To: FreeBSD-gnats-submit@freebsd.org Subject: ports/24140: update port: converters/cn2jp Message-ID: <200101080219.f082JkG09227@utopia.leeym.com>
next in thread | raw e-mail | index | archive | help
>Number: 24140 >Category: ports >Synopsis: update port: converters/cn2jp >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Jan 07 18:20:00 PST 2001 >Closed-Date: >Last-Modified: >Originator: Yen-Ming Lee >Release: FreeBSD 4.2-STABLE i386 >Organization: >Environment: 4.x-STABLE >Description: add shared library libcn2jp.so >How-To-Repeat: >Fix: diff -ruN /usr/ports/converters/cn2jp/Makefile converters/cn2jp/Makefile --- /usr/ports/converters/cn2jp/Makefile Tue Dec 12 01:32:52 2000 +++ converters/cn2jp/Makefile Mon Jan 8 10:13:53 2001 @@ -7,6 +7,7 @@ PORTNAME= cn2jp PORTVERSION= 1.4b +PORTREVISION= 1 CATEGORIES= converters chinese japanese MASTER_SITES= http://w3.sys.es.osaka-u.ac.jp/~seke/software/cn2jp/ DISTNAME= ${PORTNAME}${PORTVERSION} @@ -19,11 +20,13 @@ TEST_PROGRAM= big2gb/b2g big2jis/b2j gb2big/g2b gb2jis/g2j jis2big/j2b jis2gb/j2g do-install: - @${INSTALL_DATA} ${WRKSRC}/libcn2jp.a ${PREFIX}/lib .for test_program in ${TEST_PROGRAM} @${INSTALL_PROGRAM} ${WRKSRC}/${test_program} ${PREFIX}/bin .endfor @${MKDIR} ${PREFIX}/share/cn2jp @${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/cn2jp/README + @${INSTALL_DATA} ${WRKSRC}/libcn2jp.a ${PREFIX}/lib + @${INSTALL_DATA} ${WRKSRC}/libcn2jp.so ${PREFIX}/lib/libcn2jp.so.1 + @cd ${PREFIX}/lib/; ${LN} -sf libcn2jp.so.1 libcn2jp.so .include <bsd.port.mk> diff -ruN /usr/ports/converters/cn2jp/files/patch-aa converters/cn2jp/files/patch-aa --- /usr/ports/converters/cn2jp/files/patch-aa Tue Dec 12 01:32:56 2000 +++ converters/cn2jp/files/patch-aa Mon Jan 8 09:59:53 2001 @@ -108,8 +108,13 @@ tar: echo "Produce table`date '+%m%d'`.tar..." --- Makefile.orig Tue Feb 27 22:35:44 1996 -+++ Makefile Sun Dec 10 10:43:11 2000 -@@ -18,6 +18,7 @@ ++++ Makefile Mon Jan 8 09:59:11 2001 +@@ -14,10 +14,11 @@ + lib/py-tbl.o lib/uzpj-tbl.o lib/uzpj-util.o \ + hz2gb.o gb2hz.o SINO.o jp-util2.o + +-all: makeall libcn2jp.a ++all: makeall libcn2jp.a libcn2jp.so makeall: @@ -117,11 +122,17 @@ cd lib; make; cd .. cd big2jis; make; cd .. cd jis2big; make; cd .. -@@ -30,7 +31,6 @@ +@@ -28,9 +29,11 @@ + + libcn2jp.a: $(OBJS) rm -f libcn2jp.a - ar r libcn2jp.a $(OBJS) +- ar r libcn2jp.a $(OBJS) ++ ar cru libcn2jp.a $(OBJS) ranlib libcn2jp.a - cp libcn2jp.a ../../../lib/libcn2jp.a ++ ++libcn2jp.so: $(OBJS) ++ ld -o libcn2jp.so $(OBJS) -shared -soname libcn2jp.so gb2hz.o: lib/gb2hz.c $(CC) -c lib/gb2hz.c diff -ruN /usr/ports/converters/cn2jp/pkg-comment converters/cn2jp/pkg-comment --- /usr/ports/converters/cn2jp/pkg-comment Tue Dec 12 01:32:52 2000 +++ converters/cn2jp/pkg-comment Mon Jan 8 10:15:41 2001 @@ -1 +1 @@ -cn2jp -- library for code translation between Chinese and Japanese +A library for code translation between Chinese and Japanese diff -ruN /usr/ports/converters/cn2jp/pkg-plist converters/cn2jp/pkg-plist --- /usr/ports/converters/cn2jp/pkg-plist Tue Dec 12 01:32:53 2000 +++ converters/cn2jp/pkg-plist Mon Jan 8 09:42:56 2001 @@ -5,5 +5,7 @@ bin/j2b bin/j2g lib/libcn2jp.a +lib/libcn2jp.so +lib/libcn2jp.so.1 share/cn2jp/README @dirrm share/cn2jp >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101080219.f082JkG09227>