From owner-svn-ports-head@FreeBSD.ORG Wed Aug 6 20:44:57 2014 Return-Path: Delivered-To: svn-ports-head@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 ESMTPS id 01B98AAC for ; Wed, 6 Aug 2014 20:44:57 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D24BE245F for ; Wed, 6 Aug 2014 20:44:56 +0000 (UTC) Received: from pawel (uid 1252) (envelope-from pawel@FreeBSD.org) id 5076 by svn.freebsd.org (DragonFly Mail Agent v0.9+); Wed, 06 Aug 2014 20:44:56 +0000 From: Pawel Pekala Date: Wed, 6 Aug 2014 20:44:56 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r364219 - in head/textproc/yamcha: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-Id: <53e293c8.5076.1ea6ff15@svn.freebsd.org> X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Aug 2014 20:44:57 -0000 Author: pawel Date: Wed Aug 6 20:44:55 2014 New Revision: 364219 URL: http://svnweb.freebsd.org/changeset/ports/364219 QAT: https://qat.redports.org/buildarchive/r364219/ Log: - Fix build with clang (hardcoded linking with libstdc++) - Respect CXXFLAGS during build - Add staging support - Convert to USES=libtool, new options framework MFH: 2014Q3 Added: head/textproc/yamcha/files/ head/textproc/yamcha/files/patch-configure (contents, props changed) Modified: head/textproc/yamcha/Makefile head/textproc/yamcha/pkg-plist Modified: head/textproc/yamcha/Makefile ============================================================================== --- head/textproc/yamcha/Makefile Wed Aug 6 20:36:28 2014 (r364218) +++ head/textproc/yamcha/Makefile Wed Aug 6 20:44:55 2014 (r364219) @@ -3,6 +3,7 @@ PORTNAME= yamcha PORTVERSION= 0.33 +PORTREVISION= 1 CATEGORIES= textproc science MASTER_SITES= http://chasen.org/~taku/software/yamcha/src/ @@ -11,28 +12,18 @@ COMMENT= Yet Another Multipurpose CHunk BUILD_DEPENDS= svm_learn:${PORTSDIR}/science/svmlight -USE_AUTOTOOLS= libtool GNU_CONFIGURE= yes USE_LDCONFIG= yes -USES= perl5 +USES= libtool perl5 USE_PERL5= build -NO_STAGE= yes -DOC_FILES= feature.png feature2.png feature3.png \ +PORTDOCS= feature.png feature2.png feature3.png \ feature4.png feature5.png index.html \ yamcha.html yamcha.css -MAN1= yamcha.1 +OPTIONS_DEFINE= DOCS -.if !defined(NOPORTDOCS) post-install: - @${MKDIR} ${DOCSDIR} -.for doc in ${DOC_FILES} - ${INSTALL_DATA} ${WRKSRC}/doc/${doc} ${DOCSDIR} -.endfor - @${FIND} -s ${DOCSDIR} -type f | \ - ${SED} -e 's|^${PREFIX}/||' >> ${TMPPLIST} - @${FIND} -s ${DOCSDIR} -type d | \ - ${SED} -e 's|^${PREFIX}/|@dirrm |' >> ${TMPPLIST} -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} ${STAGEDIR}${DOCSDIR} .include Added: head/textproc/yamcha/files/patch-configure ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/yamcha/files/patch-configure Wed Aug 6 20:44:55 2014 (r364219) @@ -0,0 +1,22 @@ +--- ./configure.orig 2014-08-06 17:30:04.739555036 +0200 ++++ ./configure 2014-08-06 17:30:38.008555705 +0200 +@@ -20228,7 +20228,7 @@ + echo "$as_me:$LINENO: result: $ac_cv_lib_stdcpp_main" >&5 + echo "${ECHO_T}$ac_cv_lib_stdcpp_main" >&6 + if test $ac_cv_lib_stdcpp_main = yes; then +- STDCPP_LIBS="-lstdc++" ++ STDCPP_LIBS="" + fi + + ac_ext=cc +@@ -20257,10 +20257,6 @@ + fi + fi + +-if test -n "$GCC"; then +- CFLAGS="-O3 -Wno-deprecated -Wall" +- CXXFLAGS="-O3 -Wno-deprecated -Wall" +-fi + + + Modified: head/textproc/yamcha/pkg-plist ============================================================================== --- head/textproc/yamcha/pkg-plist Wed Aug 6 20:36:28 2014 (r364218) +++ head/textproc/yamcha/pkg-plist Wed Aug 6 20:44:55 2014 (r364219) @@ -2,21 +2,22 @@ bin/yamcha bin/yamcha-config bin/yamcha-mkmodel include/yamcha.h -lib/libyamcha.so.3 -lib/libyamcha.so -lib/libyamcha.la lib/libyamcha.a +lib/libyamcha.so +lib/libyamcha.so.1 +lib/libyamcha.so.1.2.0 +libexec/yamcha/Makefile +libexec/yamcha/PKE.pm +libexec/yamcha/PKI.pm libexec/yamcha/mkdarts -libexec/yamcha/mktrie -libexec/yamcha/pkemine libexec/yamcha/mkmodel -libexec/yamcha/mksvmdata -libexec/yamcha/svm_learn_wrapper libexec/yamcha/mkparam +libexec/yamcha/mksvmdata +libexec/yamcha/mktrie +libexec/yamcha/pkemine +libexec/yamcha/selecttag libexec/yamcha/showse +libexec/yamcha/svm_learn_wrapper libexec/yamcha/zipmodel -libexec/yamcha/selecttag -libexec/yamcha/PKI.pm -libexec/yamcha/PKE.pm -libexec/yamcha/Makefile +man/man1/yamcha.1.gz @dirrm libexec/yamcha