[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

new port submission / dictd-1.7.1



This is a submission for the dictd server (ref: http://www.dict.org/).
Since I don't have access to a suitable web server, the port skeleton
is attached below as a shell archive.

- J Shoemaker

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	dictd/
#	dictd/Makefile
#	dictd/distinfo
#	dictd/pkg
#	dictd/pkg/DESCR
#	dictd/pkg/PLIST
#	dictd/pkg/MESSAGE
#	dictd/patches
#	dictd/patches/patch-Makefile_in
#	dictd/patches/patch-dictd_conf
#
echo c - dictd/
mkdir -p dictd/ > /dev/null 2>&1
echo x - dictd/Makefile
sed 's/^X//' >dictd/Makefile << 'END-of-dictd/Makefile'
X# $OpenBSD: $
X
XCOMMENT=	dictionary server
X
XVERSION=	1.7.1
XDISTNAME=	dictd-${VERSION}
XCATEGORIES=	textproc net
XNEED_VERSION=	1.531
X
XMAINTAINER=	J Shoemaker <shoemaker_(_at_)_softhome_(_dot_)_net>
X
XHOMEPAGE=	http://www.dict.org/
X
XPERMIT_PACKAGE_CDROM=	Yes
XPERMIT_PACKAGE_FTP=	Yes
XPERMIT_DISTFILES_CDROM=	Yes
XPERMIT_DISTFILES_FTP=	Yes
X
XMASTER_SITES=	ftp://ftp.dict.org/pub/dict/pre \
X		ftp://ftp.dict.org/pub/dict/
X
XDISTFILES=	${DISTNAME}.tar.gz \
X		devils-dict-pre.tar.gz \
X		dict-foldoc-20020209.tar.gz \
X		dict-gazetteer-1.2-pre.tar.gz \
X		dict-gcide-0.44.tar.gz \
X		dict-jargon_4.3.1.tgz \
X		dict-misc-1.5b-pre.tar.gz \
X		dict-vera_1.8.tar.gz \
X		dict-web1913-1.4-pre.tar.gz \
X		dict-wn_1.7.tar.gz \
X		elements-20001107-pre.tar.gz
X
XCONFIGURE_STYLE=	gnu
XUSE_GMAKE=		yes
XCONFIGURE_ARGS+=	--with-cflags="${CFLAGS}" \
X			--host=OpenBSD --prefix={PREFIX}
XWRKDIST=		${WRKDIR}/${DISTNAME}
X
Xpost-install:
X.for i in dictd.conf example.conf example.dictrc example.site \
X		example2.conf example3.conf 
X	install -m 444 ${WRKDIST}/$i ${PREFIX}/share/dictd/
X.endfor
X
X.include <bsd.port.mk>
END-of-dictd/Makefile
echo x - dictd/distinfo
sed 's/^X//' >dictd/distinfo << 'END-of-dictd/distinfo'
XMD5 (devils-dict-pre.tar.gz) = 5fa37007d2309908ebfc3e6412150e17
XMD5 (dict-foldoc-20020209.tar.gz) = 0cc25dc9f0b13470056bfb2210bffe51
XMD5 (dict-gazetteer-1.2-pre.tar.gz) = d67cd81e90bc98e738c19693a97ab9e2
XMD5 (dict-gcide-0.44.tar.gz) = 641502e6fedca32cbf9777b1f4f76afe
XMD5 (dict-jargon_4.3.1.tgz) = dc1154d9cdbfa9b083e78f2e732476cd
XMD5 (dict-misc-1.5b-pre.tar.gz) = 84445acccaa120288a6bda0d251d5a92
XMD5 (dict-vera_1.8.tar.gz) = d9f2d97353c2fed931ffab86209091db
XMD5 (dict-web1913-1.4-pre.tar.gz) = 63a8d25ace68dff135185a8c96dd5f3c
XMD5 (dict-wn_1.7.tar.gz) = f3417dec47ea58ad35a8ecf77edb5e8c
XMD5 (dictd-1.7.1.tar.gz) = 81317b86ea0a5df0163900ad2e6bb12c
XMD5 (elements-20001107-pre.tar.gz) = 84f116609be2716134cdc08de3e8cb7a
XRMD160 (devils-dict-pre.tar.gz) = 8eda7dbb2da60fdf7400eb4143542d83b05dd376
XRMD160 (dict-foldoc-20020209.tar.gz) = 1f0ae60af599e250a9d0ca243a45db43b3248945
XRMD160 (dict-gazetteer-1.2-pre.tar.gz) = 7e3751404640e5752d583551c7900978fdd81923
XRMD160 (dict-gcide-0.44.tar.gz) = 1d97cbc3cba7d845225dac036243b5bc5de53bae
XRMD160 (dict-jargon_4.3.1.tgz) = 7b2694d153207efeab72a6a556ff719073039ea9
XRMD160 (dict-misc-1.5b-pre.tar.gz) = 28a132ef709f074b38f274a68976df5b66d88732
XRMD160 (dict-vera_1.8.tar.gz) = 20d8da8e3e160f4157230413876bdceacf6d6078
XRMD160 (dict-web1913-1.4-pre.tar.gz) = 3b6a1f79cd6ad6c925cad2d9a435261abfff3646
XRMD160 (dict-wn_1.7.tar.gz) = a6a4892d53079a3cf1745c95bbacced657d955c3
XRMD160 (dictd-1.7.1.tar.gz) = 7c216af52defbb45dd7a604167cfaabb77353cfb
XRMD160 (elements-20001107-pre.tar.gz) = fc9a622bf7b1efab69934ce69b9c87fe53a68507
XSHA1 (devils-dict-pre.tar.gz) = 0e72967d8877b0296c02ea7c2f6de9b98969ae3c
XSHA1 (dict-foldoc-20020209.tar.gz) = 44b4f755934bee6ad1c7084656a6f67889528246
XSHA1 (dict-gazetteer-1.2-pre.tar.gz) = bca7f242a0fac591fd8e271faf0b90e1fe59d106
XSHA1 (dict-gcide-0.44.tar.gz) = dc3990762ba00897f6b8ef7249ab2172dc010e21
XSHA1 (dict-jargon_4.3.1.tgz) = bdb0fcb6e42ee85e883fa49f74333434cfdba077
XSHA1 (dict-misc-1.5b-pre.tar.gz) = f7f21e2fb2ac83993ecb9e2f98719adf6cad79bc
XSHA1 (dict-vera_1.8.tar.gz) = aa9c457bfa7819fdadc3cc79953e51e1ec9f2ecd
XSHA1 (dict-web1913-1.4-pre.tar.gz) = 2f2a0103d03b91d1df5893339daf86cf3f881709
XSHA1 (dict-wn_1.7.tar.gz) = d4bd6efebd002089eadbf10031377f2a9787dd9c
XSHA1 (dictd-1.7.1.tar.gz) = 3c0adaded22234142f0f48aceb150d6f3fda5a97
XSHA1 (elements-20001107-pre.tar.gz) = 289aa37b60bd71f32667adf0333cd3eec9e95955
END-of-dictd/distinfo
echo c - dictd/pkg
mkdir -p dictd/pkg > /dev/null 2>&1
echo x - dictd/pkg/DESCR
sed 's/^X//' >dictd/pkg/DESCR << 'END-of-dictd/pkg/DESCR'
Xdictd is a network dictionary server with various dictionary 'modules.'
XIncluded in this port are all available dictionaries as well as a dictionary
Xclient, 'dict'.
END-of-dictd/pkg/DESCR
echo x - dictd/pkg/PLIST
sed 's/^X//' >dictd/pkg/PLIST << 'END-of-dictd/pkg/PLIST'
X_(_at_)_comment $OpenBSD$
Xbin/dict
Xbin/dictzip
Xman/man1/dict.1
Xman/man1/dictzip.1
Xman/man8/dictd.8
Xsbin/dictd
Xshare/dictd/devils.dict.dz
Xshare/dictd/devils.index
Xshare/dictd/dictd.conf
Xshare/dictd/easton.dict.dz
Xshare/dictd/easton.index
Xshare/dictd/elements.dict.dz
Xshare/dictd/elements.index
Xshare/dictd/example.conf
Xshare/dictd/example.dictrc
Xshare/dictd/example.site
Xshare/dictd/example2.conf
Xshare/dictd/example3.conf
Xshare/dictd/foldoc.dict.dz
Xshare/dictd/foldoc.index
Xshare/dictd/gazetteer.dict.dz
Xshare/dictd/gazetteer.index
Xshare/dictd/gcide.dict.dz
Xshare/dictd/gcide.index
Xshare/dictd/hitchcock.dict.dz
Xshare/dictd/hitchcock.index
Xshare/dictd/jargon.dict.dz
Xshare/dictd/jargon.index
Xshare/dictd/vera.index
Xshare/dictd/web1913.dict.dz
Xshare/dictd/web1913.index
Xshare/dictd/wn.dict.dz
Xshare/dictd/wn.index
Xshare/dictd/world95.dict.dz
Xshare/dictd/world95.index
X_(_at_)_dirrm share/dictd
END-of-dictd/pkg/PLIST
echo x - dictd/pkg/MESSAGE
sed 's/^X//' >dictd/pkg/MESSAGE << 'END-of-dictd/pkg/MESSAGE'
X+-------------------
X| Please tailor ${PREFIX}/share/dictd/dictd.conf
X| to your needs and install it in /etc before using
X| It is also recommended you have the server start
X| as the user 'nobody,' or create a dedicated user
X| for the server.  Arrange to have it run at boot.
X+-------------------
X
END-of-dictd/pkg/MESSAGE
echo c - dictd/patches
mkdir -p dictd/patches > /dev/null 2>&1
echo x - dictd/patches/patch-Makefile_in
sed 's/^X//' >dictd/patches/patch-Makefile_in << 'END-of-dictd/patches/patch-Makefile_in'
X$OpenBSD$
X--- Makefile.in.orig	Sat May  4 19:59:56 2002
X+++ Makefile.in	Tue May 28 23:07:00 2002
X@@ -141,24 +141,29 @@ clientparse.o: clientparse.c $(HEADERS)
X 	$(CC) -c $(XTRACFLAGS) $(CFLAGS) $(SCFLAGS) $<
X 
X install.dict: dict
X-	if test ! -d $(bindir); then $(INSTALL) -d 755 $(bindir); fi
X-	if test ! -d $(man1_prefix); then $(INSTALL) -d 755 $(man1_prefix); fi
X-	$(INSTALL_PROGRAM) dict $(bindir)
X-	$(INSTALL_DATA	dict.1 $(man1_prefix)/dict.1
X+	strip dict && install -m 555 dict $(DESTDIR)$(bindir)
X+	install -m 644 dict.1 $(DESTDIR)$(man1_prefix)/dict.1
X 
X install.dictzip: dictzip
X-	if test ! -d $(bindir); then $(INSTALL) -d 755 $(bindir); fi
X-	if test ! -d $(man1_prefix); then $(INSTALL) -d 755 $(man1_prefix); fi
X-	$(INSTALL_PROGRAM) dictzip $(bindir)
X-	$(INSTALL_DATA) dictzip.1 $(man1_prefix)/dictzip.1
X+	strip dictzip && install -m 555 dictzip $(DESTDIR)$(bindir)
X+	install -m 644 dictzip.1 $(DESTDIR)$(man1_prefix)/dictzip.1
X 
X install.dictd: dictd
X-	if test ! -d $(sbindir); then $(INSTALL) -d 755 $(sbindir); fi
X-	if test ! -d $(man8_prefix); then install -d 755 $(man8_prefix); fi
X-	$(INSTALL_PROGRAM) dictd $(sbindir)
X-	$(INSTALL_DATA) dictd.8 $(man8_prefix)/dictd.8
X+	strip dictd && install -m 511 dictd $(DESTDIR)$(sbindir)
X+	install -m 644 dictd.8 $(DESTDIR)$(man8_prefix)/dictd.8
X 
X-install: $(EXES) install.dict install.dictzip install.dictd
X+install.dicts:
X+	mkdir -p $(PREFIX)/share/dictd
X+	for i in devils.dict.dz easton.dict.dz elements.dict.dz \
X+		foldoc.dict.dz gazetteer.dict.dz hitchcock.dict.dz \
X+		jargon.dict.dz web1913.dict.dz wn.dict.dz world95.dict.dz \
X+		gcide.dict.dz devils.index easton.index elements.index \
X+		foldoc.index gazetteer.index hitchcock.index jargon.index \
X+		vera.index web1913.index wn.index world95.index gcide.index; \
X+	do install -m 644 ../$$i $(PREFIX)/share/dictd; \
X+	done
X+
X+install: $(EXES) install.dict install.dictzip install.dictd install.dicts
X 
X .PHONY: ChangeLog
X ChangeLog:
END-of-dictd/patches/patch-Makefile_in
echo x - dictd/patches/patch-dictd_conf
sed 's/^X//' >dictd/patches/patch-dictd_conf << 'END-of-dictd/patches/patch-dictd_conf'
X$OpenBSD$
X--- dictd.conf.orig	Sun Feb 22 11:53:29 1998
X+++ dictd.conf	Tue May 28 23:46:56 2002
X@@ -1,16 +1,22 @@
X-database web1913   { data "/usr/lib/dict/web1913.dict.dz"
X-                     index "/usr/lib/dict/web1913.index" }
X-database wn        { data "/usr/lib/dict/wn.dict.dz"
X-                     index "/usr/lib/dict/wn.index" }
X-database gazetteer { data "/usr/lib/dict/gazetteer.dict.dz"
X-                     index "/usr/lib/dict/gazetteer.index" }
X-database jargon    { data "/usr/lib/dict/jargon.dict.dz"
X-                     index "/usr/lib/dict/jargon.index" }
X-database foldoc    { data "/usr/lib/dict/foldoc.dict.dz"
X-                     index "/usr/lib/dict/foldoc.index" }
X-database elements  { data "/usr/lib/dict/elements.dict.dz"
X-                     index "/usr/lib/dict/elements.index" }
X-database easton    { data "/usr/lib/dict/easton.dict.dz"
X-                     index "/usr/lib/dict/easton.index" }
X-database hitchcock { data "/usr/lib/dict/hitchcock.dict.dz"
X-                     index "/usr/lib/dict/hitchcock.index" }
X+database devils	   { data "/usr/local/share/dictd/devils.dict.dz"
X+		     index "/usr/local/share/dictd/devils.index" }
X+database web1913   { data "/usr/local/share/dictd/web1913.dict.dz"
X+                     index "/usr/local/share/dictd/web1913.index" }
X+database wn        { data "/usr/local/share/dictd/wn.dict.dz"
X+                     index "/usr/local/share/dictd/wn.index" }
X+database gazetteer { data "/usr/local/share/dictd/gazetteer.dict.dz"
X+                     index "/usr/local/share/dictd/gazetteer.index" }
X+database jargon    { data "/usr/local/share/dictd/jargon.dict.dz"
X+                     index "/usr/local/share/dictd/jargon.index" }
X+database foldoc    { data "/usr/local/share/dictd/foldoc.dict.dz"
X+                     index "/usr/local/share/dictd/foldoc.index" }
X+database elements  { data "/usr/local/share/dictd/elements.dict.dz"
X+                     index "/usr/local/share/dictd/elements.index" }
X+database easton    { data "/usr/local/share/dictd/easton.dict.dz"
X+                     index "/usr/local/share/dictd/easton.index" }
X+database hitchcock { data "/usr/local/share/dictd/hitchcock.dict.dz"
X+                     index "/usr/local/share/dictd/hitchcock.index" }
X+database gcide	   { data "/usr/local/share/dictd/gcide.dict.dz"
X+		     index "/usr/local/share/dictd/gcide.index"}
X+database world95   { data "/usr/local/share/dictd/world95.dict.dz"
X+		     index "/usr/local/share/dictd/world95.index"}
END-of-dictd/patches/patch-dictd_conf
exit