Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Aug 2014 21:46:23 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r364223 - in branches/2014Q3/textproc/yamcha: . files
Message-ID:  <53e2a22f.576b.4a886798@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Wed Aug  6 21:46:22 2014
New Revision: 364223
URL: http://svnweb.freebsd.org/changeset/ports/364223
QAT: https://qat.redports.org/buildarchive/r364223/

Log:
  MFH: r364219
  
  - Fix build with clang (hardcoded linking with libstdc++)
  - Respect CXXFLAGS during build
  - Add staging support
  - Convert to USES=libtool, new options framework
  
  Approved by:	portmgr (erwin)

Added:
  branches/2014Q3/textproc/yamcha/files/
     - copied from r364219, head/textproc/yamcha/files/
Modified:
  branches/2014Q3/textproc/yamcha/Makefile
  branches/2014Q3/textproc/yamcha/pkg-plist
Directory Properties:
  branches/2014Q3/   (props changed)

Modified: branches/2014Q3/textproc/yamcha/Makefile
==============================================================================
--- branches/2014Q3/textproc/yamcha/Makefile	Wed Aug  6 21:44:53 2014	(r364222)
+++ branches/2014Q3/textproc/yamcha/Makefile	Wed Aug  6 21:46:22 2014	(r364223)
@@ -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 <bsd.port.mk>

Modified: branches/2014Q3/textproc/yamcha/pkg-plist
==============================================================================
--- branches/2014Q3/textproc/yamcha/pkg-plist	Wed Aug  6 21:44:53 2014	(r364222)
+++ branches/2014Q3/textproc/yamcha/pkg-plist	Wed Aug  6 21:46:22 2014	(r364223)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53e2a22f.576b.4a886798>