From owner-svn-ports-all@FreeBSD.ORG Fri Sep 27 12:33:08 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id AD71C105; Fri, 27 Sep 2013 12:33:08 +0000 (UTC) (envelope-from vanilla@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9AD4F2961; Fri, 27 Sep 2013 12:33:08 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r8RCX83d069756; Fri, 27 Sep 2013 12:33:08 GMT (envelope-from vanilla@svn.freebsd.org) Received: (from vanilla@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r8RCX7LG069752; Fri, 27 Sep 2013 12:33:07 GMT (envelope-from vanilla@svn.freebsd.org) Message-Id: <201309271233.r8RCX7LG069752@svn.freebsd.org> From: "Vanilla I. Shu" Date: Fri, 27 Sep 2013 12:33:07 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r328460 - in head/chinese: autoconvert autoconvert/files wenju X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Sep 2013 12:33:08 -0000 Author: vanilla Date: Fri Sep 27 12:33:07 2013 New Revision: 328460 URL: http://svnweb.freebsd.org/changeset/ports/328460 Log: Support stage. Added: head/chinese/autoconvert/files/patch-autogb.c (contents, props changed) Modified: head/chinese/autoconvert/Makefile head/chinese/autoconvert/files/patch-Makefile head/chinese/wenju/Makefile Modified: head/chinese/autoconvert/Makefile ============================================================================== --- head/chinese/autoconvert/Makefile Fri Sep 27 12:27:55 2013 (r328459) +++ head/chinese/autoconvert/Makefile Fri Sep 27 12:33:07 2013 (r328460) @@ -24,7 +24,6 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVER PROJECTHOST= libhz -NO_STAGE= yes .include post-patch: @@ -32,8 +31,8 @@ post-patch: post-install: .if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR}/ - cd ${WRKSRC}/ && ${INSTALL_DATA} ChangeLog Readme TODO Thanks Version ${DOCSDIR}/ + ${MKDIR} ${STAGEDIR}/${DOCSDIR} + cd ${WRKSRC}/ && ${INSTALL_DATA} ChangeLog Readme TODO Thanks Version ${STAGEDIR}/${DOCSDIR} .endif .include Modified: head/chinese/autoconvert/files/patch-Makefile ============================================================================== --- head/chinese/autoconvert/files/patch-Makefile Fri Sep 27 12:27:55 2013 (r328459) +++ head/chinese/autoconvert/files/patch-Makefile Fri Sep 27 12:33:07 2013 (r328460) @@ -1,6 +1,6 @@ --- Makefile.orig 2001-04-28 09:45:46.000000000 +0800 -+++ Makefile 2010-06-30 10:13:29.000000000 +0800 -@@ -1,7 +1,6 @@ ++++ Makefile 2013-09-27 20:16:44.000000000 +0800 +@@ -1,11 +1,10 @@ -CC=gcc -CFLAG=-O2 -g -Wall -Iinclude @@ -10,7 +10,12 @@ .PHONY: all hzlib clean install-home install -@@ -30,12 +29,11 @@ install-home: +-all: autob5 autogb hzlib xchat-plugins ++all: autob5 autogb hzlib + + autob5: autogb + rm -f autob5;ln -s autogb autob5 +@@ -30,12 +29,9 @@ install-home: ln -s $(HOME)/bin/autogb $(HOME)/bin/autob5 chmod 755 $(HOME)/bin/autogb install: @@ -23,11 +28,9 @@ - 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 -+ ${BSD_INSTALL_PROGRAM} autogb $(PREFIX)/bin -+ ${BSD_INSTALL_PROGRAM} lib/libhz.so.0.0 $(PREFIX)/lib/libhz.so.0 -+ cd $(PREFIX)/lib;ln -s libhz.so.0 libhz.so -+ ${BSD_INSTALL_PROGRAM} lib/libhz.a $(PREFIX)/lib -+ #${BSD_INSTALL_PROGRAM} contrib/xchat-plugins/xchat-autogb.so $(PREFIX)/share/autoconvert -+ #${BSD_INSTALL_PROGRAM} contrib/xchat-plugins/xchat-autob5.so $(PREFIX)/share/autoconvert -+ ${BSD_INSTALL_DATA} include/*.h $(PREFIX)/include -+ ln -s autogb $(PREFIX)/bin/autob5 ++ ${BSD_INSTALL_PROGRAM} autogb $(DESTDIR)/$(PREFIX)/bin ++ ${BSD_INSTALL_PROGRAM} lib/libhz.so.0.0 $(DESTDIR)/$(PREFIX)/lib/libhz.so.0 ++ ln -sf libhz.so.0 $(DESTDIR)/$(PREFIX)//lib/libhz.so ++ ${BSD_INSTALL_PROGRAM} lib/libhz.a $(DESTDIR)/$(PREFIX)/lib ++ ${BSD_INSTALL_DATA} include/*.h $(DESTDIR)/$(PREFIX)/include ++ ln -sf autogb $(DESTDIR)/$(PREFIX)/bin/autob5 Added: head/chinese/autoconvert/files/patch-autogb.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/chinese/autoconvert/files/patch-autogb.c Fri Sep 27 12:33:07 2013 (r328460) @@ -0,0 +1,16 @@ +--- autogb.c.orig 2013-09-27 20:12:01.000000000 +0800 ++++ autogb.c 2013-09-27 20:13:53.000000000 +0800 +@@ -26,9 +26,13 @@ Boston, MA 02111-1307, USA. + //$Header: /home/prog/autoconvert/autogb.c,v 1.7 2001/04/23 14:18:06 ygh Exp $ + + #include ++#include ++#include ++#include + #include + #include "hz.h" + ++extern int conv_str(char *); + + /* Print help and exit */ + void print_help(char* filename){ Modified: head/chinese/wenju/Makefile ============================================================================== --- head/chinese/wenju/Makefile Fri Sep 27 12:27:55 2013 (r328459) +++ head/chinese/wenju/Makefile Fri Sep 27 12:33:07 2013 (r328460) @@ -17,7 +17,6 @@ USE_LDCONFIG= yes OPTIONS_DEFINE= NLS -NO_STAGE= yes .include .if ${PORT_OPTIONS:MNLS} @@ -28,7 +27,4 @@ CONFIGURE_ARGS= --disable-nls PLIST_SUB+= NLS="@comment " .endif -post-install: - ${LOCALBASE}/bin/gtk-query-immodules-2.0 > ${PREFIX}/etc/gtk-2.0/gtk.immodules - .include