summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorYoichi NAKAYAMA <yoichi@FreeBSD.org>2002-07-19 14:27:20 +0000
committerYoichi NAKAYAMA <yoichi@FreeBSD.org>2002-07-19 14:27:20 +0000
commit2cfec919999236c8194c9944dd71802b2e669b04 (patch)
tree7b21c405b03b6831e4e810bc82fb6733a78b189d /textproc
parentRemove kludge and fix -lintl detection. (diff)
Add dictfmt, a dictionary formatter for dictd.
PR: 40755 Submitted by: Kimura Fuyuki <fuyuki@hadaly.org>
Notes
Notes: svn path=/head/; revision=63247
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/dictfmt/Makefile30
-rw-r--r--textproc/dictfmt/distinfo1
-rw-r--r--textproc/dictfmt/pkg-comment1
-rw-r--r--textproc/dictfmt/pkg-descr5
-rw-r--r--textproc/dictfmt/pkg-plist1
6 files changed, 39 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index dc4e28c384b7..81092f276649 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -26,6 +26,7 @@
SUBDIR += dadadodo
SUBDIR += dico
SUBDIR += dict
+ SUBDIR += dictfmt
SUBDIR += dictionary
SUBDIR += diff-mode.el
SUBDIR += diffstat
diff --git a/textproc/dictfmt/Makefile b/textproc/dictfmt/Makefile
new file mode 100644
index 000000000000..52eb3b448e9d
--- /dev/null
+++ b/textproc/dictfmt/Makefile
@@ -0,0 +1,30 @@
+# New ports collection makefile for: dictfmt
+# Date created: 19 July 2002
+# Whom: Kimura Fuyuki <fuyuki@hadaly.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= dictfmt
+PORTVERSION= 1.6.1
+CATEGORIES= textproc
+MASTER_SITES= ftp://ftp.dict.org/pub/dict/
+DISTNAME= ${PORTNAME}-${PORTVERSION}-source
+
+MAINTAINER= fuyuki@hadaly.org
+
+LIB_DEPENDS= gnugetopt:${PORTSDIR}/devel/libgnugetopt
+
+NO_WRKSUBDIR= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt"
+USE_GMAKE= yes
+
+MAN1= dictfmt.1
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/dictfmt ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/dictfmt.1 ${PREFIX}/man/man1
+
+.include <bsd.port.mk>
diff --git a/textproc/dictfmt/distinfo b/textproc/dictfmt/distinfo
new file mode 100644
index 000000000000..73c692d5957b
--- /dev/null
+++ b/textproc/dictfmt/distinfo
@@ -0,0 +1 @@
+MD5 (dictfmt-1.6.1-source.tar.gz) = 8e17b9d60b504694293be03569855898
diff --git a/textproc/dictfmt/pkg-comment b/textproc/dictfmt/pkg-comment
new file mode 100644
index 000000000000..f322e9fb1f2d
--- /dev/null
+++ b/textproc/dictfmt/pkg-comment
@@ -0,0 +1 @@
+Formats a DICT protocol dictionary database
diff --git a/textproc/dictfmt/pkg-descr b/textproc/dictfmt/pkg-descr
new file mode 100644
index 000000000000..941c76ff81be
--- /dev/null
+++ b/textproc/dictfmt/pkg-descr
@@ -0,0 +1,5 @@
+dictfmt converts databases in various formats into working databases
+and indices for the DICT server.
+
+- Kimura Fuyuki
+fuyuki@hadaly.org
diff --git a/textproc/dictfmt/pkg-plist b/textproc/dictfmt/pkg-plist
new file mode 100644
index 000000000000..b0c8cc54d2d7
--- /dev/null
+++ b/textproc/dictfmt/pkg-plist
@@ -0,0 +1 @@
+bin/dictfmt