Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jul 2014 08:29:15 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r360343 - head/textproc/libtextcat
Message-ID:  <201407030829.s638TF7L016228@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Thu Jul  3 08:29:15 2014
New Revision: 360343
URL: http://svnweb.freebsd.org/changeset/ports/360343
QAT: https://qat.redports.org/buildarchive/r360343/

Log:
  - Convert to USES=libtool
  - Add DOCS option
  - Remove CONFLICTS_INSTALL on libexttextcat that is no longer needed

Modified:
  head/textproc/libtextcat/Makefile
  head/textproc/libtextcat/pkg-plist

Modified: head/textproc/libtextcat/Makefile
==============================================================================
--- head/textproc/libtextcat/Makefile	Thu Jul  3 06:28:50 2014	(r360342)
+++ head/textproc/libtextcat/Makefile	Thu Jul  3 08:29:15 2014	(r360343)
@@ -3,7 +3,7 @@
 
 PORTNAME=	libtextcat
 PORTVERSION=	2.2
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	textproc
 MASTER_SITES=	http://software.wise-guys.nl/download/
 
@@ -13,17 +13,13 @@ COMMENT=	Language guessing by N-Gram-Bas
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USE_AUTOTOOLS=	libtool
 GNU_CONFIGURE=	yes
+USES=		libtool
 USE_LDCONFIG=	yes
 
-PORTDOCS=	LICENSE README TODO
+OPTIONS_DEFINE=	DOCS
 
-.include <bsd.port.pre.mk>
-
-.if exists(${PREFIX}/lib/libtextcat.a)
-CONFLICTS_INSTALL=	libexttextcat*
-.endif
+PORTDOCS=	README TODO
 
 post-install:
 	${INSTALL_DATA} ${WRKSRC}/src/textcat.h ${STAGEDIR}${PREFIX}/include/
@@ -32,10 +28,8 @@ post-install:
 	(cd ${WRKSRC}/langclass/LM &&		\
 	${FIND} . -name "*.lm" -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${DATADIR}/LM/{}" \;)
 	${INSTALL_DATA} ${WRKSRC}/langclass/conf.txt "${STAGEDIR}${DATADIR}"
-.if !defined(NOPORTDOCS)
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
-.endif
 
 regression-test:
 	(cd ${WRKSRC}/langclass/ &&		\
@@ -44,4 +38,4 @@ regression-test:
 	../src/testtextcat conf.txt < $$t ;	\
 	done)
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/textproc/libtextcat/pkg-plist
==============================================================================
--- head/textproc/libtextcat/pkg-plist	Thu Jul  3 06:28:50 2014	(r360342)
+++ head/textproc/libtextcat/pkg-plist	Thu Jul  3 08:29:15 2014	(r360343)
@@ -8,9 +8,9 @@ include/libtextcat/utf8misc.h
 include/libtextcat/wg_mempool.h
 include/textcat.h
 lib/libtextcat.a
-lib/libtextcat.la
 lib/libtextcat.so
 lib/libtextcat.so.0
+lib/libtextcat.so.0.0.0
 %%DATADIR%%/LM/afrikaans.lm
 %%DATADIR%%/LM/albanian.lm
 %%DATADIR%%/LM/amharic-utf.lm



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407030829.s638TF7L016228>