aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authortaoka <taoka@FreeBSD.org>2000-07-11 01:31:26 +0800
committertaoka <taoka@FreeBSD.org>2000-07-11 01:31:26 +0800
commit805713ec03713c5f9683261f4357b81e4b93dd25 (patch)
tree83309dda0a46b5d1d2decd1b9f8d5a3c87eaa9e1 /japanese
parentf088040dd590ff8a782004aa573d06e4e5989839 (diff)
downloadfreebsd-ports-gnome-805713ec03713c5f9683261f4357b81e4b93dd25.tar.gz
freebsd-ports-gnome-805713ec03713c5f9683261f4357b81e4b93dd25.tar.zst
freebsd-ports-gnome-805713ec03713c5f9683261f4357b81e4b93dd25.zip
Update to version 1.3
We need to byte-compile the elisps to show logo when lookup starts up. So I make these elisps byte-compiled.
Diffstat (limited to 'japanese')
-rw-r--r--japanese/lookup-emacs20/Makefile18
-rw-r--r--japanese/lookup-emacs20/pkg-plist57
-rw-r--r--japanese/lookup-emacs21/Makefile34
-rw-r--r--japanese/lookup-emacs21/distinfo2
-rw-r--r--japanese/lookup-emacs21/pkg-plist73
-rw-r--r--japanese/lookup-mule/Makefile34
-rw-r--r--japanese/lookup-mule/distinfo2
-rw-r--r--japanese/lookup-mule/pkg-plist73
-rw-r--r--japanese/lookup-xemacs/Makefile4
-rw-r--r--japanese/lookup-xemacs/pkg-plist25
-rw-r--r--japanese/lookup/Makefile34
-rw-r--r--japanese/lookup/distinfo2
-rw-r--r--japanese/lookup/pkg-plist73
13 files changed, 260 insertions, 171 deletions
diff --git a/japanese/lookup-emacs20/Makefile b/japanese/lookup-emacs20/Makefile
index cd75f541378c..9396b1e3f924 100644
--- a/japanese/lookup-emacs20/Makefile
+++ b/japanese/lookup-emacs20/Makefile
@@ -5,21 +5,9 @@
# $FreeBSD$
#
-PORTNAME= lookup
-PORTVERSION= 1.2
-PKGNAMESUFFIX= -emacs20
-CATEGORIES= japanese elisp
-MASTER_SITES= # empty
-DISTFILES= # empty
-
-MAINTAINER= taoka@FreeBSD.org
-
RUN_DEPENDS= ${PREFIX}/share/emacs/site-lisp/bitmap/bitmap.el:${PORTSDIR}/editors/bitmap-emacs20 \
- ${PREFIX}/share/emacs/site-lisp/lookup/lookup.el:${PORTSDIR}/japanese/lookup-mule
-
-NO_BUILD= yes
-
-do-install: # empty
-.include <bsd.port.mk>
+MASTERDIR= ${.CURDIR}/../lookup-mule
+EMACS_PORT_NAME= emacs20
+.include "${MASTERDIR}/Makefile"
diff --git a/japanese/lookup-emacs20/pkg-plist b/japanese/lookup-emacs20/pkg-plist
index 549a621fec0c..c43ed37991b3 100644
--- a/japanese/lookup-emacs20/pkg-plist
+++ b/japanese/lookup-emacs20/pkg-plist
@@ -1 +1,56 @@
-@comment this plist intentionally left empty
+share/emacs/site-lisp/lookup/evi.el
+share/emacs/site-lisp/lookup/evi.elc
+share/emacs/site-lisp/lookup/evi-mule.el
+share/emacs/site-lisp/lookup/evi-mule.elc
+share/emacs/site-lisp/lookup/lookup.el
+share/emacs/site-lisp/lookup/lookup.elc
+share/emacs/site-lisp/lookup/lookup-utils.el
+share/emacs/site-lisp/lookup/lookup-utils.elc
+share/emacs/site-lisp/lookup/lookup-types.el
+share/emacs/site-lisp/lookup/lookup-types.elc
+share/emacs/site-lisp/lookup/lookup-vse.el
+share/emacs/site-lisp/lookup/lookup-vse.elc
+share/emacs/site-lisp/lookup/lookup-package.el
+share/emacs/site-lisp/lookup/lookup-package.elc
+share/emacs/site-lisp/lookup/lookup-kanji.el
+share/emacs/site-lisp/lookup/lookup-kanji.elc
+share/emacs/site-lisp/lookup/lookup-entry.el
+share/emacs/site-lisp/lookup/lookup-entry.elc
+share/emacs/site-lisp/lookup/lookup-content.el
+share/emacs/site-lisp/lookup/lookup-content.elc
+share/emacs/site-lisp/lookup/lookup-select.el
+share/emacs/site-lisp/lookup/lookup-select.elc
+share/emacs/site-lisp/lookup/ndic.el
+share/emacs/site-lisp/lookup/ndic.elc
+share/emacs/site-lisp/lookup/ndeb.el
+share/emacs/site-lisp/lookup/ndeb.elc
+share/emacs/site-lisp/lookup/ndtp.el
+share/emacs/site-lisp/lookup/ndtp.elc
+share/emacs/site-lisp/lookup/ndict.el
+share/emacs/site-lisp/lookup/ndict.elc
+share/emacs/site-lisp/lookup/ndkks.el
+share/emacs/site-lisp/lookup/ndkks.elc
+share/emacs/site-lisp/lookup/ndspell.el
+share/emacs/site-lisp/lookup/ndspell.elc
+share/emacs/site-lisp/lookup/ndcookie.el
+share/emacs/site-lisp/lookup/ndcookie.elc
+share/emacs/site-lisp/lookup/ndmisc.el
+share/emacs/site-lisp/lookup/ndmisc.elc
+share/emacs/site-lisp/lookup/ndsrd.el
+share/emacs/site-lisp/lookup/ndsrd.elc
+share/emacs/site-lisp/lookup/sdicf.el
+share/emacs/site-lisp/lookup/sdicf.elc
+share/emacs/site-lisp/lookup/stem-english.el
+share/emacs/site-lisp/lookup/stem-english.elc
+share/emacs/site-lisp/lookup/lookup-vars.el
+share/emacs/site-lisp/lookup/lookup-vars.elc
+@unexec install-info --delete %D/info/lookup.info %D/info/dir
+info/lookup.info
+info/lookup.info-1
+info/lookup.info-2
+info/lookup.info-3
+@exec install-info %D/info/lookup.info %D/info/dir
+@unexec install-info --delete %D/info/lookup-guide.info %D/info/dir
+info/lookup-guide.info
+@exec install-info %D/info/lookup-guide.info %D/info/dir
+@dirrm share/emacs/site-lisp/lookup
diff --git a/japanese/lookup-emacs21/Makefile b/japanese/lookup-emacs21/Makefile
index 7a05a0dbe27b..c45f01292a16 100644
--- a/japanese/lookup-emacs21/Makefile
+++ b/japanese/lookup-emacs21/Makefile
@@ -6,10 +6,10 @@
#
PORTNAME= lookup
-PORTVERSION= 1.2
-PKGNAMESUFFIX?= -mule
+PORTVERSION= 1.3
+PKGNAMESUFFIX= -${EMACS_PORT_NAME}
CATEGORIES= japanese elisp
-MASTER_SITES= http://openlab.ring.gr.jp/lookup/DIST/
+MASTER_SITES= http://download.sourceforge.net/lookup/
MAINTAINER= taoka@FreeBSD.org
@@ -18,37 +18,25 @@ RUN_DEPENDS+= eblook:${PORTSDIR}/japanese/eblook
FILESDIR= ${.CURDIR}/../lookup-mule/files
PKGDIR= ${.CURDIR}/../lookup-mule/pkg
PLIST= ${.CURDIR}/pkg/PLIST
-PATCHDIR= ${.CURDIR}/patches
-EMACS?= mule
+EMACS_PORT_NAME?= mule
-.if (${EMACS} == "xemacs")
+.if (${EMACS_PORT_NAME} == "xemacs21-mule")
EMACSDIR= ${PREFIX}/lib/xemacs/site-packages
ELISPDIR= ${EMACSDIR}/lisp/lookup
PORTINFODIR= ${EMACSDIR}/info
MANIFEST= MANIFEST.lookup
.else
-EMACSDIR= ${PREFIX}/share/emacs/site-lisp
+EMACSDIR= ${PREFIX}/share/${EMACS_NAME}/site-lisp
ELISPDIR= ${EMACSDIR}/lookup
PORTINFODIR= ${PREFIX}/info
.endif
-NO_BUILD= yes
+HAS_CONFIGURE= yes
+CONFIGURE_ARGS= --with-emacs=${EMACS_CMD} \
+ --with-lispdir=${ELISPDIR} \
+ --infodir=${PORTINFODIR}
-do-install:
- ${MKDIR} ${ELISPDIR} ${PORTINFODIR};
- ${INSTALL_DATA} ${WRKSRC}/lisp/*.el ${ELISPDIR}
- ${RM} ${ELISPDIR}/lookup-compile.el
- ${SED} -e 's,@VERSION@,${PORTVERSION},' -e 's,@pkgemacsdir@,${ELISPDIR},' \
- ${WRKSRC}/lisp/lookup-vars.el.in > ${ELISPDIR}/lookup-vars.el
- ${INSTALL_DATA} ${WRKSRC}/texi/lookup.info* ${PORTINFODIR}
- ${INSTALL_DATA} ${WRKSRC}/texi/lookup-guide.info ${PORTINFODIR}
-.if (${EMACS} != "xemacs")
- install-info ${PORTINFODIR}/lookup.info ${PORTINFODIR}/dir
- install-info ${PORTINFODIR}/lookup-guide.info ${PORTINFODIR}/dir
-.endif
- ${SED} -e 's,%%ELISPDIR%%,${ELISPDIR},' ${FILESDIR}/lookup-startup.el.tmpl > ${ELISPDIR}/../lookup-startup.el
-
-.if (${EMACS} == "xemacs")
post-install:
+.if (${EMACS_PORT_NAME} == "xemacs")
${RM} -f ${WRKDIR}/${MANIFEST}
emacsdir=`${ECHO} ${EMACSDIR} | ${SED} -e "s;^${PREFIX}/;;"`; \
${CAT} ${PLIST} | ${GREP} -e "^$${emacsdir}" | \
diff --git a/japanese/lookup-emacs21/distinfo b/japanese/lookup-emacs21/distinfo
index d6e61fe8222d..6c0851902493 100644
--- a/japanese/lookup-emacs21/distinfo
+++ b/japanese/lookup-emacs21/distinfo
@@ -1 +1 @@
-MD5 (lookup-1.2.tar.gz) = 4a13ae2548ac52be0e54aa7b394b9955
+MD5 (lookup-1.3.tar.gz) = ed80e1cbcb25dfcdbdf25e6830e03434
diff --git a/japanese/lookup-emacs21/pkg-plist b/japanese/lookup-emacs21/pkg-plist
index ab5a017f7312..36e6dd4049bc 100644
--- a/japanese/lookup-emacs21/pkg-plist
+++ b/japanese/lookup-emacs21/pkg-plist
@@ -1,28 +1,49 @@
-share/emacs/site-lisp/lookup-startup.el
-share/emacs/site-lisp/lookup/evi-mule.el
-share/emacs/site-lisp/lookup/evi.el
-share/emacs/site-lisp/lookup/lookup-content.el
-share/emacs/site-lisp/lookup/lookup-entry.el
-share/emacs/site-lisp/lookup/lookup-kanji.el
-share/emacs/site-lisp/lookup/lookup-package.el
-share/emacs/site-lisp/lookup/lookup-select.el
-share/emacs/site-lisp/lookup/lookup-types.el
-share/emacs/site-lisp/lookup/lookup-utils.el
-share/emacs/site-lisp/lookup/lookup-vars.el
-share/emacs/site-lisp/lookup/lookup-vse.el
-share/emacs/site-lisp/lookup/lookup.el
-share/emacs/site-lisp/lookup/ndcookie.el
-share/emacs/site-lisp/lookup/ndeb.el
-share/emacs/site-lisp/lookup/ndic.el
-share/emacs/site-lisp/lookup/ndict.el
-share/emacs/site-lisp/lookup/ndkks.el
-share/emacs/site-lisp/lookup/ndmisc.el
-share/emacs/site-lisp/lookup/ndnmz.el
-share/emacs/site-lisp/lookup/ndspell.el
-share/emacs/site-lisp/lookup/ndsrd.el
-share/emacs/site-lisp/lookup/ndtp.el
-share/emacs/site-lisp/lookup/sdicf.el
-share/emacs/site-lisp/lookup/stem-english.el
+share/mule/site-lisp/lookup/evi.el
+share/mule/site-lisp/lookup/evi.elc
+share/mule/site-lisp/lookup/evi-mule.el
+share/mule/site-lisp/lookup/evi-mule.elc
+share/mule/site-lisp/lookup/lookup.el
+share/mule/site-lisp/lookup/lookup.elc
+share/mule/site-lisp/lookup/lookup-utils.el
+share/mule/site-lisp/lookup/lookup-utils.elc
+share/mule/site-lisp/lookup/lookup-types.el
+share/mule/site-lisp/lookup/lookup-types.elc
+share/mule/site-lisp/lookup/lookup-vse.el
+share/mule/site-lisp/lookup/lookup-vse.elc
+share/mule/site-lisp/lookup/lookup-package.el
+share/mule/site-lisp/lookup/lookup-package.elc
+share/mule/site-lisp/lookup/lookup-kanji.el
+share/mule/site-lisp/lookup/lookup-kanji.elc
+share/mule/site-lisp/lookup/lookup-entry.el
+share/mule/site-lisp/lookup/lookup-entry.elc
+share/mule/site-lisp/lookup/lookup-content.el
+share/mule/site-lisp/lookup/lookup-content.elc
+share/mule/site-lisp/lookup/lookup-select.el
+share/mule/site-lisp/lookup/lookup-select.elc
+share/mule/site-lisp/lookup/ndic.el
+share/mule/site-lisp/lookup/ndic.elc
+share/mule/site-lisp/lookup/ndeb.el
+share/mule/site-lisp/lookup/ndeb.elc
+share/mule/site-lisp/lookup/ndtp.el
+share/mule/site-lisp/lookup/ndtp.elc
+share/mule/site-lisp/lookup/ndict.el
+share/mule/site-lisp/lookup/ndict.elc
+share/mule/site-lisp/lookup/ndkks.el
+share/mule/site-lisp/lookup/ndkks.elc
+share/mule/site-lisp/lookup/ndspell.el
+share/mule/site-lisp/lookup/ndspell.elc
+share/mule/site-lisp/lookup/ndcookie.el
+share/mule/site-lisp/lookup/ndcookie.elc
+share/mule/site-lisp/lookup/ndmisc.el
+share/mule/site-lisp/lookup/ndmisc.elc
+share/mule/site-lisp/lookup/ndsrd.el
+share/mule/site-lisp/lookup/ndsrd.elc
+share/mule/site-lisp/lookup/sdicf.el
+share/mule/site-lisp/lookup/sdicf.elc
+share/mule/site-lisp/lookup/stem-english.el
+share/mule/site-lisp/lookup/stem-english.elc
+share/mule/site-lisp/lookup/lookup-vars.el
+share/mule/site-lisp/lookup/lookup-vars.elc
@unexec install-info --delete %D/info/lookup.info %D/info/dir
info/lookup.info
info/lookup.info-1
@@ -32,4 +53,4 @@ info/lookup.info-3
@unexec install-info --delete %D/info/lookup-guide.info %D/info/dir
info/lookup-guide.info
@exec install-info %D/info/lookup-guide.info %D/info/dir
-@dirrm share/emacs/site-lisp/lookup
+@dirrm share/mule/site-lisp/lookup
diff --git a/japanese/lookup-mule/Makefile b/japanese/lookup-mule/Makefile
index 7a05a0dbe27b..c45f01292a16 100644
--- a/japanese/lookup-mule/Makefile
+++ b/japanese/lookup-mule/Makefile
@@ -6,10 +6,10 @@
#
PORTNAME= lookup
-PORTVERSION= 1.2
-PKGNAMESUFFIX?= -mule
+PORTVERSION= 1.3
+PKGNAMESUFFIX= -${EMACS_PORT_NAME}
CATEGORIES= japanese elisp
-MASTER_SITES= http://openlab.ring.gr.jp/lookup/DIST/
+MASTER_SITES= http://download.sourceforge.net/lookup/
MAINTAINER= taoka@FreeBSD.org
@@ -18,37 +18,25 @@ RUN_DEPENDS+= eblook:${PORTSDIR}/japanese/eblook
FILESDIR= ${.CURDIR}/../lookup-mule/files
PKGDIR= ${.CURDIR}/../lookup-mule/pkg
PLIST= ${.CURDIR}/pkg/PLIST
-PATCHDIR= ${.CURDIR}/patches
-EMACS?= mule
+EMACS_PORT_NAME?= mule
-.if (${EMACS} == "xemacs")
+.if (${EMACS_PORT_NAME} == "xemacs21-mule")
EMACSDIR= ${PREFIX}/lib/xemacs/site-packages
ELISPDIR= ${EMACSDIR}/lisp/lookup
PORTINFODIR= ${EMACSDIR}/info
MANIFEST= MANIFEST.lookup
.else
-EMACSDIR= ${PREFIX}/share/emacs/site-lisp
+EMACSDIR= ${PREFIX}/share/${EMACS_NAME}/site-lisp
ELISPDIR= ${EMACSDIR}/lookup
PORTINFODIR= ${PREFIX}/info
.endif
-NO_BUILD= yes
+HAS_CONFIGURE= yes
+CONFIGURE_ARGS= --with-emacs=${EMACS_CMD} \
+ --with-lispdir=${ELISPDIR} \
+ --infodir=${PORTINFODIR}
-do-install:
- ${MKDIR} ${ELISPDIR} ${PORTINFODIR};
- ${INSTALL_DATA} ${WRKSRC}/lisp/*.el ${ELISPDIR}
- ${RM} ${ELISPDIR}/lookup-compile.el
- ${SED} -e 's,@VERSION@,${PORTVERSION},' -e 's,@pkgemacsdir@,${ELISPDIR},' \
- ${WRKSRC}/lisp/lookup-vars.el.in > ${ELISPDIR}/lookup-vars.el
- ${INSTALL_DATA} ${WRKSRC}/texi/lookup.info* ${PORTINFODIR}
- ${INSTALL_DATA} ${WRKSRC}/texi/lookup-guide.info ${PORTINFODIR}
-.if (${EMACS} != "xemacs")
- install-info ${PORTINFODIR}/lookup.info ${PORTINFODIR}/dir
- install-info ${PORTINFODIR}/lookup-guide.info ${PORTINFODIR}/dir
-.endif
- ${SED} -e 's,%%ELISPDIR%%,${ELISPDIR},' ${FILESDIR}/lookup-startup.el.tmpl > ${ELISPDIR}/../lookup-startup.el
-
-.if (${EMACS} == "xemacs")
post-install:
+.if (${EMACS_PORT_NAME} == "xemacs")
${RM} -f ${WRKDIR}/${MANIFEST}
emacsdir=`${ECHO} ${EMACSDIR} | ${SED} -e "s;^${PREFIX}/;;"`; \
${CAT} ${PLIST} | ${GREP} -e "^$${emacsdir}" | \
diff --git a/japanese/lookup-mule/distinfo b/japanese/lookup-mule/distinfo
index d6e61fe8222d..6c0851902493 100644
--- a/japanese/lookup-mule/distinfo
+++ b/japanese/lookup-mule/distinfo
@@ -1 +1 @@
-MD5 (lookup-1.2.tar.gz) = 4a13ae2548ac52be0e54aa7b394b9955
+MD5 (lookup-1.3.tar.gz) = ed80e1cbcb25dfcdbdf25e6830e03434
diff --git a/japanese/lookup-mule/pkg-plist b/japanese/lookup-mule/pkg-plist
index ab5a017f7312..36e6dd4049bc 100644
--- a/japanese/lookup-mule/pkg-plist
+++ b/japanese/lookup-mule/pkg-plist
@@ -1,28 +1,49 @@
-share/emacs/site-lisp/lookup-startup.el
-share/emacs/site-lisp/lookup/evi-mule.el
-share/emacs/site-lisp/lookup/evi.el
-share/emacs/site-lisp/lookup/lookup-content.el
-share/emacs/site-lisp/lookup/lookup-entry.el
-share/emacs/site-lisp/lookup/lookup-kanji.el
-share/emacs/site-lisp/lookup/lookup-package.el
-share/emacs/site-lisp/lookup/lookup-select.el
-share/emacs/site-lisp/lookup/lookup-types.el
-share/emacs/site-lisp/lookup/lookup-utils.el
-share/emacs/site-lisp/lookup/lookup-vars.el
-share/emacs/site-lisp/lookup/lookup-vse.el
-share/emacs/site-lisp/lookup/lookup.el
-share/emacs/site-lisp/lookup/ndcookie.el
-share/emacs/site-lisp/lookup/ndeb.el
-share/emacs/site-lisp/lookup/ndic.el
-share/emacs/site-lisp/lookup/ndict.el
-share/emacs/site-lisp/lookup/ndkks.el
-share/emacs/site-lisp/lookup/ndmisc.el
-share/emacs/site-lisp/lookup/ndnmz.el
-share/emacs/site-lisp/lookup/ndspell.el
-share/emacs/site-lisp/lookup/ndsrd.el
-share/emacs/site-lisp/lookup/ndtp.el
-share/emacs/site-lisp/lookup/sdicf.el
-share/emacs/site-lisp/lookup/stem-english.el
+share/mule/site-lisp/lookup/evi.el
+share/mule/site-lisp/lookup/evi.elc
+share/mule/site-lisp/lookup/evi-mule.el
+share/mule/site-lisp/lookup/evi-mule.elc
+share/mule/site-lisp/lookup/lookup.el
+share/mule/site-lisp/lookup/lookup.elc
+share/mule/site-lisp/lookup/lookup-utils.el
+share/mule/site-lisp/lookup/lookup-utils.elc
+share/mule/site-lisp/lookup/lookup-types.el
+share/mule/site-lisp/lookup/lookup-types.elc
+share/mule/site-lisp/lookup/lookup-vse.el
+share/mule/site-lisp/lookup/lookup-vse.elc
+share/mule/site-lisp/lookup/lookup-package.el
+share/mule/site-lisp/lookup/lookup-package.elc
+share/mule/site-lisp/lookup/lookup-kanji.el
+share/mule/site-lisp/lookup/lookup-kanji.elc
+share/mule/site-lisp/lookup/lookup-entry.el
+share/mule/site-lisp/lookup/lookup-entry.elc
+share/mule/site-lisp/lookup/lookup-content.el
+share/mule/site-lisp/lookup/lookup-content.elc
+share/mule/site-lisp/lookup/lookup-select.el
+share/mule/site-lisp/lookup/lookup-select.elc
+share/mule/site-lisp/lookup/ndic.el
+share/mule/site-lisp/lookup/ndic.elc
+share/mule/site-lisp/lookup/ndeb.el
+share/mule/site-lisp/lookup/ndeb.elc
+share/mule/site-lisp/lookup/ndtp.el
+share/mule/site-lisp/lookup/ndtp.elc
+share/mule/site-lisp/lookup/ndict.el
+share/mule/site-lisp/lookup/ndict.elc
+share/mule/site-lisp/lookup/ndkks.el
+share/mule/site-lisp/lookup/ndkks.elc
+share/mule/site-lisp/lookup/ndspell.el
+share/mule/site-lisp/lookup/ndspell.elc
+share/mule/site-lisp/lookup/ndcookie.el
+share/mule/site-lisp/lookup/ndcookie.elc
+share/mule/site-lisp/lookup/ndmisc.el
+share/mule/site-lisp/lookup/ndmisc.elc
+share/mule/site-lisp/lookup/ndsrd.el
+share/mule/site-lisp/lookup/ndsrd.elc
+share/mule/site-lisp/lookup/sdicf.el
+share/mule/site-lisp/lookup/sdicf.elc
+share/mule/site-lisp/lookup/stem-english.el
+share/mule/site-lisp/lookup/stem-english.elc
+share/mule/site-lisp/lookup/lookup-vars.el
+share/mule/site-lisp/lookup/lookup-vars.elc
@unexec install-info --delete %D/info/lookup.info %D/info/dir
info/lookup.info
info/lookup.info-1
@@ -32,4 +53,4 @@ info/lookup.info-3
@unexec install-info --delete %D/info/lookup-guide.info %D/info/dir
info/lookup-guide.info
@exec install-info %D/info/lookup-guide.info %D/info/dir
-@dirrm share/emacs/site-lisp/lookup
+@dirrm share/mule/site-lisp/lookup
diff --git a/japanese/lookup-xemacs/Makefile b/japanese/lookup-xemacs/Makefile
index 614b175b3f81..4d380766ba62 100644
--- a/japanese/lookup-xemacs/Makefile
+++ b/japanese/lookup-xemacs/Makefile
@@ -5,9 +5,7 @@
# $FreeBSD$
#
-PKGNAMESUFFIX= -xemacs
-
MASTERDIR= ${.CURDIR}/../lookup-mule
-EMACS= xemacs
+EMACS_PORT_NAME=xemacs21-mule
.include "${MASTERDIR}/Makefile"
diff --git a/japanese/lookup-xemacs/pkg-plist b/japanese/lookup-xemacs/pkg-plist
index 999d4ae57677..b3ee86a7145f 100644
--- a/japanese/lookup-xemacs/pkg-plist
+++ b/japanese/lookup-xemacs/pkg-plist
@@ -1,28 +1,49 @@
-lib/xemacs/site-packages/lisp/lookup-startup.el
lib/xemacs/site-packages/lisp/lookup/evi-mule.el
+lib/xemacs/site-packages/lisp/lookup/evi-mule.elc
lib/xemacs/site-packages/lisp/lookup/evi.el
+lib/xemacs/site-packages/lisp/lookup/evi.elc
lib/xemacs/site-packages/lisp/lookup/lookup-content.el
+lib/xemacs/site-packages/lisp/lookup/lookup-content.elc
lib/xemacs/site-packages/lisp/lookup/lookup-entry.el
+lib/xemacs/site-packages/lisp/lookup/lookup-entry.elc
lib/xemacs/site-packages/lisp/lookup/lookup-kanji.el
+lib/xemacs/site-packages/lisp/lookup/lookup-kanji.elc
lib/xemacs/site-packages/lisp/lookup/lookup-package.el
+lib/xemacs/site-packages/lisp/lookup/lookup-package.elc
lib/xemacs/site-packages/lisp/lookup/lookup-select.el
+lib/xemacs/site-packages/lisp/lookup/lookup-select.elc
lib/xemacs/site-packages/lisp/lookup/lookup-types.el
+lib/xemacs/site-packages/lisp/lookup/lookup-types.elc
lib/xemacs/site-packages/lisp/lookup/lookup-utils.el
+lib/xemacs/site-packages/lisp/lookup/lookup-utils.elc
lib/xemacs/site-packages/lisp/lookup/lookup-vars.el
+lib/xemacs/site-packages/lisp/lookup/lookup-vars.elc
lib/xemacs/site-packages/lisp/lookup/lookup-vse.el
+lib/xemacs/site-packages/lisp/lookup/lookup-vse.elc
lib/xemacs/site-packages/lisp/lookup/lookup.el
+lib/xemacs/site-packages/lisp/lookup/lookup.elc
lib/xemacs/site-packages/lisp/lookup/ndcookie.el
+lib/xemacs/site-packages/lisp/lookup/ndcookie.elc
lib/xemacs/site-packages/lisp/lookup/ndeb.el
+lib/xemacs/site-packages/lisp/lookup/ndeb.elc
lib/xemacs/site-packages/lisp/lookup/ndic.el
+lib/xemacs/site-packages/lisp/lookup/ndic.elc
lib/xemacs/site-packages/lisp/lookup/ndict.el
+lib/xemacs/site-packages/lisp/lookup/ndict.elc
lib/xemacs/site-packages/lisp/lookup/ndkks.el
+lib/xemacs/site-packages/lisp/lookup/ndkks.elc
lib/xemacs/site-packages/lisp/lookup/ndmisc.el
-lib/xemacs/site-packages/lisp/lookup/ndnmz.el
+lib/xemacs/site-packages/lisp/lookup/ndmisc.elc
lib/xemacs/site-packages/lisp/lookup/ndspell.el
+lib/xemacs/site-packages/lisp/lookup/ndspell.elc
lib/xemacs/site-packages/lisp/lookup/ndsrd.el
+lib/xemacs/site-packages/lisp/lookup/ndsrd.elc
lib/xemacs/site-packages/lisp/lookup/ndtp.el
+lib/xemacs/site-packages/lisp/lookup/ndtp.elc
lib/xemacs/site-packages/lisp/lookup/sdicf.el
+lib/xemacs/site-packages/lisp/lookup/sdicf.elc
lib/xemacs/site-packages/lisp/lookup/stem-english.el
+lib/xemacs/site-packages/lisp/lookup/stem-english.elc
lib/xemacs/site-packages/pkginfo/MANIFEST.lookup
lib/xemacs/site-packages/info/lookup.info
lib/xemacs/site-packages/info/lookup.info-1
diff --git a/japanese/lookup/Makefile b/japanese/lookup/Makefile
index 7a05a0dbe27b..c45f01292a16 100644
--- a/japanese/lookup/Makefile
+++ b/japanese/lookup/Makefile
@@ -6,10 +6,10 @@
#
PORTNAME= lookup
-PORTVERSION= 1.2
-PKGNAMESUFFIX?= -mule
+PORTVERSION= 1.3
+PKGNAMESUFFIX= -${EMACS_PORT_NAME}
CATEGORIES= japanese elisp
-MASTER_SITES= http://openlab.ring.gr.jp/lookup/DIST/
+MASTER_SITES= http://download.sourceforge.net/lookup/
MAINTAINER= taoka@FreeBSD.org
@@ -18,37 +18,25 @@ RUN_DEPENDS+= eblook:${PORTSDIR}/japanese/eblook
FILESDIR= ${.CURDIR}/../lookup-mule/files
PKGDIR= ${.CURDIR}/../lookup-mule/pkg
PLIST= ${.CURDIR}/pkg/PLIST
-PATCHDIR= ${.CURDIR}/patches
-EMACS?= mule
+EMACS_PORT_NAME?= mule
-.if (${EMACS} == "xemacs")
+.if (${EMACS_PORT_NAME} == "xemacs21-mule")
EMACSDIR= ${PREFIX}/lib/xemacs/site-packages
ELISPDIR= ${EMACSDIR}/lisp/lookup
PORTINFODIR= ${EMACSDIR}/info
MANIFEST= MANIFEST.lookup
.else
-EMACSDIR= ${PREFIX}/share/emacs/site-lisp
+EMACSDIR= ${PREFIX}/share/${EMACS_NAME}/site-lisp
ELISPDIR= ${EMACSDIR}/lookup
PORTINFODIR= ${PREFIX}/info
.endif
-NO_BUILD= yes
+HAS_CONFIGURE= yes
+CONFIGURE_ARGS= --with-emacs=${EMACS_CMD} \
+ --with-lispdir=${ELISPDIR} \
+ --infodir=${PORTINFODIR}
-do-install:
- ${MKDIR} ${ELISPDIR} ${PORTINFODIR};
- ${INSTALL_DATA} ${WRKSRC}/lisp/*.el ${ELISPDIR}
- ${RM} ${ELISPDIR}/lookup-compile.el
- ${SED} -e 's,@VERSION@,${PORTVERSION},' -e 's,@pkgemacsdir@,${ELISPDIR},' \
- ${WRKSRC}/lisp/lookup-vars.el.in > ${ELISPDIR}/lookup-vars.el
- ${INSTALL_DATA} ${WRKSRC}/texi/lookup.info* ${PORTINFODIR}
- ${INSTALL_DATA} ${WRKSRC}/texi/lookup-guide.info ${PORTINFODIR}
-.if (${EMACS} != "xemacs")
- install-info ${PORTINFODIR}/lookup.info ${PORTINFODIR}/dir
- install-info ${PORTINFODIR}/lookup-guide.info ${PORTINFODIR}/dir
-.endif
- ${SED} -e 's,%%ELISPDIR%%,${ELISPDIR},' ${FILESDIR}/lookup-startup.el.tmpl > ${ELISPDIR}/../lookup-startup.el
-
-.if (${EMACS} == "xemacs")
post-install:
+.if (${EMACS_PORT_NAME} == "xemacs")
${RM} -f ${WRKDIR}/${MANIFEST}
emacsdir=`${ECHO} ${EMACSDIR} | ${SED} -e "s;^${PREFIX}/;;"`; \
${CAT} ${PLIST} | ${GREP} -e "^$${emacsdir}" | \
diff --git a/japanese/lookup/distinfo b/japanese/lookup/distinfo
index d6e61fe8222d..6c0851902493 100644
--- a/japanese/lookup/distinfo
+++ b/japanese/lookup/distinfo
@@ -1 +1 @@
-MD5 (lookup-1.2.tar.gz) = 4a13ae2548ac52be0e54aa7b394b9955
+MD5 (lookup-1.3.tar.gz) = ed80e1cbcb25dfcdbdf25e6830e03434
diff --git a/japanese/lookup/pkg-plist b/japanese/lookup/pkg-plist
index ab5a017f7312..36e6dd4049bc 100644
--- a/japanese/lookup/pkg-plist
+++ b/japanese/lookup/pkg-plist
@@ -1,28 +1,49 @@
-share/emacs/site-lisp/lookup-startup.el
-share/emacs/site-lisp/lookup/evi-mule.el
-share/emacs/site-lisp/lookup/evi.el
-share/emacs/site-lisp/lookup/lookup-content.el
-share/emacs/site-lisp/lookup/lookup-entry.el
-share/emacs/site-lisp/lookup/lookup-kanji.el
-share/emacs/site-lisp/lookup/lookup-package.el
-share/emacs/site-lisp/lookup/lookup-select.el
-share/emacs/site-lisp/lookup/lookup-types.el
-share/emacs/site-lisp/lookup/lookup-utils.el
-share/emacs/site-lisp/lookup/lookup-vars.el
-share/emacs/site-lisp/lookup/lookup-vse.el
-share/emacs/site-lisp/lookup/lookup.el
-share/emacs/site-lisp/lookup/ndcookie.el
-share/emacs/site-lisp/lookup/ndeb.el
-share/emacs/site-lisp/lookup/ndic.el
-share/emacs/site-lisp/lookup/ndict.el
-share/emacs/site-lisp/lookup/ndkks.el
-share/emacs/site-lisp/lookup/ndmisc.el
-share/emacs/site-lisp/lookup/ndnmz.el
-share/emacs/site-lisp/lookup/ndspell.el
-share/emacs/site-lisp/lookup/ndsrd.el
-share/emacs/site-lisp/lookup/ndtp.el
-share/emacs/site-lisp/lookup/sdicf.el
-share/emacs/site-lisp/lookup/stem-english.el
+share/mule/site-lisp/lookup/evi.el
+share/mule/site-lisp/lookup/evi.elc
+share/mule/site-lisp/lookup/evi-mule.el
+share/mule/site-lisp/lookup/evi-mule.elc
+share/mule/site-lisp/lookup/lookup.el
+share/mule/site-lisp/lookup/lookup.elc
+share/mule/site-lisp/lookup/lookup-utils.el
+share/mule/site-lisp/lookup/lookup-utils.elc
+share/mule/site-lisp/lookup/lookup-types.el
+share/mule/site-lisp/lookup/lookup-types.elc
+share/mule/site-lisp/lookup/lookup-vse.el
+share/mule/site-lisp/lookup/lookup-vse.elc
+share/mule/site-lisp/lookup/lookup-package.el
+share/mule/site-lisp/lookup/lookup-package.elc
+share/mule/site-lisp/lookup/lookup-kanji.el
+share/mule/site-lisp/lookup/lookup-kanji.elc
+share/mule/site-lisp/lookup/lookup-entry.el
+share/mule/site-lisp/lookup/lookup-entry.elc
+share/mule/site-lisp/lookup/lookup-content.el
+share/mule/site-lisp/lookup/lookup-content.elc
+share/mule/site-lisp/lookup/lookup-select.el
+share/mule/site-lisp/lookup/lookup-select.elc
+share/mule/site-lisp/lookup/ndic.el
+share/mule/site-lisp/lookup/ndic.elc
+share/mule/site-lisp/lookup/ndeb.el
+share/mule/site-lisp/lookup/ndeb.elc
+share/mule/site-lisp/lookup/ndtp.el
+share/mule/site-lisp/lookup/ndtp.elc
+share/mule/site-lisp/lookup/ndict.el
+share/mule/site-lisp/lookup/ndict.elc
+share/mule/site-lisp/lookup/ndkks.el
+share/mule/site-lisp/lookup/ndkks.elc
+share/mule/site-lisp/lookup/ndspell.el
+share/mule/site-lisp/lookup/ndspell.elc
+share/mule/site-lisp/lookup/ndcookie.el
+share/mule/site-lisp/lookup/ndcookie.elc
+share/mule/site-lisp/lookup/ndmisc.el
+share/mule/site-lisp/lookup/ndmisc.elc
+share/mule/site-lisp/lookup/ndsrd.el
+share/mule/site-lisp/lookup/ndsrd.elc
+share/mule/site-lisp/lookup/sdicf.el
+share/mule/site-lisp/lookup/sdicf.elc
+share/mule/site-lisp/lookup/stem-english.el
+share/mule/site-lisp/lookup/stem-english.elc
+share/mule/site-lisp/lookup/lookup-vars.el
+share/mule/site-lisp/lookup/lookup-vars.elc
@unexec install-info --delete %D/info/lookup.info %D/info/dir
info/lookup.info
info/lookup.info-1
@@ -32,4 +53,4 @@ info/lookup.info-3
@unexec install-info --delete %D/info/lookup-guide.info %D/info/dir
info/lookup-guide.info
@exec install-info %D/info/lookup-guide.info %D/info/dir
-@dirrm share/emacs/site-lisp/lookup
+@dirrm share/mule/site-lisp/lookup