aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authoryoichi <yoichi@FreeBSD.org>2002-07-19 22:27:20 +0800
committeryoichi <yoichi@FreeBSD.org>2002-07-19 22:27:20 +0800
commit27a9862080d648028e34045c2dbe6a445548174e (patch)
tree9afa349bf8e2250e39c778dfef9d992ecc09db71 /textproc
parent9cfffd00839faa02f2a2cb19dc6d14f2effb863f (diff)
downloadfreebsd-ports-gnome-27a9862080d648028e34045c2dbe6a445548174e.tar.gz
freebsd-ports-gnome-27a9862080d648028e34045c2dbe6a445548174e.tar.zst
freebsd-ports-gnome-27a9862080d648028e34045c2dbe6a445548174e.zip
Add dictfmt, a dictionary formatter for dictd.
PR: 40755 Submitted by: Kimura Fuyuki <fuyuki@hadaly.org>
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