aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/dictem
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/dictem')
-rw-r--r--textproc/dictem/Makefile55
-rw-r--r--textproc/dictem/distinfo3
-rw-r--r--textproc/dictem/pkg-descr9
3 files changed, 67 insertions, 0 deletions
diff --git a/textproc/dictem/Makefile b/textproc/dictem/Makefile
new file mode 100644
index 000000000000..fd09cbc3c0e8
--- /dev/null
+++ b/textproc/dictem/Makefile
@@ -0,0 +1,55 @@
+# New ports collection makefile for: dictem
+# Date created: 24 Apr 2006
+# Whom: Max N. Boyarov <m.boyarov@gmail.com>
+#
+# $FreeBSD$
+
+PORTNAME= dictem
+PORTVERSION= 0.7
+CATEGORIES= textproc net elisp
+MASTER_SITES= http://www.mova.org/~cheusov/pub/dictem/
+PKGNAMESUFFIX= -${EMACS_PORT_NAME}
+
+MAINTAINER= m.boyarov@gmail.com
+COMMENT= DictEm is a dict client for [X]Emacs
+
+USE_EMACS= yes
+USE_AUTOTOOLS= autoconf:259
+
+EMACS_PORT_NAME?=emacs21
+
+.if ${EMACS_PORT_NAME} != "emacs21"
+PORTNAMESUFFIX= ${PKGNAMESUFFIX}
+.endif
+
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ENV+= EMACS=${EMACS_CMD} EMACSLOADPATH=${EMACS_BASE}/${EMACS_CORE_DIR}
+CONFIGURE_ARGS+= --with-lispdir=${EMACS_BASE}/${LISPDIR}
+
+PLIST_FILES+= ${LISPDIR}/dictem.el \
+ ${LISPDIR}/dictem.elc
+PLIST_DIRS+= ${LISPDIR}
+
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+PORTDOCS+= README AUTHORS NEWS ChangeLog COPYING
+
+.include <bsd.port.pre.mk>
+
+.if ${EMACS_NAME} == "xemacs"
+LISPDIR= ${EMACS_LIBDIR}/site-packages/lisp/dictem
+.else
+LISPDIR= ${EMACS_VERSION_SITE_LISPDIR}/dictem
+.endif
+
+pre-configure:
+ ${INSTALL_SCRIPT} ${AUTOCONF_DIR}/missing ${WRKSRC}
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+.for doc in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
+.endfor
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/dictem/distinfo b/textproc/dictem/distinfo
new file mode 100644
index 000000000000..4c0e8326ee7a
--- /dev/null
+++ b/textproc/dictem/distinfo
@@ -0,0 +1,3 @@
+MD5 (dictem-0.7.tar.gz) = d671c4a22b0e3e7927ef135d2fb0697d
+SHA256 (dictem-0.7.tar.gz) = 56b2fead2bb80514ecf157827bbb2abc4a6edc6e86728c0617e00dca2c9bc922
+SIZE (dictem-0.7.tar.gz) = 71440
diff --git a/textproc/dictem/pkg-descr b/textproc/dictem/pkg-descr
new file mode 100644
index 000000000000..98907a578277
--- /dev/null
+++ b/textproc/dictem/pkg-descr
@@ -0,0 +1,9 @@
+DictEm is a dict client for GNU Emacs.
+
+It uses a console dict client (http://sf.net/projects/dict) and
+implements all functions of the client part of DICT protocol
+(RFC-2229, www.dict.org), i.e. looking up words and definitions,
+obtaining information about available strategies, provided databases,
+information about DICT server etc.
+
+WWW: http://freshmeat.net/projects/dictem