From owner-svn-ports-all@FreeBSD.ORG Sun Dec 9 20:00:20 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C4EA19FE; Sun, 9 Dec 2012 20:00:20 +0000 (UTC) (envelope-from kwm@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id AA1BF8FC16; Sun, 9 Dec 2012 20:00:20 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qB9K0KNl017842; Sun, 9 Dec 2012 20:00:20 GMT (envelope-from kwm@svn.freebsd.org) Received: (from kwm@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qB9K0Kvi017840; Sun, 9 Dec 2012 20:00:20 GMT (envelope-from kwm@svn.freebsd.org) Message-Id: <201212092000.qB9K0Kvi017840@svn.freebsd.org> From: Koop Mast Date: Sun, 9 Dec 2012 20:00:20 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r308560 - head/converters/libiconv 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: Sun, 09 Dec 2012 20:00:20 -0000 Author: kwm Date: Sun Dec 9 20:00:19 2012 New Revision: 308560 URL: http://svnweb.freebsd.org/changeset/ports/308560 Log: Reenable the patch to fix CP932 and add EUCJP-MS. While here trim header and convert to OptionsNG. PR: ports/173986 Submitted by: Takumi Takahashi Modified: head/converters/libiconv/Makefile head/converters/libiconv/distinfo Modified: head/converters/libiconv/Makefile ============================================================================== --- head/converters/libiconv/Makefile Sun Dec 9 19:43:48 2012 (r308559) +++ head/converters/libiconv/Makefile Sun Dec 9 20:00:19 2012 (r308560) @@ -1,9 +1,5 @@ -# New ports collection makefile for: libiconv -# Date created: 17 July 2000 -# Whom: Maxim Sobolev -# +# Created by: Maxim Sobolev # $FreeBSD$ -# PORTNAME= libiconv PORTVERSION= 1.14 @@ -28,29 +24,31 @@ MAKE_JOBS_UNSAFE= yes MAN1= iconv.1 MAN3= iconv.3 iconv_open.3 iconv_open_into.3 iconv_close.3 iconvctl.3 -OPTIONS= EXTRA_ENCODINGS "Include extra character sets" on -# EXTRA_PATCHES "Apply patches to fix CP932, add EUCJP-MS" off +OPTIONS_DEFINE= ENCODINGS PATCHES +OPTIONS_DEFAULT=ENCODINGS +ENCODINGS_DESC= Include extra character sets +PATCHES_DESC= Apply patches to fix CP932, add EUCJP-MS .ifdef USE_ICONV .error USE_ICONV is defined as an environment variable, or in the arguments \ to "make". Please unset it and restart the build. .endif -.include +.include -.if !defined(WITHOUT_EXTRA_ENCODINGS) +.if ${PORT_OPTIONS:MENCODINGS} CONFIGURE_ARGS+= --enable-extra-encodings .endif -#.if defined(WITH_EXTRA_PATCHES) -#PATCH_SITES+= http://www2d.biglobe.ne.jp/~msyk/software/libiconv/ -#PATCH_SITES+= ${MASTER_SITE_LOCAL} -#PATCH_SITE_SUBDIR= nork -#PATCHFILES+= ${DISTNAME:C/1\.13\.1/1.13/}-ja-1.patch.gz -#PATCH_DIST_STRIP+= -p1 -#.endif +.if ${PORT_OPTIONS:MPATCHES} +PATCH_SITES+= http://apolloron.org/software/libiconv-1.14-ja/ +PATCH_SITES+= ${MASTER_SITE_LOCAL} +PATCH_SITE_SUBDIR+= kwm +PATCHFILES+= ${DISTNAME}-ja-1.patch.gz +PATCH_DIST_STRIP+= -p1 +.endif post-patch: @${REINPLACE_CMD} -e 's:ei_ksc5601:ei_euc_kr:g' ${WRKSRC}/lib/aliases.h -.include +.include Modified: head/converters/libiconv/distinfo ============================================================================== --- head/converters/libiconv/distinfo Sun Dec 9 19:43:48 2012 (r308559) +++ head/converters/libiconv/distinfo Sun Dec 9 20:00:19 2012 (r308560) @@ -1,2 +1,4 @@ SHA256 (libiconv-1.14.tar.gz) = 72b24ded17d687193c3366d0ebe7cde1e6b18f0df8c55438ac95be39e8a30613 SIZE (libiconv-1.14.tar.gz) = 4984397 +SHA256 (libiconv-1.14-ja-1.patch.gz) = cb82aa499b028a34d61fde1c3aa41f106cddf4a25d7c778a0180d633808d7cf9 +SIZE (libiconv-1.14-ja-1.patch.gz) = 291963