From owner-svn-ports-all@freebsd.org Thu Nov 12 16:54:15 2015 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D62E7A2C0D2; Thu, 12 Nov 2015 16:54:15 +0000 (UTC) (envelope-from ume@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7FE491456; Thu, 12 Nov 2015 16:54:15 +0000 (UTC) (envelope-from ume@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id tACGsEFK094998; Thu, 12 Nov 2015 16:54:14 GMT (envelope-from ume@FreeBSD.org) Received: (from ume@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tACGsELS094997; Thu, 12 Nov 2015 16:54:14 GMT (envelope-from ume@FreeBSD.org) Message-Id: <201511121654.tACGsELS094997@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ume set sender to ume@FreeBSD.org using -f From: Hajimu UMEMOTO Date: Thu, 12 Nov 2015 16:54:14 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r401366 - head/japanese/tomoe 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.20 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: Thu, 12 Nov 2015 16:54:15 -0000 Author: ume Date: Thu Nov 12 16:54:14 2015 New Revision: 401366 URL: https://svnweb.freebsd.org/changeset/ports/401366 Log: Use OPTIONS helpers. Modified: head/japanese/tomoe/Makefile Modified: head/japanese/tomoe/Makefile ============================================================================== --- head/japanese/tomoe/Makefile Thu Nov 12 16:31:16 2015 (r401365) +++ head/japanese/tomoe/Makefile Thu Nov 12 16:54:14 2015 (r401366) @@ -39,6 +39,7 @@ PYTHON_USE= GNOME=pygtk2 PYTHON_USES= python PYTHON_CONFIGURE_OFF= --with-python=no RUBY_DESC= Enable Ruby module +RUBY_BROKEN= Does not build RUBY_USE= RUBY=yes RUBY_CONFIGURE_OFF= --with-ruby=no RUBY_BUILD_DEPENDS= rubygem-glib2>0:${PORTSDIR}/devel/rubygem-glib2 @@ -46,29 +47,19 @@ RUBY_RUN_DEPENDS= rubygem-glib2>0:${PORT RUBY_CFLAGS= -I${LOCALBASE}/include/ruby-${RUBY_VER} \ -I${LOCALBASE}/include/ruby-${RUBY_VER}/${RUBY_ARCH} UNIHAN_DESC= Enable Unihan database dictionary module -UNIHAN_CONFIGURE_ENABLE= unihan - -.include - -.if ${PORT_OPTIONS:MRUBY} -BROKEN= Broken with gem version of glib2 -.endif - -.if ${PORT_OPTIONS:MUNIHAN} -BROKEN= Broken with Unihan with gcc 4.2 -MASTER_SITES+= ftp://ftp.unicode.org/Public/UNIDATA/:unihan -DISTFILES+= Unihan.zip:unihan -EXTRACT_DEPENDS+= ${UNZIP_CMD}:${PORTSDIR}/archivers/unzip -BUILD_DEPENDS+= \ +UNIHAN_BROKEN= Does not build +UNIHAN_MASTER_SITES= ftp://ftp.unicode.org/Public/UNIDATA/:unihan +UNIHAN_DISTFILES= Unihan.zip:unihan +UNIHAN_EXTRACT_DEPENDS= ${UNZIP_CMD}:${PORTSDIR}/archivers/unzip +UNIHAN_BUILD_DEPENDS= \ ${RUBY_SITEARCHLIBDIR}/uconv.so:${PORTSDIR}/japanese/ruby-uconv \ ${RUBY_SITELIBDIR}/suikyo/suikyo.rb:${PORTSDIR}/japanese/suikyo -.endif +UNIHAN_USE= RUBY=yes +UNIHAN_CONFIGURE_ENABLE=unihan -.if ${PORT_OPTIONS:MUNIHAN} -post-extract: +post-extract-UNIHAN-on: cd ${WRKSRC}/module/dict && \ ${UNZIP_CMD} -qo ${DISTDIR}/Unihan.zip -d ${WRKSRC}/module/dict -.endif post-patch: @${REINPLACE_CMD} -e 's|glib/ge.*\.h>|glib.h>|g' \