1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

This new version of dict(1) doesn't seem to default to using

dict://dict.org if the config file is absent, so install a config file
with some default servers instead of making the user rummage through
the man page and the web to figure out how to make this work.

Noticed by:	ceri
This commit is contained in:
Dima Dorfman 2003-12-29 10:43:36 +00:00
parent 1b481d8ae2
commit 92d712caba
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=96874
3 changed files with 20 additions and 0 deletions

View File

@ -34,4 +34,9 @@ MAN1= dict.1
post-patch:
${REINPLACE_CMD} -e 's|/etc/|${PREFIX}/etc/|g' ${WRKSRC}/dict.1
post-install:
if [ ! -f ${PREFIX}/etc/dict.conf ]; then \
${INSTALL_DATA} ${FILESDIR}/dict.conf ${PREFIX}/etc; \
fi
.include <bsd.port.mk>

View File

@ -0,0 +1,14 @@
#
# $FreeBSD$
#
# This file is used to specify the dict servers to talk to. See the
# CONFIGURATION section of dict(1) for the full syntax.
#
# A list of public dict servers is available at
# http://luetzschena-stahmeln.de/dictd/index.php
# but one of the following should work.
#
server dict.org
server dict.trit.org
server dict.die.net

View File

@ -1,2 +1,3 @@
@comment $FreeBSD$
bin/dict
etc/dict.conf