aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
Diffstat (limited to 'editors')
-rw-r--r--editors/wemi-emacs/Makefile76
-rw-r--r--editors/wemi-emacs/distinfo2
-rw-r--r--editors/wemi-emacs/files/patch-ac19
-rw-r--r--editors/wemi-emacs/pkg-plist8
-rw-r--r--editors/wemi-emacs20/Makefile5
-rw-r--r--editors/wemi-emacs20/pkg-plist5
-rw-r--r--editors/wemi-mule/Makefile8
-rw-r--r--editors/wemi-mule/pkg-plist5
-rw-r--r--editors/wemi-xemacs/Makefile2
-rw-r--r--editors/wemi-xemacs/pkg-plist8
-rw-r--r--editors/wemi-xemacs20/Makefile2
-rw-r--r--editors/wemi-xemacs20/pkg-plist8
-rw-r--r--editors/wemi-xemacs21-mule/Makefile12
-rw-r--r--editors/wemi-xemacs21-mule/pkg-descr4
-rw-r--r--editors/wemi-xemacs21-mule/pkg-plist13
15 files changed, 119 insertions, 58 deletions
diff --git a/editors/wemi-emacs/Makefile b/editors/wemi-emacs/Makefile
index f246dc2ffe66..14c954bdb947 100644
--- a/editors/wemi-emacs/Makefile
+++ b/editors/wemi-emacs/Makefile
@@ -1,5 +1,5 @@
# New ports collection makefile for: wemi for emacs
-# Version required: 1.8.6
+# Version required: 1.13.4
# Date created: 9 May 1999
# Whom: Shigeyuki FUKUSHIMA <shige@FreeBSD.org>
#
@@ -8,19 +8,22 @@
DISTNAME= wemi-${WEMI_VER}
CATEGORIES= editors elisp
-MASTER_SITES= ftp://ftp.jaist.ac.jp/pub/GNU/elisp/semi/semi-1.08-for-flim-1.9/
+MASTER_SITES= ftp://ftp.jpl.org/pub/elisp/wemi/
MAINTAINER?= shige@FreeBSD.org
PORTCLASS?= master
# distfile version
-FLIM_VER= 1.9.2
-WEMI_VER= 1.8.6
+FLIM_VER= 1.12.7
+WEMI_VER= 1.13.4
# setupel filename
WEMI_SETUPEL= wemi-setupel.el
# document install directory by install-doc target
WEMIDOCDIR?= share/doc/semi
+FLIM_COOKIE= flim-${EMACS_PORT}-${FLIM_VER}.FreeBSD-packages
+SEMI_COOKIE= semi-${EMACS_PORT}-${WEMI_VER}.FreeBSD-packages
+WEMI_COOKIE= wemi-${EMACS_PORT}-${WEMI_VER}.FreeBSD-packages
.if (${PORTCLASS} == "master")
# emacs port setup
@@ -29,6 +32,7 @@ EMACS_PORT= emacs
EMACS_VER= 19.34
EMACS_LIBDIR= share/${EMACS_NAME}
EMACS_LIBDIR_WITH_VER= ${EMACS_LIBDIR}/${EMACS_VER}
+# whether emacs requires *-setupel.el
REQUIRE_SETUPEL= YES
.endif
@@ -38,9 +42,9 @@ ALL_TARGET?= elc
.if defined(EMACS_PORT)
PKGNAME= wemi-${EMACS_PORT}-${WEMI_VER}
EMACS_CMD= ${PREFIX}/bin/${EMACS_NAME}-${EMACS_VER}
-BUILD_DEPENDS= ${EMACS_CMD}:${PORTSDIR}/editors/${EMACS_PORT}
-.if defined(HAVE_COMMON_PORT) && (${HAVE_COMMON_PORT} == "YES")
-RUN_DEPENDS= ${EMACS_CMD}:${PORTSDIR}/editors/${EMACS_PORT}-common
+BUILD_DEPENDS+= ${EMACS_CMD}:${PORTSDIR}/editors/${EMACS_PORT}
+.if defined(HAS_COMMON_PORT) && (${HAS_COMMON_PORT} == "YES")
+RUN_DEPENDS+= ${EMACS_CMD}:${PORTSDIR}/editors/${EMACS_PORT}-common
.else
RUN_DEPENDS= ${EMACS_CMD}:${PORTSDIR}/editors/${EMACS_PORT}
.endif
@@ -51,8 +55,9 @@ SCRIPTS_ENV+= EMACS_LIBDIR=${EMACS_LIBDIR} EMACS_VER=${EMACS_VER} \
PLIST_SUB+= EMACS_LIBDIR=${EMACS_LIBDIR} EMACS_VER=${EMACS_VER} \
EMACS_LIBDIR_WITH_VER=${EMACS_LIBDIR_WITH_VER} \
EMACS_PACKAGESDIR=${EMACS_PACKAGESDIR} \
- WEMIDOCDIR=${WEMIDOCDIR} WEMI_SETUPEL=${WEMI_SETUPEL}
-MAKE_FLAGS+= EMACS=${EMACS_CMD}
+ WEMIDOCDIR=${WEMIDOCDIR} WEMI_SETUPEL=${WEMI_SETUPEL} \
+ SEMI_COOKIE=${SEMI_COOKIE} WEMI_COOKIE=${WEMI_COOKIE}
+MAKE_FLAGS+= EMACS=${EMACS_CMD} XEMACS=${EMACS_CMD}
.if (${EMACS_VER} == "19.34")
# depends on custom: emacs-19.34 or mule-19.34
BUILD_DEPENDS+= ${PREFIX}/${EMACS_LIBDIR_WITH_VER}/site-lisp/custom.el:${PORTSDIR}/editors/custom-${EMACS_PORT}
@@ -68,8 +73,8 @@ BUILD_DEPENDS+= ${PREFIX}/${EMACS_LIBDIR_WITH_VER}/site-lisp/emu/emu.el:${PORTSD
RUN_DEPENDS+= ${PREFIX}/${EMACS_LIBDIR_WITH_VER}/site-lisp/emu/emu.el:${PORTSDIR}/editors/apel-${EMACS_PORT}
.endif
# depends on flim
-BUILD_DEPENDS+= ${PKG_DBDIR}/flim-${EMACS_PORT}-${FLIM_VER}:${PORTSDIR}/editors/flim-${EMACS_PORT}
-RUN_DEPENDS+= ${PKG_DBDIR}/flim-${EMACS_PORT}-${FLIM_VER}:${PORTSDIR}/editors/flim-${EMACS_PORT}
+BUILD_DEPENDS+= ${PREFIX}/share/flim/${FLIM_COOKIE}:${PORTSDIR}/editors/flim-${EMACS_PORT}
+RUN_DEPENDS+= ${PREFIX}/share/flim/${FLIM_COOKIE}:${PORTSDIR}/editors/flim-${EMACS_PORT}
.else
.BEGIN:
@${ECHO} "Error: Bad port."
@@ -77,8 +82,10 @@ RUN_DEPENDS+= ${PKG_DBDIR}/flim-${EMACS_PORT}-${FLIM_VER}:${PORTSDIR}/editors/fl
@${FALSE}
.endif
+.if !defined(BUILD_INFO_BY_EMACS) || (${BUILD_INFO_BY_EMACS} == "NO")
# info files JIS to EUC
BUILD_DEPENDS+= nkf:${PORTSDIR}/japanese/nkf
+.endif
pre-configure:
.if defined(REQUIRE_SETUPEL) && (${REQUIRE_SETUPEL} == "YES")
@@ -92,9 +99,16 @@ MAKEINFO_EMACS= ${EMACS_CMD} -no-site-file -no-init-file -batch
MAKEINFO_EMACS_FLAGS= -e texinfo-format-buffer -f save-buffer
post-build:
+.if defined(BUILD_INFO_BY_EMACS) && (${BUILD_INFO_BY_EMACS} == "YES")
+ @${MAKE} info-build-by-emacs
+.else
@${MAKE} info-build
+.endif
post-install:
+ @${MKDIR} -p ${PREFIX}/share/semi
+ @${TOUCH} ${PREFIX}/share/semi/${SEMI_COOKIE}
+ @${TOUCH} ${PREFIX}/share/semi/${WEMI_COOKIE}
.if defined(REQUIRE_SETUPEL) && (${REQUIRE_SETUPEL} == "YES")
@${MAKE} setupel-install
.endif
@@ -109,24 +123,37 @@ post-install:
.endif
-
-# functions
+###############################################################################
+#
+# miscellaneous local functions
+#
info-build:
@(cd ${WRKSRC} ; \
- for i in mime-ui-en.texi mime-ui-ja.texi; do \
+ for i in mime-ui-en.texi; do \
${MV} $${i} $${i}.jis ; \
${CAT} $${i}.jis | nkf -e > $${i} ; \
${MAKEINFO} $${i} || ${TRUE} ; \
done)
-
-info-build-by-emacs:
+.if defined(HAS_MULE) && (${HAS_MULE} == "YES")
@(cd ${WRKSRC} ; \
- for i in mime-ui-en.texi mime-ui-ja.texi; do \
+ for i in mime-ui-ja.texi; do \
${MV} $${i} $${i}.jis ; \
${CAT} $${i}.jis | nkf -e > $${i} ; \
- ${MAKEINFO_EMACS} $${i} ${MAKEINFO_EMACS_FLAGS} || ${TRUE} ; \
+ ${MAKEINFO} $${i} || ${TRUE} ; \
done)
+.endif
+info-build-by-emacs:
+ @(cd ${WRKSRC} ; \
+ for i in mime-ui-en.texi; do \
+ ${MAKEINFO_EMACS} $${i} ${MAKEINFO_EMACS_FLAGS} || ${TRUE} ; \
+ done)
+.if defined(HAS_MULE) && (${HAS_MULE} == "YES")
+ @(cd ${WRKSRC} ; \
+ for i in mime-ui-ja.texi; do \
+ ${MAKEINFO_EMACS} $${i} ${MAKEINFO_EMACS_FLAGS} || ${TRUE} ; \
+ done)
+.endif
doc-install:
@${MKDIR} ${PREFIX}/${WEMIDOCDIR}
@@ -137,14 +164,21 @@ doc-install:
setupel-install:
@${INSTALL_DATA} ${WRKDIR}/${WEMI_SETUPEL} \
- ${PREFIX}/${EMACS_LIBDIR_WITH_VER}/site-lisp
+ ${PREFIX}/${EMACS_LIBDIR_WITH_VER}/site-lisp
info-install:
@(cd ${WRKSRC} ; \
- for i in mime-ui-en.info mime-ui-ja.info; do \
+ for i in mime-ui-en.info; do \
+ ${INSTALL_DATA} ${WRKSRC}/$${i} ${PREFIX}/info ; \
+ install-info ${PREFIX}/info/$${i} ${PREFIX}/info/dir ; \
+ done)
+.if defined(HAS_MULE) && (${HAS_MULE} == "YES")
+ @(cd ${WRKSRC} ; \
+ for i in mime-ui-ja.info; do \
${INSTALL_DATA} ${WRKSRC}/$${i} ${PREFIX}/info ; \
install-info ${PREFIX}/info/$${i} ${PREFIX}/info/dir ; \
done)
+.endif
info-package-install:
@(cd ${WRKSRC} ; \
@@ -152,7 +186,7 @@ info-package-install:
${INSTALL_DATA} ${WRKSRC}/$${i} \
${PREFIX}/${EMACS_PACKAGESDIR}/info ; \
done ; \
- ${MKDIR} -p ${PREFIX}/${EMACS_PACKAGESDIR}/man/semi ; \
+ ${MKDIR} -p ${PREFIX}/${EMACS_PACKAGESDIR}/man/semi ; \
for i in mime-ui-en.texi mime-ui-ja.texi; do \
${INSTALL_DATA} ${WRKSRC}/$${i} \
${PREFIX}/${EMACS_PACKAGESDIR}/man/semi ; \
diff --git a/editors/wemi-emacs/distinfo b/editors/wemi-emacs/distinfo
index f1e6e6175861..73fa9a1ecfb7 100644
--- a/editors/wemi-emacs/distinfo
+++ b/editors/wemi-emacs/distinfo
@@ -1 +1 @@
-MD5 (wemi-1.8.6.tar.gz) = 7459d1d821640ea83ab9284afe973809
+MD5 (wemi-1.13.4.tar.gz) = b4aa78fc2e5e842c7da00e8c63072e08
diff --git a/editors/wemi-emacs/files/patch-ac b/editors/wemi-emacs/files/patch-ac
index 2c7aa48962d6..5967e2cd37d3 100644
--- a/editors/wemi-emacs/files/patch-ac
+++ b/editors/wemi-emacs/files/patch-ac
@@ -1,6 +1,6 @@
---- SEMI-CFG.orig Wed Sep 16 15:48:58 1998
-+++ SEMI-CFG Sun May 9 21:54:02 1999
-@@ -11,6 +11,8 @@
+--- SEMI-CFG.orig Tue Oct 13 09:00:58 1998
++++ SEMI-CFG Sat Oct 16 13:47:42 1999
+@@ -9,6 +9,8 @@
(add-to-list 'load-path
(expand-file-name "../../site-lisp/apel" data-directory))
(add-to-list 'load-path
@@ -8,4 +8,15 @@
+(add-to-list 'load-path
(expand-file-name "." data-directory))
- (when (boundp 'LISPDIR)
+ (if (boundp 'LISPDIR)
+@@ -22,6 +24,10 @@
+
+ (if VERSION_SPECIFIC_LISPDIR
+ (add-to-list 'load-path VERSION_SPECIFIC_LISPDIR))
++
++(condition-case nil
++ (require 'emu)
++ (error (error "Please install APEL 8.7 or later.")))
+
+ (condition-case nil
+ (require 'install)
diff --git a/editors/wemi-emacs/pkg-plist b/editors/wemi-emacs/pkg-plist
index 1b1a3d601a9a..79964d48f83d 100644
--- a/editors/wemi-emacs/pkg-plist
+++ b/editors/wemi-emacs/pkg-plist
@@ -6,8 +6,6 @@
%%EMACS_LIBDIR%%/site-lisp/semi/semi-def.elc
%%EMACS_LIBDIR%%/site-lisp/semi/mime-view.el
%%EMACS_LIBDIR%%/site-lisp/semi/mime-view.elc
-%%EMACS_LIBDIR%%/site-lisp/semi/mime-text.el
-%%EMACS_LIBDIR%%/site-lisp/semi/mime-text.elc
%%EMACS_LIBDIR%%/site-lisp/semi/mime-play.el
%%EMACS_LIBDIR%%/site-lisp/semi/mime-play.elc
%%EMACS_LIBDIR%%/site-lisp/semi/mime-partial.el
@@ -31,8 +29,8 @@
%%WEMIDOCDIR%%/VERSION
@dirrm %%WEMIDOCDIR%%
@unexec install-info --delete %D/info/mime-ui-en.info %D/info/dir
-@unexec install-info --delete %D/info/mime-ui-ja.info %D/info/dir
info/mime-ui-en.info
-info/mime-ui-ja.info
@exec install-info %D/info/mime-ui-en.info %D/info/dir
-@exec install-info %D/info/mime-ui-ja.info %D/info/dir
+share/semi/%%SEMI_COOKIE%%
+share/semi/%%WEMI_COOKIE%%
+@unexec /bin/rmdir %D/share/semi || true
diff --git a/editors/wemi-emacs20/Makefile b/editors/wemi-emacs20/Makefile
index 9b122998e079..d17f9febc216 100644
--- a/editors/wemi-emacs20/Makefile
+++ b/editors/wemi-emacs20/Makefile
@@ -1,5 +1,5 @@
# New ports collection makefile for: wemi for emacs20
-# Version required: 1.8.6
+# Version required: 1.13.4
# Date created: 23 September 1998
# Whom: Shigeyuki FUKUSHIMA <shige@FreeBSD.org>
#
@@ -20,6 +20,9 @@ EMACS_VER= 20.4
EMACS_LIBDIR= share/${EMACS_NAME}
EMACS_LIBDIR_WITH_VER= ${EMACS_LIBDIR}/${EMACS_VER}
+# whether emacs has mule feature
+HAS_MULE= YES
+
# use pkg/* files in ${.CURDIR}
PKGDIR= ${.CURDIR}/pkg
diff --git a/editors/wemi-emacs20/pkg-plist b/editors/wemi-emacs20/pkg-plist
index 38cb223ccc58..699335de3954 100644
--- a/editors/wemi-emacs20/pkg-plist
+++ b/editors/wemi-emacs20/pkg-plist
@@ -8,8 +8,6 @@
%%EMACS_LIBDIR%%/site-lisp/semi/mime-image.elc
%%EMACS_LIBDIR%%/site-lisp/semi/mime-view.el
%%EMACS_LIBDIR%%/site-lisp/semi/mime-view.elc
-%%EMACS_LIBDIR%%/site-lisp/semi/mime-text.el
-%%EMACS_LIBDIR%%/site-lisp/semi/mime-text.elc
%%EMACS_LIBDIR%%/site-lisp/semi/mime-play.el
%%EMACS_LIBDIR%%/site-lisp/semi/mime-play.elc
%%EMACS_LIBDIR%%/site-lisp/semi/mime-partial.el
@@ -37,3 +35,6 @@ info/mime-ui-en.info
info/mime-ui-ja.info
@exec install-info %D/info/mime-ui-en.info %D/info/dir
@exec install-info %D/info/mime-ui-ja.info %D/info/dir
+share/semi/%%SEMI_COOKIE%%
+share/semi/%%WEMI_COOKIE%%
+@unexec /bin/rmdir %D/share/semi || true
diff --git a/editors/wemi-mule/Makefile b/editors/wemi-mule/Makefile
index 4609054e1660..fde8d6659fba 100644
--- a/editors/wemi-mule/Makefile
+++ b/editors/wemi-mule/Makefile
@@ -1,5 +1,5 @@
# New ports collection makefile for: wemi for mule
-# Version required: 1.8.6
+# Version required: 1.13.4
# Date created: 9 May 1999
# Whom: Shigeyuki FUKUSHIMA <shige@FreeBSD.org>
#
@@ -20,8 +20,12 @@ EMACS_VER= 19.34
EMACS_LIBDIR= share/${EMACS_NAME}
EMACS_LIBDIR_WITH_VER= ${EMACS_LIBDIR}/${EMACS_VER}
-HAVE_COMMON_PORT= YES
+# whether emacs requires *-setupel.el
REQUIRE_SETUPEL= YES
+# whether emacs has a *-common port
+HAS_COMMON_PORT= YES
+# whether emacs has mule feature
+HAS_MULE= YES
# use pkg/* files in ${.CURDIR}
PKGDIR= ${.CURDIR}/pkg
diff --git a/editors/wemi-mule/pkg-plist b/editors/wemi-mule/pkg-plist
index 8e8fa3dd0697..e2a345a8205d 100644
--- a/editors/wemi-mule/pkg-plist
+++ b/editors/wemi-mule/pkg-plist
@@ -8,8 +8,6 @@
%%EMACS_LIBDIR%%/site-lisp/semi/mime-image.elc
%%EMACS_LIBDIR%%/site-lisp/semi/mime-view.el
%%EMACS_LIBDIR%%/site-lisp/semi/mime-view.elc
-%%EMACS_LIBDIR%%/site-lisp/semi/mime-text.el
-%%EMACS_LIBDIR%%/site-lisp/semi/mime-text.elc
%%EMACS_LIBDIR%%/site-lisp/semi/mime-play.el
%%EMACS_LIBDIR%%/site-lisp/semi/mime-play.elc
%%EMACS_LIBDIR%%/site-lisp/semi/mime-partial.el
@@ -38,3 +36,6 @@ info/mime-ui-en.info
info/mime-ui-ja.info
@exec install-info %D/info/mime-ui-en.info %D/info/dir
@exec install-info %D/info/mime-ui-ja.info %D/info/dir
+share/semi/%%SEMI_COOKIE%%
+share/semi/%%WEMI_COOKIE%%
+@unexec /bin/rmdir %D/share/semi || true
diff --git a/editors/wemi-xemacs/Makefile b/editors/wemi-xemacs/Makefile
index f5d6d9fe1c39..807cb0989359 100644
--- a/editors/wemi-xemacs/Makefile
+++ b/editors/wemi-xemacs/Makefile
@@ -1,5 +1,5 @@
# New ports collection makefile for: wemi for xemacs
-# Version required: 1.8.6
+# Version required: 1.13.4
# Date created: 25 July 1999
# Whom: Shigeyuki FUKUSHIMA <shige@FreeBSD.org>
#
diff --git a/editors/wemi-xemacs/pkg-plist b/editors/wemi-xemacs/pkg-plist
index 4d9f40a815da..ecbb349162c5 100644
--- a/editors/wemi-xemacs/pkg-plist
+++ b/editors/wemi-xemacs/pkg-plist
@@ -8,8 +8,6 @@
%%EMACS_LIBDIR%%/site-lisp/semi/mime-image.elc
%%EMACS_LIBDIR%%/site-lisp/semi/mime-view.el
%%EMACS_LIBDIR%%/site-lisp/semi/mime-view.elc
-%%EMACS_LIBDIR%%/site-lisp/semi/mime-text.el
-%%EMACS_LIBDIR%%/site-lisp/semi/mime-text.elc
%%EMACS_LIBDIR%%/site-lisp/semi/mime-play.el
%%EMACS_LIBDIR%%/site-lisp/semi/mime-play.elc
%%EMACS_LIBDIR%%/site-lisp/semi/mime-partial.el
@@ -34,8 +32,8 @@
%%WEMIDOCDIR%%/VERSION
@dirrm %%WEMIDOCDIR%%
@unexec install-info --delete %D/info/mime-ui-en.info %D/info/dir
-@unexec install-info --delete %D/info/mime-ui-ja.info %D/info/dir
info/mime-ui-en.info
-info/mime-ui-ja.info
@exec install-info %D/info/mime-ui-en.info %D/info/dir
-@exec install-info %D/info/mime-ui-ja.info %D/info/dir
+share/semi/%%SEMI_COOKIE%%
+share/semi/%%WEMI_COOKIE%%
+@unexec /bin/rmdir %D/share/semi || true
diff --git a/editors/wemi-xemacs20/Makefile b/editors/wemi-xemacs20/Makefile
index 10ec47bce338..3c81256e6370 100644
--- a/editors/wemi-xemacs20/Makefile
+++ b/editors/wemi-xemacs20/Makefile
@@ -1,5 +1,5 @@
# New ports collection makefile for: wemi for xemacs20
-# Version required: 1.8.6
+# Version required: 1.13.4
# Date created: 25 July 1999
# Whom: Shigeyuki FUKUSHIMA <shige@FreeBSD.org>
#
diff --git a/editors/wemi-xemacs20/pkg-plist b/editors/wemi-xemacs20/pkg-plist
index 80b78b4e17c6..64e1aa45c3bc 100644
--- a/editors/wemi-xemacs20/pkg-plist
+++ b/editors/wemi-xemacs20/pkg-plist
@@ -8,8 +8,6 @@
%%EMACS_LIBDIR%%/site-lisp/semi/mime-image.elc
%%EMACS_LIBDIR%%/site-lisp/semi/mime-view.el
%%EMACS_LIBDIR%%/site-lisp/semi/mime-view.elc
-%%EMACS_LIBDIR%%/site-lisp/semi/mime-text.el
-%%EMACS_LIBDIR%%/site-lisp/semi/mime-text.elc
%%EMACS_LIBDIR%%/site-lisp/semi/mime-play.el
%%EMACS_LIBDIR%%/site-lisp/semi/mime-play.elc
%%EMACS_LIBDIR%%/site-lisp/semi/mime-partial.el
@@ -35,8 +33,8 @@
%%WEMIDOCDIR%%/VERSION
@dirrm %%WEMIDOCDIR%%
@unexec install-info --delete %D/info/mime-ui-en.info %D/info/dir
-@unexec install-info --delete %D/info/mime-ui-ja.info %D/info/dir
info/mime-ui-en.info
-info/mime-ui-ja.info
@exec install-info %D/info/mime-ui-en.info %D/info/dir
-@exec install-info %D/info/mime-ui-ja.info %D/info/dir
+share/semi/%%SEMI_COOKIE%%
+share/semi/%%WEMI_COOKIE%%
+@unexec /bin/rmdir %D/share/semi || true
diff --git a/editors/wemi-xemacs21-mule/Makefile b/editors/wemi-xemacs21-mule/Makefile
index ede04f158415..e9b458d95a10 100644
--- a/editors/wemi-xemacs21-mule/Makefile
+++ b/editors/wemi-xemacs21-mule/Makefile
@@ -1,5 +1,5 @@
# New ports collection makefile for: wemi for xemacs-mule
-# Version required: 1.8.6
+# Version required: 1.13.4
# Date created: 25 July 1999
# Whom: Shigeyuki FUKUSHIMA <shige@FreeBSD.org>
#
@@ -24,7 +24,15 @@ ALL_TARGET= package
INSTALL_TARGET= install-package
# RUN_DEPENDS port name's suffix is '-common'.
-HAVE_COMMON_PORT= YES
+HAS_COMMON_PORT= YES
+
+# whether emacs has mule feature
+HAS_MULE= YES
+
+# whether building info files by emacs or makeinfo
+BUILD_INFO_BY_EMACS= YES
+# texinfo packages
+BUILD_DEPENDS+= ${PREFIX}/${EMACS_PACKAGESDIR}/lisp/texinfo/texinfo.el:${PORTSDIR}/editors/xemacs-sumo-packages
# use pkg/* files in ${.CURDIR}
PKGDIR= ${.CURDIR}/pkg
diff --git a/editors/wemi-xemacs21-mule/pkg-descr b/editors/wemi-xemacs21-mule/pkg-descr
index 8f32e408d2ff..3562a77221c1 100644
--- a/editors/wemi-xemacs21-mule/pkg-descr
+++ b/editors/wemi-xemacs21-mule/pkg-descr
@@ -1,4 +1,4 @@
-WEMI, Library of MIME feature for GNU Emacs for xemacs-mule.
+WEMI, Library of MIME feature for GNU Emacs for xemacs.
WEMI is a branch of SEMI kernel package using widget. It is a
library to provide MIME feature for GNU Emacs based on SEMI API.
@@ -30,7 +30,7 @@ WEMI, Library of MIME feature for GNU Emacs for xemacs-mule.
MUAs. They are released as separated packages.
WEMI is installed the following directory tree:
- ${PREFIX}/lib/xemacs/xemacs-packages/lisp/semi/ --- WEMI
+ ${PREFIX}/lib/xemacs/site-lisp/semi/ --- WEMI
*** Caution!! ***
diff --git a/editors/wemi-xemacs21-mule/pkg-plist b/editors/wemi-xemacs21-mule/pkg-plist
index 081c51f45c29..f5952e5f6124 100644
--- a/editors/wemi-xemacs21-mule/pkg-plist
+++ b/editors/wemi-xemacs21-mule/pkg-plist
@@ -10,23 +10,25 @@
%%EMACS_PACKAGESDIR%%/lisp/semi/mail-mime-setup.el
%%EMACS_PACKAGESDIR%%/lisp/semi/mail-mime-setup.elc
%%EMACS_PACKAGESDIR%%/lisp/semi/mime-bbdb.el
+@unexec rm -f %D/%%EMACS_PACKAGESDIR%%/lisp/semi/mime-bbdb.elc
%%EMACS_PACKAGESDIR%%/lisp/semi/mime-edit.el
%%EMACS_PACKAGESDIR%%/lisp/semi/mime-edit.elc
%%EMACS_PACKAGESDIR%%/lisp/semi/mime-image.el
%%EMACS_PACKAGESDIR%%/lisp/semi/mime-image.elc
%%EMACS_PACKAGESDIR%%/lisp/semi/mime-mc.el
%%EMACS_PACKAGESDIR%%/lisp/semi/mime-mc.elc
-%%EMACS_PACKAGESDIR%%/lisp/semi/mime-partial.el
-%%EMACS_PACKAGESDIR%%/lisp/semi/mime-partial.elc
%%EMACS_PACKAGESDIR%%/lisp/semi/mime-pgp.el
%%EMACS_PACKAGESDIR%%/lisp/semi/mime-pgp.elc
%%EMACS_PACKAGESDIR%%/lisp/semi/mime-play.el
%%EMACS_PACKAGESDIR%%/lisp/semi/mime-play.elc
-%%EMACS_PACKAGESDIR%%/lisp/semi/mime-text.el
-%%EMACS_PACKAGESDIR%%/lisp/semi/mime-text.elc
+%%EMACS_PACKAGESDIR%%/lisp/semi/mime-partial.el
+%%EMACS_PACKAGESDIR%%/lisp/semi/mime-partial.elc
+%%EMACS_PACKAGESDIR%%/lisp/semi/mime-setup.el
+%%EMACS_PACKAGESDIR%%/lisp/semi/mime-setup.elc
%%EMACS_PACKAGESDIR%%/lisp/semi/mime-view.el
%%EMACS_PACKAGESDIR%%/lisp/semi/mime-view.elc
%%EMACS_PACKAGESDIR%%/lisp/semi/mime-w3.el
+@unexec rm -f %D/%%EMACS_PACKAGESDIR%%/lisp/semi/mime-w3.elc
%%EMACS_PACKAGESDIR%%/lisp/semi/semi-def.el
%%EMACS_PACKAGESDIR%%/lisp/semi/semi-def.elc
%%EMACS_PACKAGESDIR%%/lisp/semi/semi-setup.el
@@ -39,3 +41,6 @@
%%EMACS_PACKAGESDIR%%/man/semi/mime-ui-en.texi
%%EMACS_PACKAGESDIR%%/man/semi/mime-ui-ja.texi
@dirrm %%EMACS_PACKAGESDIR%%/man/semi
+share/semi/%%SEMI_COOKIE%%
+share/semi/%%WEMI_COOKIE%%
+@unexec /bin/rmdir %D/share/semi || true