From owner-svn-ports-head@freebsd.org Sat May 28 09:47:42 2016 Return-Path: Delivered-To: svn-ports-head@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 7AAC1B4CBBF; Sat, 28 May 2016 09:47:42 +0000 (UTC) (envelope-from matthew@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 3897A19FB; Sat, 28 May 2016 09:47:42 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u4S9lfa1035724; Sat, 28 May 2016 09:47:41 GMT (envelope-from matthew@FreeBSD.org) Received: (from matthew@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u4S9lfYr035721; Sat, 28 May 2016 09:47:41 GMT (envelope-from matthew@FreeBSD.org) Message-Id: <201605280947.u4S9lfYr035721@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: matthew set sender to matthew@FreeBSD.org using -f From: Matthew Seaman Date: Sat, 28 May 2016 09:47:41 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r415980 - head/textproc/sphinxsearch X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.22 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: Sat, 28 May 2016 09:47:42 -0000 Author: matthew Date: Sat May 28 09:47:40 2016 New Revision: 415980 URL: https://svnweb.freebsd.org/changeset/ports/415980 Log: - install the 'wordbreaker' program - install the example minimum configuration file - use OPTION dependent targets for DOCS, EXAMPLES - always install man pages, irrespective of the DOCS option Modified: head/textproc/sphinxsearch/Makefile head/textproc/sphinxsearch/distinfo head/textproc/sphinxsearch/pkg-plist Modified: head/textproc/sphinxsearch/Makefile ============================================================================== --- head/textproc/sphinxsearch/Makefile Sat May 28 08:15:15 2016 (r415979) +++ head/textproc/sphinxsearch/Makefile Sat May 28 09:47:40 2016 (r415980) @@ -7,6 +7,7 @@ PORTNAME= sphinxsearch PORTVERSION= 2.2.10 +PORTREVISION= 1 CATEGORIES= textproc databases MASTER_SITES= http://sphinxsearch.com/files/ \ http://snowball.tartarus.org/dist/:libstemmer @@ -24,7 +25,7 @@ LICENSE= GPLv2 LIB_DEPENDS= libexpat.so:textproc/expat2 OPTIONS_DEFINE= ICONV ID64 LIBSTEMMER MYSQL OPTIMIZED_CFLAGS PGSQL \ - RE2 SYSLOG UNIXODBC DOCS + RE2 SYSLOG UNIXODBC DOCS EXAMPLES OPTIONS_DEFAULT=ICONV MYSQL SYSLOG ICONV_CONFIGURE_WITH= iconv @@ -56,7 +57,7 @@ LIBSTEMMER_DISTNAME= libstemmer_c LIBSTEMMER_DISTFILES= ${LIBSTEMMER_DISTNAME}.tgz:libstemmer .if make(makesum) || defined(FETCH_ALL) -OPTIONS_SET_FORCE= LIBSTEMMER +OPTIONS_SET_FORCE= LIBSTEMMER .endif # The port will successfully compile with both PGSQL and MYSQL support @@ -89,8 +90,6 @@ UNIXODBC_LIB_DEPENDS= libodbc.so:databas CONFLICTS= sphinxsearch-devel-[0-9]* dpsearch-[0-9]* rdb-[0-9]* \ swish++-[0-9]* xaira-[0-9]* -.include - USERS?= _sphinx GROUPS?= _sphinx @@ -114,18 +113,19 @@ SUB_LIST+= PORTNAME=${PORTNAME} \ SPHINX_LOG=${SPHINX_LOG} SUB_FILES+= pkg-deinstall +BINS= indexer indextool spelldump wordbreaker + EXAMPLES= example.sql api -DOCS= doc/sphinx.css doc/sphinx.html doc/sphinx.txt doc/sphinx.xml +DOCS= doc/sphinx.css doc/sphinx.html doc/sphinx.txt doc/sphinx.xml \ + sphinx-min.conf.dist DOCSRC= ${WRKSRC}/doc MAN1SRC= indexer.1 indextool.1 spelldump.1 MAN8SRC= searchd.8 -post-extract: -.if ${PORT_OPTIONS:MLIBSTEMMER} +post-extract-LIBSTEMMER-on: @( cd ${WRKDIR} && ${COPYTREE_SHARE} ${LIBSTEMMER_DISTNAME} ${WRKSRC} ) -.endif # Fix up the sample configuration file to correspond to FreeBSD norms post-patch: @@ -141,24 +141,12 @@ post-patch: ${DOCSRC}/${man} .endfor -do-install: install-bin install-docs install-man install-examples - -install-bin: - ${INSTALL_PROGRAM} ${WRKSRC}/src/indexer ${STAGEDIR}${PREFIX}/bin/indexer - ${INSTALL_PROGRAM} ${WRKSRC}/src/indextool ${STAGEDIR}${PREFIX}/bin/indextool - ${INSTALL_PROGRAM} ${WRKSRC}/src/spelldump ${STAGEDIR}${PREFIX}/bin/spelldump - ${INSTALL_PROGRAM} ${WRKSRC}/src/searchd ${STAGEDIR}${PREFIX}/sbin/searchd - ${INSTALL_DATA} ${WRKSRC}/sphinx.conf.dist ${STAGEDIR}${CFGFILE}.sample - -install-docs: -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${STAGEDIR}${DOCSDIR} -.for doc in ${DOCS} - ${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR} +do-install: +.for bin in ${BINS} + ${INSTALL_PROGRAM} ${WRKSRC}/src/${bin} ${STAGEDIR}${PREFIX}/bin/${bin} .endfor -.endif - -install-man: + ${INSTALL_PROGRAM} ${WRKSRC}/src/searchd ${STAGEDIR}${PREFIX}/sbin/searchd + ${INSTALL_DATA} ${WRKSRC}/sphinx.conf.dist ${STAGEDIR}${CFGFILE}.sample .for man in ${MAN1SRC} ${INSTALL_MAN} ${DOCSRC}/${man} ${STAGEDIR}${MANPREFIX}/man/man1/${man} .endfor @@ -166,7 +154,13 @@ install-man: ${INSTALL_MAN} ${DOCSRC}/${man} ${STAGEDIR}${MANPREFIX}/man/man8/${man} .endfor -install-examples: +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} +.for doc in ${DOCS} + ${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR} +.endfor + +do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} .for example in ${EXAMPLES} @cd ${WRKSRC} && ${COPYTREE_SHARE} ${example} ${STAGEDIR}${EXAMPLESDIR} Modified: head/textproc/sphinxsearch/distinfo ============================================================================== --- head/textproc/sphinxsearch/distinfo Sat May 28 08:15:15 2016 (r415979) +++ head/textproc/sphinxsearch/distinfo Sat May 28 09:47:40 2016 (r415980) @@ -1,3 +1,4 @@ +TIMESTAMP = 1464425151 SHA256 (sphinx-2.2.10-release.tar.gz) = 054cb86e64bd48997d89386e1224d4405063d9857b2d7c33dc6cc1b9ef6df440 SIZE (sphinx-2.2.10-release.tar.gz) = 3109250 SHA256 (libstemmer_c.tgz) = 6530c3638f29f5b03bc3786bb9212e39adaf3bf15b5b0a483b2eb5111f7f416e Modified: head/textproc/sphinxsearch/pkg-plist ============================================================================== --- head/textproc/sphinxsearch/pkg-plist Sat May 28 08:15:15 2016 (r415979) +++ head/textproc/sphinxsearch/pkg-plist Sat May 28 09:47:40 2016 (r415980) @@ -1,12 +1,14 @@ bin/indexer bin/indextool bin/spelldump -sbin/searchd +bin/wordbreaker @sample etc/sphinx.conf.sample -%%PORTDOCS%%man/man1/indexer.1.gz -%%PORTDOCS%%man/man1/indextool.1.gz -%%PORTDOCS%%man/man1/spelldump.1.gz -%%PORTDOCS%%man/man8/searchd.8.gz +man/man1/indexer.1.gz +man/man1/indextool.1.gz +man/man1/spelldump.1.gz +man/man8/searchd.8.gz +sbin/searchd +%%PORTDOCS%%%%DOCSDIR%%/sphinx-min.conf.dist %%PORTDOCS%%%%DOCSDIR%%/sphinx.css %%PORTDOCS%%%%DOCSDIR%%/sphinx.html %%PORTDOCS%%%%DOCSDIR%%/sphinx.txt