aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/uim-el
diff options
context:
space:
mode:
authornobutaka <nobutaka@FreeBSD.org>2005-12-25 13:55:30 +0800
committernobutaka <nobutaka@FreeBSD.org>2005-12-25 13:55:30 +0800
commitef07a05b3d9a3dc9c631125e37b8f0ae190acec8 (patch)
treee48fcb8855a0dd34638d95c9e2d6e34f4896bebb /textproc/uim-el
parenta2f49f641523de8502f3d95f0919aa5b7e3aea25 (diff)
downloadfreebsd-ports-gnome-ef07a05b3d9a3dc9c631125e37b8f0ae190acec8.tar.gz
freebsd-ports-gnome-ef07a05b3d9a3dc9c631125e37b8f0ae190acec8.tar.zst
freebsd-ports-gnome-ef07a05b3d9a3dc9c631125e37b8f0ae190acec8.zip
Add uim-el. uim-el is Emacs lisp for uim input method library.
Diffstat (limited to 'textproc/uim-el')
-rw-r--r--textproc/uim-el/Makefile43
-rw-r--r--textproc/uim-el/distinfo3
-rw-r--r--textproc/uim-el/files/patch-emacs_Makefile.in41
-rw-r--r--textproc/uim-el/pkg-descr13
-rw-r--r--textproc/uim-el/pkg-plist14
5 files changed, 114 insertions, 0 deletions
diff --git a/textproc/uim-el/Makefile b/textproc/uim-el/Makefile
new file mode 100644
index 000000000000..98f8260accdf
--- /dev/null
+++ b/textproc/uim-el/Makefile
@@ -0,0 +1,43 @@
+# New ports collection makefile for: uim-el
+# Date created: 24 December 2005
+# Whom: MANTANI Nobutaka <nobutaka@freebsd.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= uim-el
+PORTVERSION= 1.0.1
+CATEGORIES= textproc
+MASTER_SITES= http://uim.freedesktop.org/releases/
+PKGNAMESUFFIX= -${EMACS_PORT_NAME}
+DISTNAME= uim-${PORTVERSION}
+
+MAINTAINER= nobutaka@freebsd.org
+COMMENT?= Emacs lisp for uim input method library
+
+CONFLICTS?= uim-el-xemacs21-mule-[0-9]*
+
+RUN_DEPENDS= uim-el-agent:${PORTSDIR}/textproc/uim
+
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+
+EMACS_PORT_NAME?= emacs21
+BUILD_WRKSRC= ${WRKSRC}/emacs
+INSTALL_WRKSRC= ${WRKSRC}/emacs
+
+CONFIGURE_ARGS?=--enable-emacs --with-lispdir=${LOCALBASE}/${EMACS_VERSION_SITE_LISPDIR}
+CONFIGURE_ENV= EMACS=${EMACS_CMD}
+
+DOCSDIR_JA= ${PREFIX}/share/doc/ja/uim-el
+PLIST_SUB= DOCSDIR_JA="${DOCSDIR_JA:S,^${PREFIX}/,,}"
+
+.if !defined(NOPORTDOCS)
+post-install:
+ ${MKDIR} ${DOCSDIR}
+ ${MKDIR} ${DOCSDIR_JA}
+ ${INSTALL_DATA} ${WRKSRC}/emacs/README ${DOCSDIR}/README
+ ${INSTALL_DATA} ${WRKSRC}/emacs/README.ja ${DOCSDIR_JA}/README.ja
+.endif
+
+.include <bsd.port.mk>
diff --git a/textproc/uim-el/distinfo b/textproc/uim-el/distinfo
new file mode 100644
index 000000000000..d80d16d60ecb
--- /dev/null
+++ b/textproc/uim-el/distinfo
@@ -0,0 +1,3 @@
+MD5 (uim-1.0.1.tar.gz) = 1de96cb9ca0c570c0d04678a95f9c75a
+SHA256 (uim-1.0.1.tar.gz) = cfd3a906763d0474576fd07b0ffcfbc829075a750fc4fe28dcb4e37999e4d57f
+SIZE (uim-1.0.1.tar.gz) = 1924484
diff --git a/textproc/uim-el/files/patch-emacs_Makefile.in b/textproc/uim-el/files/patch-emacs_Makefile.in
new file mode 100644
index 000000000000..97dbd1f0ff29
--- /dev/null
+++ b/textproc/uim-el/files/patch-emacs_Makefile.in
@@ -0,0 +1,41 @@
+--- emacs/Makefile.in.orig Fri Dec 16 17:10:53 2005
++++ emacs/Makefile.in Sat Dec 24 07:54:33 2005
+@@ -391,19 +391,6 @@
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+ $(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-install-binPROGRAMS: $(bin_PROGRAMS)
+- @$(NORMAL_INSTALL)
+- test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
+- @list='$(bin_PROGRAMS)'; for p in $$list; do \
+- p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
+- if test -f $$p \
+- || test -f $$p1 \
+- ; then \
+- f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+- echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
+- $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
+- else :; fi; \
+- done
+
+ uninstall-binPROGRAMS:
+ @$(NORMAL_UNINSTALL)
+@@ -419,9 +406,6 @@
+ echo " rm -f $$p $$f"; \
+ rm -f $$p $$f ; \
+ done
+-uim-el-agent$(EXEEXT): $(uim_el_agent_OBJECTS) $(uim_el_agent_DEPENDENCIES)
+- @rm -f uim-el-agent$(EXEEXT)
+- $(LINK) $(uim_el_agent_LDFLAGS) $(uim_el_agent_OBJECTS) $(uim_el_agent_LDADD) $(LIBS)
+
+ mostlyclean-compile:
+ -rm -f *.$(OBJEXT)
+@@ -765,7 +749,7 @@
+ done
+ check-am: all-am
+ check: check-am
+-all-am: Makefile $(PROGRAMS) $(DATA)
++all-am: Makefile $(DATA)
+ installdirs:
+ for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(uimel_lispdir)"; do \
+ test -z "$$dir" || $(mkdir_p) "$$dir"; \
diff --git a/textproc/uim-el/pkg-descr b/textproc/uim-el/pkg-descr
new file mode 100644
index 000000000000..d66c73fa4106
--- /dev/null
+++ b/textproc/uim-el/pkg-descr
@@ -0,0 +1,13 @@
+uim aims for multilingual input method library.
+It works as an XIM server or an input module of GTK+ 2.x.
+And currently it supports following input methods.
+
+ Chinese: Pinyin
+ Japanese: Anthy, Prime, SKK, T-code, TUT-code
+ Korean: Hangul, Romaja
+ Vietnamese: VIQR
+ Other: IPA
+
+This port installs Emacs lisp files for uim.
+
+WWW: http://uim.freedesktop.org/
diff --git a/textproc/uim-el/pkg-plist b/textproc/uim-el/pkg-plist
new file mode 100644
index 000000000000..44d6c1b471d4
--- /dev/null
+++ b/textproc/uim-el/pkg-plist
@@ -0,0 +1,14 @@
+%%EMACS_VERSION_SITE_LISPDIR%%/uim-el/uim-candidate.el
+%%EMACS_VERSION_SITE_LISPDIR%%/uim-el/uim-debug.el
+%%EMACS_VERSION_SITE_LISPDIR%%/uim-el/uim-key.el
+%%EMACS_VERSION_SITE_LISPDIR%%/uim-el/uim-keymap.el
+%%EMACS_VERSION_SITE_LISPDIR%%/uim-el/uim-leim.el
+%%EMACS_VERSION_SITE_LISPDIR%%/uim-el/uim-preedit.el
+%%EMACS_VERSION_SITE_LISPDIR%%/uim-el/uim-util.el
+%%EMACS_VERSION_SITE_LISPDIR%%/uim-el/uim-var.el
+%%EMACS_VERSION_SITE_LISPDIR%%/uim-el/uim.el
+%%PORTDOCS%%%%DOCSDIR_JA%%/README.ja
+%%PORTDOCS%%%%DOCSDIR%%/README
+@dirrm %%EMACS_VERSION_SITE_LISPDIR%%/uim-el
+%%PORTDOCS%%@dirrm %%DOCSDIR_JA%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%