1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00

- Fix EXAMPLES installation

- Cleanup plist
This commit is contained in:
Antoine Brodin 2014-11-14 09:09:46 +00:00
parent 0f9de2df15
commit 31a552d0c1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=372554
2 changed files with 3 additions and 5 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= sphinxsearch
PORTVERSION= 2.2.1
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= textproc databases
MASTER_SITES= http://sphinxsearch.com/files/ \
@ -167,7 +168,7 @@ install-man:
install-examples:
.if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
(cd ${WRKSRC} && ${COPYTREE_SHARE} ${EXAMPLES} ${STAGEDIR}${EXAMPLESDIR})
(cd ${WRKSRC} && ${COPYTREE_SHARE} "${EXAMPLES}" ${STAGEDIR}${EXAMPLESDIR})
.endif
.include <bsd.port.mk>

View File

@ -3,9 +3,7 @@ bin/indextool
bin/search
bin/spelldump
sbin/searchd
@unexec if cmp -s %D/etc/sphinx.conf.sample %D/etc/sphinx.conf; then rm -f %D/etc/sphinx.conf; fi
etc/sphinx.conf.sample
@exec if [ ! -f %D/etc/sphinx.conf ] ; then cp -p %D/%F %B/sphinx.conf; fi
@sample etc/sphinx.conf.sample
%%PORTDOCS%%man/man1/indexer.1.gz
%%PORTDOCS%%man/man1/indextool.1.gz
%%PORTDOCS%%man/man1/search.1.gz
@ -15,4 +13,3 @@ etc/sphinx.conf.sample
%%PORTDOCS%%%%DOCSDIR%%/sphinx.html
%%PORTDOCS%%%%DOCSDIR%%/sphinx.txt
%%PORTDOCS%%%%DOCSDIR%%/sphinx.xml
%%PORTDOCS%%@dirrm %%DOCSDIR%%