summaryrefslogtreecommitdiffstats
path: root/editors/semi114-emacs20
diff options
context:
space:
mode:
authorshige <shige@FreeBSD.org>1999-10-11 06:22:08 +0000
committershige <shige@FreeBSD.org>1999-10-11 06:22:08 +0000
commit23301976cc8fcdd140ca2c74c0cb78792e41abac (patch)
treef23c500a2bcd737f1230d8e11986deacd07f8509 /editors/semi114-emacs20
parent6ee0a6f532e3b892bdc20be3ead0f06c147478b9 (diff)
downloadFreeBSD-ports-23301976cc8fcdd140ca2c74c0cb78792e41abac.zip
FreeBSD-ports-23301976cc8fcdd140ca2c74c0cb78792e41abac.tar.gz
Update to 1.13.6.
Diffstat (limited to 'editors/semi114-emacs20')
-rw-r--r--editors/semi114-emacs20/Makefile76
-rw-r--r--editors/semi114-emacs20/distinfo2
-rw-r--r--editors/semi114-emacs20/pkg-plist3
3 files changed, 55 insertions, 26 deletions
diff --git a/editors/semi114-emacs20/Makefile b/editors/semi114-emacs20/Makefile
index 3395e9a..fb9724c 100644
--- a/editors/semi114-emacs20/Makefile
+++ b/editors/semi114-emacs20/Makefile
@@ -1,5 +1,5 @@
# New ports collection makefile for: semi-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,24 @@
DISTNAME= semi-${SEMI_VER}
CATEGORIES= editors elisp
-MASTER_SITES= ftp://ftp.jaist.ac.jp/pub/GNU/elisp/semi/semi-1.13-for-flim-1.12/
+MASTER_SITES= ftp://ftp.etl.go.jp/pub/mule/semi/semi-1.13-for-flim-1.12/ \
+ ftp://ftp.media.kyoto-u.ac.jp/pub/mule/semi/semi-1.13-for-flim-1.12/ \
+ ftp://ftp.win.or.jp/pub/word/mule/semi/semi-1.13-for-flim-1.12/ \
+ ftp://ftp.eos.hokudai.ac.jp/pub/GNU/emacs/mule/semi/semi-1.13-for-flim-1.12/
MAINTAINER?= shige@FreeBSD.org
PORTCLASS?= master
# distfile version
-FLIM_VER= 1.12.5
-SEMI_VER= 1.13.3
+FLIM_VER= 1.13.2
+SEMI_VER= 1.13.6
# setupel filename
SEMI_SETUPEL= semi-setupel.el
# document install directory by install-doc target
SEMIDOCDIR?= share/doc/semi
+FLIM_COOKIE= flim-${EMACS_PORT}-${FLIM_VER}.FreeBSD-packages
+SEMI_COOKIE= semi-${EMACS_PORT}-${SEMI_VER}.FreeBSD-packages
.if (${PORTCLASS} == "master")
# emacs port setup
@@ -29,7 +34,7 @@ EMACS_PORT= emacs
EMACS_VER= 19.34
EMACS_LIBDIR= share/${EMACS_NAME}
EMACS_LIBDIR_WITH_VER= ${EMACS_LIBDIR}/${EMACS_VER}
-# emacs requires *-setupel.el
+# whether emacs requires *-setupel.el
REQUIRE_SETUPEL= YES
.endif
@@ -39,9 +44,9 @@ ALL_TARGET?= elc
.if defined(EMACS_PORT)
PKGNAME= semi-${EMACS_PORT}-${SEMI_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 +57,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} \
- SEMIDOCDIR=${SEMIDOCDIR} SEMI_SETUPEL=${SEMI_SETUPEL}
-MAKE_FLAGS+= EMACS=${EMACS_CMD}
+ SEMIDOCDIR=${SEMIDOCDIR} SEMI_SETUPEL=${SEMI_SETUPEL} \
+ FLIM_COOKIE=${FLIM_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}
@@ -64,13 +70,13 @@ RUN_DEPENDS+= ${PREFIX}/${EMACS_LIBDIR_WITH_VER}/site-lisp/custom.el:${PORTSDIR}
BUILD_DEPENDS+= ${PREFIX}/${EMACS_PACKAGESDIR}/lisp/apel/emu.el:${PORTSDIR}/editors/apel-${EMACS_PORT}
RUN_DEPENDS+= ${PREFIX}/${EMACS_PACKAGESDIR}/lisp/apel/emu.el:${PORTSDIR}/editors/apel-${EMACS_PORT}
.else
-# depends on apel
+# depends on apel (case of other emacsen etc...)
BUILD_DEPENDS+= ${PREFIX}/${EMACS_LIBDIR_WITH_VER}/site-lisp/emu/emu.el:${PORTSDIR}/editors/apel-${EMACS_PORT}
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 +84,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")
@@ -93,8 +101,11 @@ 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:
.if defined(REQUIRE_SETUPEL) && (${REQUIRE_SETUPEL} == "YES")
@@ -111,23 +122,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}/${SEMIDOCDIR}
@@ -138,14 +163,21 @@ doc-install:
setupel-install:
@${INSTALL_DATA} ${WRKDIR}/${SEMI_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/semi114-emacs20/distinfo b/editors/semi114-emacs20/distinfo
index 97b011d..7340e6c 100644
--- a/editors/semi114-emacs20/distinfo
+++ b/editors/semi114-emacs20/distinfo
@@ -1 +1 @@
-MD5 (semi-1.13.3.tar.gz) = 6015cca40c844a9c93083c3e73463d5d
+MD5 (semi-1.13.6.tar.gz) = 1c46a8d8ae4b0fa91b73ffd992aae0af
diff --git a/editors/semi114-emacs20/pkg-plist b/editors/semi114-emacs20/pkg-plist
index 9378598..723126a 100644
--- a/editors/semi114-emacs20/pkg-plist
+++ b/editors/semi114-emacs20/pkg-plist
@@ -29,8 +29,5 @@
%%SEMIDOCDIR%%/VERSION
@dirrm %%SEMIDOCDIR%%
@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
OpenPOWER on IntegriCloud