diff options
author | shige <shige@FreeBSD.org> | 1999-10-11 14:21:03 +0800 |
---|---|---|
committer | shige <shige@FreeBSD.org> | 1999-10-11 14:21:03 +0800 |
commit | 6ee0a6f532e3b892bdc20be3ead0f06c147478b9 (patch) | |
tree | fd2cb8a1879a25d884ef3fd34722022a860d0319 /editors/semi-emacs | |
parent | 5b3ba2959815dba96f1168c7772f6533b850fedf (diff) | |
download | freebsd-ports-gnome-6ee0a6f532e3b892bdc20be3ead0f06c147478b9.tar.gz freebsd-ports-gnome-6ee0a6f532e3b892bdc20be3ead0f06c147478b9.tar.zst freebsd-ports-gnome-6ee0a6f532e3b892bdc20be3ead0f06c147478b9.zip |
Update to 1.13.4.
Diffstat (limited to 'editors/semi-emacs')
-rw-r--r-- | editors/semi-emacs/Makefile | 69 | ||||
-rw-r--r-- | editors/semi-emacs/distinfo | 2 | ||||
-rw-r--r-- | editors/semi-emacs/pkg-plist | 5 |
3 files changed, 53 insertions, 23 deletions
diff --git a/editors/semi-emacs/Makefile b/editors/semi-emacs/Makefile index 80baa9f09acf..4d89f3fa0984 100644 --- a/editors/semi-emacs/Makefile +++ b/editors/semi-emacs/Makefile @@ -1,5 +1,5 @@ # New ports collection makefile for: semi 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,24 @@ DISTNAME= semi-${SEMI_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.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.9.2 -SEMI_VER= 1.8.6 +FLIM_VER= 1.12.7 +SEMI_VER= 1.13.4 # 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,6 +34,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 +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 @@ -51,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} @@ -68,8 +75,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 +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") @@ -92,7 +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") @@ -109,22 +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} @@ -139,10 +167,17 @@ setupel-install: 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/semi-emacs/distinfo b/editors/semi-emacs/distinfo index 89f7a8762c56..d316af32ce57 100644 --- a/editors/semi-emacs/distinfo +++ b/editors/semi-emacs/distinfo @@ -1 +1 @@ -MD5 (semi-1.8.6.tar.gz) = 1ecbe5bff3baa4ce180596220aa07091 +MD5 (semi-1.13.4.tar.gz) = 192c5cf3ce66a46f986e6514b07c0631 diff --git a/editors/semi-emacs/pkg-plist b/editors/semi-emacs/pkg-plist index 9ba812ce5582..723126a725d8 100644 --- a/editors/semi-emacs/pkg-plist +++ b/editors/semi-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,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 |