aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorshige <shige@FreeBSD.org>1999-10-16 14:10:10 +0800
committershige <shige@FreeBSD.org>1999-10-16 14:10:10 +0800
commit6571cf6701cc12072b6149177c9ae165e689fd71 (patch)
tree8df25a033695b577a2b761fb20cb6c9a51c78a5e
parent9f5b9c07514bac376d9edd285c023e54faefc336 (diff)
downloadfreebsd-ports-graphics-6571cf6701cc12072b6149177c9ae165e689fd71.tar.gz
freebsd-ports-graphics-6571cf6701cc12072b6149177c9ae165e689fd71.tar.zst
freebsd-ports-graphics-6571cf6701cc12072b6149177c9ae165e689fd71.zip
Update to 1.13.6.
-rw-r--r--editors/wemi-emacs-current/Makefile74
-rw-r--r--editors/wemi-emacs-current/distinfo2
-rw-r--r--editors/wemi-emacs-current/pkg-plist6
-rw-r--r--editors/wemi-emacs20-current/Makefile5
-rw-r--r--editors/wemi-emacs20-current/pkg-plist3
-rw-r--r--editors/wemi-mule-current/Makefile8
-rw-r--r--editors/wemi-mule-current/pkg-plist3
-rw-r--r--editors/wemi-xemacs-current/Makefile2
-rw-r--r--editors/wemi-xemacs-current/pkg-plist6
-rw-r--r--editors/wemi-xemacs20-current/Makefile2
-rw-r--r--editors/wemi-xemacs20-current/pkg-plist6
-rw-r--r--editors/wemi-xemacs21-mule-current/Makefile12
-rw-r--r--editors/wemi-xemacs21-mule-current/pkg-plist10
13 files changed, 97 insertions, 42 deletions
diff --git a/editors/wemi-emacs-current/Makefile b/editors/wemi-emacs-current/Makefile
index a70c4b0f587..4fbaf5bf5d8 100644
--- a/editors/wemi-emacs-current/Makefile
+++ b/editors/wemi-emacs-current/Makefile
@@ -1,5 +1,5 @@
# New ports collection makefile for: wemi-current for emacs
-# Version required: 1.13.3
+# Version required: 1.13.6
# 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/wemi/
+MASTER_SITES= ftp://ftp.jpl.org/pub/elisp/wemi/
MAINTAINER?= shige@FreeBSD.org
PORTCLASS?= master
# distfile version
-FLIM_VER= 1.12.5
-WEMI_VER= 1.13.3
+FLIM_VER= 1.13.2
+WEMI_VER= 1.13.6
# 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,7 +32,7 @@ EMACS_PORT= emacs
EMACS_VER= 19.34
EMACS_LIBDIR= share/${EMACS_NAME}
EMACS_LIBDIR_WITH_VER= ${EMACS_LIBDIR}/${EMACS_VER}
-# requires *-setupel.el
+# whether emacs requires *-setupel.el
REQUIRE_SETUPEL= YES
.endif
@@ -39,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
@@ -52,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}
@@ -69,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}-current
-RUN_DEPENDS+= ${PKG_DBDIR}/flim-${EMACS_PORT}-${FLIM_VER}:${PORTSDIR}/editors/flim-${EMACS_PORT}-current
+BUILD_DEPENDS+= ${PREFIX}/share/flim/${FLIM_COOKIE}:${PORTSDIR}/editors/flim-${EMACS_PORT}-current
+RUN_DEPENDS+= ${PREFIX}/share/flim/${FLIM_COOKIE}:${PORTSDIR}/editors/flim-${EMACS_PORT}-current
.else
.BEGIN:
@${ECHO} "Error: Bad port."
@@ -78,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,11 +98,17 @@ MAKEINFO= makeinfo --no-split --no-validate
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
@@ -111,22 +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} $${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} ; \
diff --git a/editors/wemi-emacs-current/distinfo b/editors/wemi-emacs-current/distinfo
index 739a98d49fa..ed1c5a3381e 100644
--- a/editors/wemi-emacs-current/distinfo
+++ b/editors/wemi-emacs-current/distinfo
@@ -1 +1 @@
-MD5 (wemi-1.13.3.tar.gz) = aad6c44a2ec2106ef2287505207cf2e9
+MD5 (wemi-1.13.6.tar.gz) = a33eba591421170e9e7430dc95255570
diff --git a/editors/wemi-emacs-current/pkg-plist b/editors/wemi-emacs-current/pkg-plist
index ee9986bd0f7..79964d48f83 100644
--- a/editors/wemi-emacs-current/pkg-plist
+++ b/editors/wemi-emacs-current/pkg-plist
@@ -29,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-current/Makefile b/editors/wemi-emacs20-current/Makefile
index bd6c737f62a..dd26d9ed714 100644
--- a/editors/wemi-emacs20-current/Makefile
+++ b/editors/wemi-emacs20-current/Makefile
@@ -1,5 +1,5 @@
# New ports collection makefile for: wemi-current for emacs20
-# Version required: 1.13.3
+# Version required: 1.13.6
# Date created: 23 September 1998
# Whom: Shigeyuki FUKUSHIMA <shige@kuis.kyoto-u.ac.jp>
#
@@ -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-current/pkg-plist b/editors/wemi-emacs20-current/pkg-plist
index feada633571..699335de395 100644
--- a/editors/wemi-emacs20-current/pkg-plist
+++ b/editors/wemi-emacs20-current/pkg-plist
@@ -35,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-current/Makefile b/editors/wemi-mule-current/Makefile
index 934a8059d9c..8dda346ac58 100644
--- a/editors/wemi-mule-current/Makefile
+++ b/editors/wemi-mule-current/Makefile
@@ -1,5 +1,5 @@
# New ports collection makefile for: wemi-current for mule
-# Version required: 1.13.3
+# Version required: 1.13.6
# 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-current/pkg-plist b/editors/wemi-mule-current/pkg-plist
index 6d2679dd154..e2a345a8205 100644
--- a/editors/wemi-mule-current/pkg-plist
+++ b/editors/wemi-mule-current/pkg-plist
@@ -36,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-current/Makefile b/editors/wemi-xemacs-current/Makefile
index 38705d646bb..b31e4d8f348 100644
--- a/editors/wemi-xemacs-current/Makefile
+++ b/editors/wemi-xemacs-current/Makefile
@@ -1,5 +1,5 @@
# New ports collection makefile for: wemi-current for xemacs
-# Version required: 1.13.3
+# Version required: 1.13.6
# Date created: 25 July 1999
# Whom: Shigeyuki FUKUSHIMA <shige@FreeBSD.org>
#
diff --git a/editors/wemi-xemacs-current/pkg-plist b/editors/wemi-xemacs-current/pkg-plist
index 7fc858ddcad..ecbb349162c 100644
--- a/editors/wemi-xemacs-current/pkg-plist
+++ b/editors/wemi-xemacs-current/pkg-plist
@@ -32,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-current/Makefile b/editors/wemi-xemacs20-current/Makefile
index 7194a96cce0..190ee7ecd56 100644
--- a/editors/wemi-xemacs20-current/Makefile
+++ b/editors/wemi-xemacs20-current/Makefile
@@ -1,5 +1,5 @@
# New ports collection makefile for: wemi-current for xemacs20
-# Version required: 1.13.3
+# Version required: 1.13.6
# Date created: 25 July 1999
# Whom: Shigeyuki FUKUSHIMA <shige@FreeBSD.org>
#
diff --git a/editors/wemi-xemacs20-current/pkg-plist b/editors/wemi-xemacs20-current/pkg-plist
index 02510b10fa4..64e1aa45c3b 100644
--- a/editors/wemi-xemacs20-current/pkg-plist
+++ b/editors/wemi-xemacs20-current/pkg-plist
@@ -33,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-current/Makefile b/editors/wemi-xemacs21-mule-current/Makefile
index 0aedb3f3896..0eedc20d8bf 100644
--- a/editors/wemi-xemacs21-mule-current/Makefile
+++ b/editors/wemi-xemacs21-mule-current/Makefile
@@ -1,5 +1,5 @@
# New ports collection makefile for: wemi-current for xemacs-mule
-# Version required: 1.13.3
+# Version required: 1.13.6
# 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-current/pkg-plist b/editors/wemi-xemacs21-mule-current/pkg-plist
index b87d1938b04..93af4aa0fd9 100644
--- a/editors/wemi-xemacs21-mule-current/pkg-plist
+++ b/editors/wemi-xemacs21-mule-current/pkg-plist
@@ -10,23 +10,20 @@
%%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-setup.el
%%EMACS_PACKAGESDIR%%/lisp/semi/mime-setup.elc
%%EMACS_PACKAGESDIR%%/lisp/semi/mime-view.elc
%%EMACS_PACKAGESDIR%%/lisp/semi/mime-view.el
%%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 +36,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