diff options
author | shige <shige@FreeBSD.org> | 1999-10-11 06:15:23 +0000 |
---|---|---|
committer | shige <shige@FreeBSD.org> | 1999-10-11 06:15:23 +0000 |
commit | 90c014502e581de4b4d2eaad16676c58e729844a (patch) | |
tree | 6e3d95672b481884178069c14e0e63500a1ff053 | |
parent | b8598191418c6b16de0faf86c9ae9552c0aac626 (diff) | |
download | FreeBSD-ports-90c014502e581de4b4d2eaad16676c58e729844a.zip FreeBSD-ports-90c014502e581de4b4d2eaad16676c58e729844a.tar.gz |
Update to 1.13.2.
41 files changed, 442 insertions, 246 deletions
diff --git a/editors/flim-emacs-current/Makefile b/editors/flim-emacs-current/Makefile index 9f16d10..b1550f4 100644 --- a/editors/flim-emacs-current/Makefile +++ b/editors/flim-emacs-current/Makefile @@ -1,5 +1,5 @@ -# New ports collection makefile for: flim for emacs -# Version required: 1.12.5 +# New ports collection makefile for: flim-current for emacs +# Version required: 1.13.2 # Date created: 9 May 1999 # Whom: Shigeyuki FUKUSHIMA <shige@FreeBSD.org> # @@ -8,18 +8,21 @@ DISTNAME= flim-${FLIM_VER} CATEGORIES= editors elisp -MASTER_SITES= ftp://ftp.jaist.ac.jp/pub/GNU/elisp/flim/flim-1.12/ - +MASTER_SITES= ftp://ftp.etl.go.jp/pub/mule/flim/flim-1.12/ \ + ftp://ftp.media.kyoto-u.ac.jp/pub/mule/flim/flim-1.12/ \ + ftp://ftp.win.or.jp/pub/word/mule/flim/flim-1.12/ \ + ftp://ftp.eos.hokudai.ac.jp/pub/GNU/emacs/mule/flim/flim-1.12/ MAINTAINER?= shige@FreeBSD.org PORTCLASS?= master # distfile version -FLIM_VER= 1.12.5 +FLIM_VER= 1.13.2 # setupel filename FLIM_SETUPEL= flim-setupel.el # document install directory by install-doc target FLIMDOCDIR?= share/doc/flim +FLIM_COOKIE= flim-${EMACS_PORT}-${FLIM_VER}.FreeBSD-packages .if (${PORTCLASS} == "master") # for emacs @@ -28,8 +31,8 @@ EMACS_PORT= emacs EMACS_VER= 19.34 EMACS_LIBDIR= share/${EMACS_NAME} EMACS_LIBDIR_WITH_VER= ${EMACS_LIBDIR}/${EMACS_VER} -# emacs requires *-setupel.el -REQUIRE_SETUPEL= YES +# whether emacs requires *-setupel.el +REQUIRE_SETUPEL= YES .endif # target name for make build @@ -38,11 +41,11 @@ ALL_TARGET?= elc .if defined(EMACS_PORT) PKGNAME= flim-${EMACS_PORT}-${FLIM_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} +RUN_DEPENDS+= ${EMACS_CMD}:${PORTSDIR}/editors/${EMACS_PORT} .endif SCRIPTS_ENV+= EMACS_LIBDIR=${EMACS_LIBDIR} EMACS_VER=${EMACS_VER} \ EMACS_LIBDIR_WITH_VER=${EMACS_LIBDIR_WITH_VER} \ @@ -51,8 +54,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} \ - FLIMDOCDIR=${FLIMDOCDIR} FLIM_SETUPEL=${FLIM_SETUPEL} -MAKE_FLAGS+= EMACS=${EMACS_CMD} + FLIMDOCDIR=${FLIMDOCDIR} FLIM_SETUPEL=${FLIM_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} @@ -60,17 +64,13 @@ RUN_DEPENDS+= ${PREFIX}/${EMACS_LIBDIR_WITH_VER}/site-lisp/custom.el:${PORTSDIR} .endif # depends on apel (case of xemacs-21.x or later) .if defined(EMACS_PACKAGESDIR) -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} +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 (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 mmencode -.if (${EMACS_NAME} != "xemacs") -RUN_DEPENDS+= mmencode:${PORTSDIR}/mail/metamail -.endif .else .BEGIN: @${ECHO} "Error: Bad port." @@ -78,8 +78,10 @@ RUN_DEPENDS+= mmencode:${PORTSDIR}/mail/metamail @${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") @@ -88,15 +90,23 @@ pre-configure: .include <bsd.port.pre.mk> +# makeinfo stuff 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: +# install package-cookie + @${MKDIR} -p ${PREFIX}/share/flim + @${TOUCH} ${PREFIX}/share/flim/${FLIM_COOKIE} .if defined(REQUIRE_SETUPEL) && (${REQUIRE_SETUPEL} == "YES") @${MAKE} setupel-install .endif @@ -111,27 +121,42 @@ post-install: .endif -# install functions +############################################################################### +# +# miscellaneous local functions +# info-build: @(cd ${WRKSRC} ; \ - for i in mime-en.texi mime-ja.texi; do \ + for i in mime-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-en.texi mime-ja.texi; do \ + for i in mime-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-en.texi; do \ ${MAKEINFO_EMACS} $${i} ${MAKEINFO_EMACS_FLAGS} || ${TRUE} ; \ done) +.if defined(HAS_MULE) && (${HAS_MULE} == "YES") + @(cd ${WRKSRC} ; \ + for i in mime-ja.texi; do \ + ${MAKEINFO_EMACS} $${i} ${MAKEINFO_EMACS_FLAGS} || ${TRUE} ; \ + done) +.endif doc-install: @${MKDIR} ${PREFIX}/${FLIMDOCDIR} @(cd ${WRKSRC} ; \ - for i in ChangeLog README.* NEWS VERSION ; do \ + for i in ChangeLog NEWS README.* VERSION ; do \ ${INSTALL_DATA} $${i} ${PREFIX}/${FLIMDOCDIR}/ ; \ done) @@ -139,23 +164,31 @@ setupel-install: @${INSTALL_DATA} ${WRKDIR}/${FLIM_SETUPEL} \ ${PREFIX}/${EMACS_LIBDIR_WITH_VER}/site-lisp + info-install: @(cd ${WRKSRC} ; \ - for i in mime-en.info mime-ja.info; do \ + for i in mime-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-ja.info; do \ + ${INSTALL_DATA} ${WRKSRC}/$${i} ${PREFIX}/info ; \ + install-info ${PREFIX}/info/$${i} ${PREFIX}/info/dir ; \ + done) +.endif info-package-install: @(cd ${WRKSRC} ; \ for i in mime-en.info mime-ja.info; do \ ${INSTALL_DATA} ${WRKSRC}/$${i} \ - ${PREFIX}/${EMACS_PACKAGESDIR}/info ; \ + ${PREFIX}/${EMACS_PACKAGESDIR}/info ; \ done ; \ ${MKDIR} -p ${PREFIX}/${EMACS_PACKAGESDIR}/man/flim ; \ for i in mime-en.texi mime-ja.texi; do \ ${INSTALL_DATA} ${WRKSRC}/$${i} \ - ${PREFIX}/${EMACS_PACKAGESDIR}/man/flim ; \ + ${PREFIX}/${EMACS_PACKAGESDIR}/man/flim ; \ done) manifest-install: @@ -165,5 +198,4 @@ manifest-install: @${INSTALL_DATA} ${WRKDIR}/${MANIFEST} \ ${PREFIX}/${EMACS_PACKAGESDIR}/pkginfo/ - .include <bsd.port.post.mk> diff --git a/editors/flim-emacs-current/distinfo b/editors/flim-emacs-current/distinfo index 160519c..c5c1ac3 100644 --- a/editors/flim-emacs-current/distinfo +++ b/editors/flim-emacs-current/distinfo @@ -1 +1 @@ -MD5 (flim-1.12.5.tar.gz) = 4424ecbbdca8ec46cbc05eaefd32fcf8 +MD5 (flim-1.13.2.tar.gz) = 3a7341529167bd1de0b510150c48d41e diff --git a/editors/flim-emacs-current/pkg-plist b/editors/flim-emacs-current/pkg-plist index bb84e79..92def16 100644 --- a/editors/flim-emacs-current/pkg-plist +++ b/editors/flim-emacs-current/pkg-plist @@ -2,6 +2,8 @@ %%EMACS_LIBDIR%%/site-lisp/flim/eword-decode.elc %%EMACS_LIBDIR%%/site-lisp/flim/eword-encode.el %%EMACS_LIBDIR%%/site-lisp/flim/eword-encode.elc +%%EMACS_LIBDIR%%/site-lisp/flim/luna.el +%%EMACS_LIBDIR%%/site-lisp/flim/luna.elc %%EMACS_LIBDIR%%/site-lisp/flim/mailcap.el %%EMACS_LIBDIR%%/site-lisp/flim/mailcap.elc %%EMACS_LIBDIR%%/site-lisp/flim/mel-b-el.el @@ -24,8 +26,8 @@ %%EMACS_LIBDIR%%/site-lisp/flim/mmbuffer.elc %%EMACS_LIBDIR%%/site-lisp/flim/mmcooked.el %%EMACS_LIBDIR%%/site-lisp/flim/mmcooked.elc -%%EMACS_LIBDIR%%/site-lisp/flim/mmgeneric.el -%%EMACS_LIBDIR%%/site-lisp/flim/mmgeneric.elc +%%EMACS_LIBDIR%%/site-lisp/flim/mmdbuffer.el +%%EMACS_LIBDIR%%/site-lisp/flim/mmdbuffer.elc %%EMACS_LIBDIR%%/site-lisp/flim/std11.el %%EMACS_LIBDIR%%/site-lisp/flim/std11.elc %%EMACS_LIBDIR%%/site-lisp/flim/smtp.el @@ -41,8 +43,5 @@ %%FLIMDOCDIR%%/VERSION @dirrm %%FLIMDOCDIR%% @unexec install-info --delete %D/info/mime-en.info %D/info/dir -@unexec install-info --delete %D/info/mime-ja.info %D/info/dir info/mime-en.info -info/mime-ja.info @exec install-info %D/info/mime-en.info %D/info/dir -@exec install-info %D/info/mime-ja.info %D/info/dir diff --git a/editors/flim-emacs20-current/Makefile b/editors/flim-emacs20-current/Makefile index ea51f29..86ab358 100644 --- a/editors/flim-emacs20-current/Makefile +++ b/editors/flim-emacs20-current/Makefile @@ -1,5 +1,5 @@ # New ports collection makefile for: flim-current for emacs20 -# Version required: 1.12.5 +# Version required: 1.13.2 # 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/flim-emacs20-current/pkg-plist b/editors/flim-emacs20-current/pkg-plist index e0a670f..528ebd9 100644 --- a/editors/flim-emacs20-current/pkg-plist +++ b/editors/flim-emacs20-current/pkg-plist @@ -2,6 +2,8 @@ %%EMACS_LIBDIR%%/site-lisp/flim/eword-decode.elc %%EMACS_LIBDIR%%/site-lisp/flim/eword-encode.el %%EMACS_LIBDIR%%/site-lisp/flim/eword-encode.elc +%%EMACS_LIBDIR%%/site-lisp/flim/luna.el +%%EMACS_LIBDIR%%/site-lisp/flim/luna.elc %%EMACS_LIBDIR%%/site-lisp/flim/mailcap.el %%EMACS_LIBDIR%%/site-lisp/flim/mailcap.elc %%EMACS_LIBDIR%%/site-lisp/flim/mel-b-ccl.el @@ -26,8 +28,8 @@ %%EMACS_LIBDIR%%/site-lisp/flim/mmbuffer.elc %%EMACS_LIBDIR%%/site-lisp/flim/mmcooked.el %%EMACS_LIBDIR%%/site-lisp/flim/mmcooked.elc -%%EMACS_LIBDIR%%/site-lisp/flim/mmgeneric.el -%%EMACS_LIBDIR%%/site-lisp/flim/mmgeneric.elc +%%EMACS_LIBDIR%%/site-lisp/flim/mmdbuffer.el +%%EMACS_LIBDIR%%/site-lisp/flim/mmdbuffer.elc %%EMACS_LIBDIR%%/site-lisp/flim/std11.el %%EMACS_LIBDIR%%/site-lisp/flim/std11.elc %%EMACS_LIBDIR%%/site-lisp/flim/smtp.el diff --git a/editors/flim-mule-current/Makefile b/editors/flim-mule-current/Makefile index a2713d1..01364a0 100644 --- a/editors/flim-mule-current/Makefile +++ b/editors/flim-mule-current/Makefile @@ -1,5 +1,5 @@ -# New ports collection makefile for: flim for mule -# Version required: 1.12.5 +# New ports collection makefile for: flim-current for mule +# Version required: 1.13.2 # 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 has a *-common port +HAS_COMMON_PORT= YES +# whether emacs requires *-setupel.el REQUIRE_SETUPEL= YES +# whether emacs has mule feature +HAS_MULE= YES # use pkg/* files in ${.CURDIR} PKGDIR= ${.CURDIR}/pkg diff --git a/editors/flim-mule-current/pkg-plist b/editors/flim-mule-current/pkg-plist index 7d97b46..0fe68d8 100644 --- a/editors/flim-mule-current/pkg-plist +++ b/editors/flim-mule-current/pkg-plist @@ -2,6 +2,8 @@ %%EMACS_LIBDIR%%/site-lisp/flim/eword-decode.elc %%EMACS_LIBDIR%%/site-lisp/flim/eword-encode.el %%EMACS_LIBDIR%%/site-lisp/flim/eword-encode.elc +%%EMACS_LIBDIR%%/site-lisp/flim/luna.el +%%EMACS_LIBDIR%%/site-lisp/flim/luna.elc %%EMACS_LIBDIR%%/site-lisp/flim/mailcap.el %%EMACS_LIBDIR%%/site-lisp/flim/mailcap.elc %%EMACS_LIBDIR%%/site-lisp/flim/mel-b-ccl.el @@ -28,8 +30,8 @@ %%EMACS_LIBDIR%%/site-lisp/flim/mmbuffer.elc %%EMACS_LIBDIR%%/site-lisp/flim/mmcooked.el %%EMACS_LIBDIR%%/site-lisp/flim/mmcooked.elc -%%EMACS_LIBDIR%%/site-lisp/flim/mmgeneric.el -%%EMACS_LIBDIR%%/site-lisp/flim/mmgeneric.elc +%%EMACS_LIBDIR%%/site-lisp/flim/mmdbuffer.el +%%EMACS_LIBDIR%%/site-lisp/flim/mmdbuffer.elc %%EMACS_LIBDIR%%/site-lisp/flim/std11.el %%EMACS_LIBDIR%%/site-lisp/flim/std11.elc %%EMACS_LIBDIR%%/site-lisp/flim/smtp.el diff --git a/editors/flim-xemacs-current/Makefile b/editors/flim-xemacs-current/Makefile index 61778eb..f5557a6 100644 --- a/editors/flim-xemacs-current/Makefile +++ b/editors/flim-xemacs-current/Makefile @@ -1,4 +1,4 @@ -# New ports collection makefile for: flim for xemacs +# New ports collection makefile for: flim-current for xemacs # Version required: 1.12.5 # Date created: 25 July 1999 # Whom: Shigeyuki FUKUSHIMA <shige@FreeBSD.org> diff --git a/editors/flim-xemacs-current/pkg-plist b/editors/flim-xemacs-current/pkg-plist index c651ddb..7fbd10f 100644 --- a/editors/flim-xemacs-current/pkg-plist +++ b/editors/flim-xemacs-current/pkg-plist @@ -2,6 +2,8 @@ %%EMACS_LIBDIR%%/site-lisp/flim/eword-decode.elc %%EMACS_LIBDIR%%/site-lisp/flim/eword-encode.el %%EMACS_LIBDIR%%/site-lisp/flim/eword-encode.elc +%%EMACS_LIBDIR%%/site-lisp/flim/luna.el +%%EMACS_LIBDIR%%/site-lisp/flim/luna.elc %%EMACS_LIBDIR%%/site-lisp/flim/mailcap.el %%EMACS_LIBDIR%%/site-lisp/flim/mailcap.elc %%EMACS_LIBDIR%%/site-lisp/flim/mel-b-el.el @@ -24,8 +26,8 @@ %%EMACS_LIBDIR%%/site-lisp/flim/mmbuffer.elc %%EMACS_LIBDIR%%/site-lisp/flim/mmcooked.el %%EMACS_LIBDIR%%/site-lisp/flim/mmcooked.elc -%%EMACS_LIBDIR%%/site-lisp/flim/mmgeneric.el -%%EMACS_LIBDIR%%/site-lisp/flim/mmgeneric.elc +%%EMACS_LIBDIR%%/site-lisp/flim/mmdbuffer.el +%%EMACS_LIBDIR%%/site-lisp/flim/mmdbuffer.elc %%EMACS_LIBDIR%%/site-lisp/flim/std11.el %%EMACS_LIBDIR%%/site-lisp/flim/std11.elc %%EMACS_LIBDIR%%/site-lisp/flim/smtp.el @@ -40,8 +42,5 @@ %%FLIMDOCDIR%%/VERSION @dirrm %%FLIMDOCDIR%% @unexec install-info --delete %D/info/mime-en.info %D/info/dir -@unexec install-info --delete %D/info/mime-ja.info %D/info/dir info/mime-en.info -info/mime-ja.info @exec install-info %D/info/mime-en.info %D/info/dir -@exec install-info %D/info/mime-ja.info %D/info/dir diff --git a/editors/flim-xemacs20-current/Makefile b/editors/flim-xemacs20-current/Makefile index 6ebf79d..bf862e8 100644 --- a/editors/flim-xemacs20-current/Makefile +++ b/editors/flim-xemacs20-current/Makefile @@ -1,5 +1,5 @@ -# New ports collection makefile for: flim for xemacs20 -# Version required: 1.12.5 +# New ports collection makefile for: flim-current for xemacs20 +# Version required: 1.13.2 # Date created: 25 July 1999 # Whom: Shigeyuki FUKUSHIMA <shige@FreeBSD.org> # diff --git a/editors/flim-xemacs20-current/pkg-plist b/editors/flim-xemacs20-current/pkg-plist index c651ddb..7fbd10f 100644 --- a/editors/flim-xemacs20-current/pkg-plist +++ b/editors/flim-xemacs20-current/pkg-plist @@ -2,6 +2,8 @@ %%EMACS_LIBDIR%%/site-lisp/flim/eword-decode.elc %%EMACS_LIBDIR%%/site-lisp/flim/eword-encode.el %%EMACS_LIBDIR%%/site-lisp/flim/eword-encode.elc +%%EMACS_LIBDIR%%/site-lisp/flim/luna.el +%%EMACS_LIBDIR%%/site-lisp/flim/luna.elc %%EMACS_LIBDIR%%/site-lisp/flim/mailcap.el %%EMACS_LIBDIR%%/site-lisp/flim/mailcap.elc %%EMACS_LIBDIR%%/site-lisp/flim/mel-b-el.el @@ -24,8 +26,8 @@ %%EMACS_LIBDIR%%/site-lisp/flim/mmbuffer.elc %%EMACS_LIBDIR%%/site-lisp/flim/mmcooked.el %%EMACS_LIBDIR%%/site-lisp/flim/mmcooked.elc -%%EMACS_LIBDIR%%/site-lisp/flim/mmgeneric.el -%%EMACS_LIBDIR%%/site-lisp/flim/mmgeneric.elc +%%EMACS_LIBDIR%%/site-lisp/flim/mmdbuffer.el +%%EMACS_LIBDIR%%/site-lisp/flim/mmdbuffer.elc %%EMACS_LIBDIR%%/site-lisp/flim/std11.el %%EMACS_LIBDIR%%/site-lisp/flim/std11.elc %%EMACS_LIBDIR%%/site-lisp/flim/smtp.el @@ -40,8 +42,5 @@ %%FLIMDOCDIR%%/VERSION @dirrm %%FLIMDOCDIR%% @unexec install-info --delete %D/info/mime-en.info %D/info/dir -@unexec install-info --delete %D/info/mime-ja.info %D/info/dir info/mime-en.info -info/mime-ja.info @exec install-info %D/info/mime-en.info %D/info/dir -@exec install-info %D/info/mime-ja.info %D/info/dir diff --git a/editors/flim-xemacs21-mule-current/Makefile b/editors/flim-xemacs21-mule-current/Makefile index 0f8449b..c1a5606 100644 --- a/editors/flim-xemacs21-mule-current/Makefile +++ b/editors/flim-xemacs21-mule-current/Makefile @@ -1,5 +1,5 @@ # New ports collection makefile for: flim for xemacs-mule -# Version required: 1.12.5 +# 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+= ${EMACS_PACKAGESDIR}/lisp/texinfo/texinfo.el:${PORTSDIR}/editors/xemacs-sumo-packages # use pkg/* files in ${.CURDIR} PKGDIR= ${.CURDIR}/pkg diff --git a/editors/flim-xemacs21-mule-current/pkg-plist b/editors/flim-xemacs21-mule-current/pkg-plist index c93f491..7140286 100644 --- a/editors/flim-xemacs21-mule-current/pkg-plist +++ b/editors/flim-xemacs21-mule-current/pkg-plist @@ -11,6 +11,8 @@ %%EMACS_PACKAGESDIR%%/lisp/flim/eword-decode.elc %%EMACS_PACKAGESDIR%%/lisp/flim/eword-encode.el %%EMACS_PACKAGESDIR%%/lisp/flim/eword-encode.elc +%%EMACS_PACKAGESDIR%%/lisp/flim/luna.el +%%EMACS_PACKAGESDIR%%/lisp/flim/luna.elc %%EMACS_PACKAGESDIR%%/lisp/flim/mailcap.el %%EMACS_PACKAGESDIR%%/lisp/flim/mailcap.elc %%EMACS_PACKAGESDIR%%/lisp/flim/mel-b-ccl.el @@ -37,8 +39,8 @@ %%EMACS_PACKAGESDIR%%/lisp/flim/mmbuffer.elc %%EMACS_PACKAGESDIR%%/lisp/flim/mmcooked.el %%EMACS_PACKAGESDIR%%/lisp/flim/mmcooked.elc -%%EMACS_PACKAGESDIR%%/lisp/flim/mmgeneric.el -%%EMACS_PACKAGESDIR%%/lisp/flim/mmgeneric.elc +%%EMACS_PACKAGESDIR%%/lisp/flim/mmdbuffer.el +%%EMACS_PACKAGESDIR%%/lisp/flim/mmdbuffer.elc %%EMACS_PACKAGESDIR%%/lisp/flim/std11.el %%EMACS_PACKAGESDIR%%/lisp/flim/std11.elc %%EMACS_PACKAGESDIR%%/lisp/flim/smtp.el diff --git a/editors/flim/Makefile b/editors/flim/Makefile index 9f16d10..b1550f4 100644 --- a/editors/flim/Makefile +++ b/editors/flim/Makefile @@ -1,5 +1,5 @@ -# New ports collection makefile for: flim for emacs -# Version required: 1.12.5 +# New ports collection makefile for: flim-current for emacs +# Version required: 1.13.2 # Date created: 9 May 1999 # Whom: Shigeyuki FUKUSHIMA <shige@FreeBSD.org> # @@ -8,18 +8,21 @@ DISTNAME= flim-${FLIM_VER} CATEGORIES= editors elisp -MASTER_SITES= ftp://ftp.jaist.ac.jp/pub/GNU/elisp/flim/flim-1.12/ - +MASTER_SITES= ftp://ftp.etl.go.jp/pub/mule/flim/flim-1.12/ \ + ftp://ftp.media.kyoto-u.ac.jp/pub/mule/flim/flim-1.12/ \ + ftp://ftp.win.or.jp/pub/word/mule/flim/flim-1.12/ \ + ftp://ftp.eos.hokudai.ac.jp/pub/GNU/emacs/mule/flim/flim-1.12/ MAINTAINER?= shige@FreeBSD.org PORTCLASS?= master # distfile version -FLIM_VER= 1.12.5 +FLIM_VER= 1.13.2 # setupel filename FLIM_SETUPEL= flim-setupel.el # document install directory by install-doc target FLIMDOCDIR?= share/doc/flim +FLIM_COOKIE= flim-${EMACS_PORT}-${FLIM_VER}.FreeBSD-packages .if (${PORTCLASS} == "master") # for emacs @@ -28,8 +31,8 @@ EMACS_PORT= emacs EMACS_VER= 19.34 EMACS_LIBDIR= share/${EMACS_NAME} EMACS_LIBDIR_WITH_VER= ${EMACS_LIBDIR}/${EMACS_VER} -# emacs requires *-setupel.el -REQUIRE_SETUPEL= YES +# whether emacs requires *-setupel.el +REQUIRE_SETUPEL= YES .endif # target name for make build @@ -38,11 +41,11 @@ ALL_TARGET?= elc .if defined(EMACS_PORT) PKGNAME= flim-${EMACS_PORT}-${FLIM_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} +RUN_DEPENDS+= ${EMACS_CMD}:${PORTSDIR}/editors/${EMACS_PORT} .endif SCRIPTS_ENV+= EMACS_LIBDIR=${EMACS_LIBDIR} EMACS_VER=${EMACS_VER} \ EMACS_LIBDIR_WITH_VER=${EMACS_LIBDIR_WITH_VER} \ @@ -51,8 +54,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} \ - FLIMDOCDIR=${FLIMDOCDIR} FLIM_SETUPEL=${FLIM_SETUPEL} -MAKE_FLAGS+= EMACS=${EMACS_CMD} + FLIMDOCDIR=${FLIMDOCDIR} FLIM_SETUPEL=${FLIM_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} @@ -60,17 +64,13 @@ RUN_DEPENDS+= ${PREFIX}/${EMACS_LIBDIR_WITH_VER}/site-lisp/custom.el:${PORTSDIR} .endif # depends on apel (case of xemacs-21.x or later) .if defined(EMACS_PACKAGESDIR) -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} +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 (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 mmencode -.if (${EMACS_NAME} != "xemacs") -RUN_DEPENDS+= mmencode:${PORTSDIR}/mail/metamail -.endif .else .BEGIN: @${ECHO} "Error: Bad port." @@ -78,8 +78,10 @@ RUN_DEPENDS+= mmencode:${PORTSDIR}/mail/metamail @${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") @@ -88,15 +90,23 @@ pre-configure: .include <bsd.port.pre.mk> +# makeinfo stuff 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: +# install package-cookie + @${MKDIR} -p ${PREFIX}/share/flim + @${TOUCH} ${PREFIX}/share/flim/${FLIM_COOKIE} .if defined(REQUIRE_SETUPEL) && (${REQUIRE_SETUPEL} == "YES") @${MAKE} setupel-install .endif @@ -111,27 +121,42 @@ post-install: .endif -# install functions +############################################################################### +# +# miscellaneous local functions +# info-build: @(cd ${WRKSRC} ; \ - for i in mime-en.texi mime-ja.texi; do \ + for i in mime-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-en.texi mime-ja.texi; do \ + for i in mime-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-en.texi; do \ ${MAKEINFO_EMACS} $${i} ${MAKEINFO_EMACS_FLAGS} || ${TRUE} ; \ done) +.if defined(HAS_MULE) && (${HAS_MULE} == "YES") + @(cd ${WRKSRC} ; \ + for i in mime-ja.texi; do \ + ${MAKEINFO_EMACS} $${i} ${MAKEINFO_EMACS_FLAGS} || ${TRUE} ; \ + done) +.endif doc-install: @${MKDIR} ${PREFIX}/${FLIMDOCDIR} @(cd ${WRKSRC} ; \ - for i in ChangeLog README.* NEWS VERSION ; do \ + for i in ChangeLog NEWS README.* VERSION ; do \ ${INSTALL_DATA} $${i} ${PREFIX}/${FLIMDOCDIR}/ ; \ done) @@ -139,23 +164,31 @@ setupel-install: @${INSTALL_DATA} ${WRKDIR}/${FLIM_SETUPEL} \ ${PREFIX}/${EMACS_LIBDIR_WITH_VER}/site-lisp + info-install: @(cd ${WRKSRC} ; \ - for i in mime-en.info mime-ja.info; do \ + for i in mime-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-ja.info; do \ + ${INSTALL_DATA} ${WRKSRC}/$${i} ${PREFIX}/info ; \ + install-info ${PREFIX}/info/$${i} ${PREFIX}/info/dir ; \ + done) +.endif info-package-install: @(cd ${WRKSRC} ; \ for i in mime-en.info mime-ja.info; do \ ${INSTALL_DATA} ${WRKSRC}/$${i} \ - ${PREFIX}/${EMACS_PACKAGESDIR}/info ; \ + ${PREFIX}/${EMACS_PACKAGESDIR}/info ; \ done ; \ ${MKDIR} -p ${PREFIX}/${EMACS_PACKAGESDIR}/man/flim ; \ for i in mime-en.texi mime-ja.texi; do \ ${INSTALL_DATA} ${WRKSRC}/$${i} \ - ${PREFIX}/${EMACS_PACKAGESDIR}/man/flim ; \ + ${PREFIX}/${EMACS_PACKAGESDIR}/man/flim ; \ done) manifest-install: @@ -165,5 +198,4 @@ manifest-install: @${INSTALL_DATA} ${WRKDIR}/${MANIFEST} \ ${PREFIX}/${EMACS_PACKAGESDIR}/pkginfo/ - .include <bsd.port.post.mk> diff --git a/editors/flim/distinfo b/editors/flim/distinfo index 160519c..c5c1ac3 100644 --- a/editors/flim/distinfo +++ b/editors/flim/distinfo @@ -1 +1 @@ -MD5 (flim-1.12.5.tar.gz) = 4424ecbbdca8ec46cbc05eaefd32fcf8 +MD5 (flim-1.13.2.tar.gz) = 3a7341529167bd1de0b510150c48d41e diff --git a/editors/flim/pkg-plist b/editors/flim/pkg-plist index bb84e79..92def16 100644 --- a/editors/flim/pkg-plist +++ b/editors/flim/pkg-plist @@ -2,6 +2,8 @@ %%EMACS_LIBDIR%%/site-lisp/flim/eword-decode.elc %%EMACS_LIBDIR%%/site-lisp/flim/eword-encode.el %%EMACS_LIBDIR%%/site-lisp/flim/eword-encode.elc +%%EMACS_LIBDIR%%/site-lisp/flim/luna.el +%%EMACS_LIBDIR%%/site-lisp/flim/luna.elc %%EMACS_LIBDIR%%/site-lisp/flim/mailcap.el %%EMACS_LIBDIR%%/site-lisp/flim/mailcap.elc %%EMACS_LIBDIR%%/site-lisp/flim/mel-b-el.el @@ -24,8 +26,8 @@ %%EMACS_LIBDIR%%/site-lisp/flim/mmbuffer.elc %%EMACS_LIBDIR%%/site-lisp/flim/mmcooked.el %%EMACS_LIBDIR%%/site-lisp/flim/mmcooked.elc -%%EMACS_LIBDIR%%/site-lisp/flim/mmgeneric.el -%%EMACS_LIBDIR%%/site-lisp/flim/mmgeneric.elc +%%EMACS_LIBDIR%%/site-lisp/flim/mmdbuffer.el +%%EMACS_LIBDIR%%/site-lisp/flim/mmdbuffer.elc %%EMACS_LIBDIR%%/site-lisp/flim/std11.el %%EMACS_LIBDIR%%/site-lisp/flim/std11.elc %%EMACS_LIBDIR%%/site-lisp/flim/smtp.el @@ -41,8 +43,5 @@ %%FLIMDOCDIR%%/VERSION @dirrm %%FLIMDOCDIR%% @unexec install-info --delete %D/info/mime-en.info %D/info/dir -@unexec install-info --delete %D/info/mime-ja.info %D/info/dir info/mime-en.info -info/mime-ja.info @exec install-info %D/info/mime-en.info %D/info/dir -@exec install-info %D/info/mime-ja.info %D/info/dir diff --git a/editors/flim/pkg-plist.emacs20 b/editors/flim/pkg-plist.emacs20 index bb84e79..92def16 100644 --- a/editors/flim/pkg-plist.emacs20 +++ b/editors/flim/pkg-plist.emacs20 @@ -2,6 +2,8 @@ %%EMACS_LIBDIR%%/site-lisp/flim/eword-decode.elc %%EMACS_LIBDIR%%/site-lisp/flim/eword-encode.el %%EMACS_LIBDIR%%/site-lisp/flim/eword-encode.elc +%%EMACS_LIBDIR%%/site-lisp/flim/luna.el +%%EMACS_LIBDIR%%/site-lisp/flim/luna.elc %%EMACS_LIBDIR%%/site-lisp/flim/mailcap.el %%EMACS_LIBDIR%%/site-lisp/flim/mailcap.elc %%EMACS_LIBDIR%%/site-lisp/flim/mel-b-el.el @@ -24,8 +26,8 @@ %%EMACS_LIBDIR%%/site-lisp/flim/mmbuffer.elc %%EMACS_LIBDIR%%/site-lisp/flim/mmcooked.el %%EMACS_LIBDIR%%/site-lisp/flim/mmcooked.elc -%%EMACS_LIBDIR%%/site-lisp/flim/mmgeneric.el -%%EMACS_LIBDIR%%/site-lisp/flim/mmgeneric.elc +%%EMACS_LIBDIR%%/site-lisp/flim/mmdbuffer.el +%%EMACS_LIBDIR%%/site-lisp/flim/mmdbuffer.elc %%EMACS_LIBDIR%%/site-lisp/flim/std11.el %%EMACS_LIBDIR%%/site-lisp/flim/std11.elc %%EMACS_LIBDIR%%/site-lisp/flim/smtp.el @@ -41,8 +43,5 @@ %%FLIMDOCDIR%%/VERSION @dirrm %%FLIMDOCDIR%% @unexec install-info --delete %D/info/mime-en.info %D/info/dir -@unexec install-info --delete %D/info/mime-ja.info %D/info/dir info/mime-en.info -info/mime-ja.info @exec install-info %D/info/mime-en.info %D/info/dir -@exec install-info %D/info/mime-ja.info %D/info/dir diff --git a/editors/flim/pkg-plist.emacs21 b/editors/flim/pkg-plist.emacs21 index bb84e79..92def16 100644 --- a/editors/flim/pkg-plist.emacs21 +++ b/editors/flim/pkg-plist.emacs21 @@ -2,6 +2,8 @@ %%EMACS_LIBDIR%%/site-lisp/flim/eword-decode.elc %%EMACS_LIBDIR%%/site-lisp/flim/eword-encode.el %%EMACS_LIBDIR%%/site-lisp/flim/eword-encode.elc +%%EMACS_LIBDIR%%/site-lisp/flim/luna.el +%%EMACS_LIBDIR%%/site-lisp/flim/luna.elc %%EMACS_LIBDIR%%/site-lisp/flim/mailcap.el %%EMACS_LIBDIR%%/site-lisp/flim/mailcap.elc %%EMACS_LIBDIR%%/site-lisp/flim/mel-b-el.el @@ -24,8 +26,8 @@ %%EMACS_LIBDIR%%/site-lisp/flim/mmbuffer.elc %%EMACS_LIBDIR%%/site-lisp/flim/mmcooked.el %%EMACS_LIBDIR%%/site-lisp/flim/mmcooked.elc -%%EMACS_LIBDIR%%/site-lisp/flim/mmgeneric.el -%%EMACS_LIBDIR%%/site-lisp/flim/mmgeneric.elc +%%EMACS_LIBDIR%%/site-lisp/flim/mmdbuffer.el +%%EMACS_LIBDIR%%/site-lisp/flim/mmdbuffer.elc %%EMACS_LIBDIR%%/site-lisp/flim/std11.el %%EMACS_LIBDIR%%/site-lisp/flim/std11.elc %%EMACS_LIBDIR%%/site-lisp/flim/smtp.el @@ -41,8 +43,5 @@ %%FLIMDOCDIR%%/VERSION @dirrm %%FLIMDOCDIR%% @unexec install-info --delete %D/info/mime-en.info %D/info/dir -@unexec install-info --delete %D/info/mime-ja.info %D/info/dir info/mime-en.info -info/mime-ja.info @exec install-info %D/info/mime-en.info %D/info/dir -@exec install-info %D/info/mime-ja.info %D/info/dir diff --git a/editors/flim113-emacs/Makefile b/editors/flim113-emacs/Makefile index 9f16d10..b1550f4 100644 --- a/editors/flim113-emacs/Makefile +++ b/editors/flim113-emacs/Makefile @@ -1,5 +1,5 @@ -# New ports collection makefile for: flim for emacs -# Version required: 1.12.5 +# New ports collection makefile for: flim-current for emacs +# Version required: 1.13.2 # Date created: 9 May 1999 # Whom: Shigeyuki FUKUSHIMA <shige@FreeBSD.org> # @@ -8,18 +8,21 @@ DISTNAME= flim-${FLIM_VER} CATEGORIES= editors elisp -MASTER_SITES= ftp://ftp.jaist.ac.jp/pub/GNU/elisp/flim/flim-1.12/ - +MASTER_SITES= ftp://ftp.etl.go.jp/pub/mule/flim/flim-1.12/ \ + ftp://ftp.media.kyoto-u.ac.jp/pub/mule/flim/flim-1.12/ \ + ftp://ftp.win.or.jp/pub/word/mule/flim/flim-1.12/ \ + ftp://ftp.eos.hokudai.ac.jp/pub/GNU/emacs/mule/flim/flim-1.12/ MAINTAINER?= shige@FreeBSD.org PORTCLASS?= master # distfile version -FLIM_VER= 1.12.5 +FLIM_VER= 1.13.2 # setupel filename FLIM_SETUPEL= flim-setupel.el # document install directory by install-doc target FLIMDOCDIR?= share/doc/flim +FLIM_COOKIE= flim-${EMACS_PORT}-${FLIM_VER}.FreeBSD-packages .if (${PORTCLASS} == "master") # for emacs @@ -28,8 +31,8 @@ EMACS_PORT= emacs EMACS_VER= 19.34 EMACS_LIBDIR= share/${EMACS_NAME} EMACS_LIBDIR_WITH_VER= ${EMACS_LIBDIR}/${EMACS_VER} -# emacs requires *-setupel.el -REQUIRE_SETUPEL= YES +# whether emacs requires *-setupel.el +REQUIRE_SETUPEL= YES .endif # target name for make build @@ -38,11 +41,11 @@ ALL_TARGET?= elc .if defined(EMACS_PORT) PKGNAME= flim-${EMACS_PORT}-${FLIM_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} +RUN_DEPENDS+= ${EMACS_CMD}:${PORTSDIR}/editors/${EMACS_PORT} .endif SCRIPTS_ENV+= EMACS_LIBDIR=${EMACS_LIBDIR} EMACS_VER=${EMACS_VER} \ EMACS_LIBDIR_WITH_VER=${EMACS_LIBDIR_WITH_VER} \ @@ -51,8 +54,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} \ - FLIMDOCDIR=${FLIMDOCDIR} FLIM_SETUPEL=${FLIM_SETUPEL} -MAKE_FLAGS+= EMACS=${EMACS_CMD} + FLIMDOCDIR=${FLIMDOCDIR} FLIM_SETUPEL=${FLIM_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} @@ -60,17 +64,13 @@ RUN_DEPENDS+= ${PREFIX}/${EMACS_LIBDIR_WITH_VER}/site-lisp/custom.el:${PORTSDIR} .endif # depends on apel (case of xemacs-21.x or later) .if defined(EMACS_PACKAGESDIR) -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} +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 (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 mmencode -.if (${EMACS_NAME} != "xemacs") -RUN_DEPENDS+= mmencode:${PORTSDIR}/mail/metamail -.endif .else .BEGIN: @${ECHO} "Error: Bad port." @@ -78,8 +78,10 @@ RUN_DEPENDS+= mmencode:${PORTSDIR}/mail/metamail @${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") @@ -88,15 +90,23 @@ pre-configure: .include <bsd.port.pre.mk> +# makeinfo stuff 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: +# install package-cookie + @${MKDIR} -p ${PREFIX}/share/flim + @${TOUCH} ${PREFIX}/share/flim/${FLIM_COOKIE} .if defined(REQUIRE_SETUPEL) && (${REQUIRE_SETUPEL} == "YES") @${MAKE} setupel-install .endif @@ -111,27 +121,42 @@ post-install: .endif -# install functions +############################################################################### +# +# miscellaneous local functions +# info-build: @(cd ${WRKSRC} ; \ - for i in mime-en.texi mime-ja.texi; do \ + for i in mime-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-en.texi mime-ja.texi; do \ + for i in mime-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-en.texi; do \ ${MAKEINFO_EMACS} $${i} ${MAKEINFO_EMACS_FLAGS} || ${TRUE} ; \ done) +.if defined(HAS_MULE) && (${HAS_MULE} == "YES") + @(cd ${WRKSRC} ; \ + for i in mime-ja.texi; do \ + ${MAKEINFO_EMACS} $${i} ${MAKEINFO_EMACS_FLAGS} || ${TRUE} ; \ + done) +.endif doc-install: @${MKDIR} ${PREFIX}/${FLIMDOCDIR} @(cd ${WRKSRC} ; \ - for i in ChangeLog README.* NEWS VERSION ; do \ + for i in ChangeLog NEWS README.* VERSION ; do \ ${INSTALL_DATA} $${i} ${PREFIX}/${FLIMDOCDIR}/ ; \ done) @@ -139,23 +164,31 @@ setupel-install: @${INSTALL_DATA} ${WRKDIR}/${FLIM_SETUPEL} \ ${PREFIX}/${EMACS_LIBDIR_WITH_VER}/site-lisp + info-install: @(cd ${WRKSRC} ; \ - for i in mime-en.info mime-ja.info; do \ + for i in mime-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-ja.info; do \ + ${INSTALL_DATA} ${WRKSRC}/$${i} ${PREFIX}/info ; \ + install-info ${PREFIX}/info/$${i} ${PREFIX}/info/dir ; \ + done) +.endif info-package-install: @(cd ${WRKSRC} ; \ for i in mime-en.info mime-ja.info; do \ ${INSTALL_DATA} ${WRKSRC}/$${i} \ - ${PREFIX}/${EMACS_PACKAGESDIR}/info ; \ + ${PREFIX}/${EMACS_PACKAGESDIR}/info ; \ done ; \ ${MKDIR} -p ${PREFIX}/${EMACS_PACKAGESDIR}/man/flim ; \ for i in mime-en.texi mime-ja.texi; do \ ${INSTALL_DATA} ${WRKSRC}/$${i} \ - ${PREFIX}/${EMACS_PACKAGESDIR}/man/flim ; \ + ${PREFIX}/${EMACS_PACKAGESDIR}/man/flim ; \ done) manifest-install: @@ -165,5 +198,4 @@ manifest-install: @${INSTALL_DATA} ${WRKDIR}/${MANIFEST} \ ${PREFIX}/${EMACS_PACKAGESDIR}/pkginfo/ - .include <bsd.port.post.mk> diff --git a/editors/flim113-emacs/distinfo b/editors/flim113-emacs/distinfo index 160519c..c5c1ac3 100644 --- a/editors/flim113-emacs/distinfo +++ b/editors/flim113-emacs/distinfo @@ -1 +1 @@ -MD5 (flim-1.12.5.tar.gz) = 4424ecbbdca8ec46cbc05eaefd32fcf8 +MD5 (flim-1.13.2.tar.gz) = 3a7341529167bd1de0b510150c48d41e diff --git a/editors/flim113-emacs/pkg-plist b/editors/flim113-emacs/pkg-plist index bb84e79..92def16 100644 --- a/editors/flim113-emacs/pkg-plist +++ b/editors/flim113-emacs/pkg-plist @@ -2,6 +2,8 @@ %%EMACS_LIBDIR%%/site-lisp/flim/eword-decode.elc %%EMACS_LIBDIR%%/site-lisp/flim/eword-encode.el %%EMACS_LIBDIR%%/site-lisp/flim/eword-encode.elc +%%EMACS_LIBDIR%%/site-lisp/flim/luna.el +%%EMACS_LIBDIR%%/site-lisp/flim/luna.elc %%EMACS_LIBDIR%%/site-lisp/flim/mailcap.el %%EMACS_LIBDIR%%/site-lisp/flim/mailcap.elc %%EMACS_LIBDIR%%/site-lisp/flim/mel-b-el.el @@ -24,8 +26,8 @@ %%EMACS_LIBDIR%%/site-lisp/flim/mmbuffer.elc %%EMACS_LIBDIR%%/site-lisp/flim/mmcooked.el %%EMACS_LIBDIR%%/site-lisp/flim/mmcooked.elc -%%EMACS_LIBDIR%%/site-lisp/flim/mmgeneric.el -%%EMACS_LIBDIR%%/site-lisp/flim/mmgeneric.elc +%%EMACS_LIBDIR%%/site-lisp/flim/mmdbuffer.el +%%EMACS_LIBDIR%%/site-lisp/flim/mmdbuffer.elc %%EMACS_LIBDIR%%/site-lisp/flim/std11.el %%EMACS_LIBDIR%%/site-lisp/flim/std11.elc %%EMACS_LIBDIR%%/site-lisp/flim/smtp.el @@ -41,8 +43,5 @@ %%FLIMDOCDIR%%/VERSION @dirrm %%FLIMDOCDIR%% @unexec install-info --delete %D/info/mime-en.info %D/info/dir -@unexec install-info --delete %D/info/mime-ja.info %D/info/dir info/mime-en.info -info/mime-ja.info @exec install-info %D/info/mime-en.info %D/info/dir -@exec install-info %D/info/mime-ja.info %D/info/dir diff --git a/editors/flim113-emacs20/Makefile b/editors/flim113-emacs20/Makefile index ea51f29..86ab358 100644 --- a/editors/flim113-emacs20/Makefile +++ b/editors/flim113-emacs20/Makefile @@ -1,5 +1,5 @@ # New ports collection makefile for: flim-current for emacs20 -# Version required: 1.12.5 +# Version required: 1.13.2 # 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/flim113-emacs20/pkg-plist b/editors/flim113-emacs20/pkg-plist index e0a670f..528ebd9 100644 --- a/editors/flim113-emacs20/pkg-plist +++ b/editors/flim113-emacs20/pkg-plist @@ -2,6 +2,8 @@ %%EMACS_LIBDIR%%/site-lisp/flim/eword-decode.elc %%EMACS_LIBDIR%%/site-lisp/flim/eword-encode.el %%EMACS_LIBDIR%%/site-lisp/flim/eword-encode.elc +%%EMACS_LIBDIR%%/site-lisp/flim/luna.el +%%EMACS_LIBDIR%%/site-lisp/flim/luna.elc %%EMACS_LIBDIR%%/site-lisp/flim/mailcap.el %%EMACS_LIBDIR%%/site-lisp/flim/mailcap.elc %%EMACS_LIBDIR%%/site-lisp/flim/mel-b-ccl.el @@ -26,8 +28,8 @@ %%EMACS_LIBDIR%%/site-lisp/flim/mmbuffer.elc %%EMACS_LIBDIR%%/site-lisp/flim/mmcooked.el %%EMACS_LIBDIR%%/site-lisp/flim/mmcooked.elc -%%EMACS_LIBDIR%%/site-lisp/flim/mmgeneric.el -%%EMACS_LIBDIR%%/site-lisp/flim/mmgeneric.elc +%%EMACS_LIBDIR%%/site-lisp/flim/mmdbuffer.el +%%EMACS_LIBDIR%%/site-lisp/flim/mmdbuffer.elc %%EMACS_LIBDIR%%/site-lisp/flim/std11.el %%EMACS_LIBDIR%%/site-lisp/flim/std11.elc %%EMACS_LIBDIR%%/site-lisp/flim/smtp.el diff --git a/editors/flim113-mule/Makefile b/editors/flim113-mule/Makefile index a2713d1..01364a0 100644 --- a/editors/flim113-mule/Makefile +++ b/editors/flim113-mule/Makefile @@ -1,5 +1,5 @@ -# New ports collection makefile for: flim for mule -# Version required: 1.12.5 +# New ports collection makefile for: flim-current for mule +# Version required: 1.13.2 # 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 has a *-common port +HAS_COMMON_PORT= YES +# whether emacs requires *-setupel.el REQUIRE_SETUPEL= YES +# whether emacs has mule feature +HAS_MULE= YES # use pkg/* files in ${.CURDIR} PKGDIR= ${.CURDIR}/pkg diff --git a/editors/flim113-mule/pkg-plist b/editors/flim113-mule/pkg-plist index 7d97b46..0fe68d8 100644 --- a/editors/flim113-mule/pkg-plist +++ b/editors/flim113-mule/pkg-plist @@ -2,6 +2,8 @@ %%EMACS_LIBDIR%%/site-lisp/flim/eword-decode.elc %%EMACS_LIBDIR%%/site-lisp/flim/eword-encode.el %%EMACS_LIBDIR%%/site-lisp/flim/eword-encode.elc +%%EMACS_LIBDIR%%/site-lisp/flim/luna.el +%%EMACS_LIBDIR%%/site-lisp/flim/luna.elc %%EMACS_LIBDIR%%/site-lisp/flim/mailcap.el %%EMACS_LIBDIR%%/site-lisp/flim/mailcap.elc %%EMACS_LIBDIR%%/site-lisp/flim/mel-b-ccl.el @@ -28,8 +30,8 @@ %%EMACS_LIBDIR%%/site-lisp/flim/mmbuffer.elc %%EMACS_LIBDIR%%/site-lisp/flim/mmcooked.el %%EMACS_LIBDIR%%/site-lisp/flim/mmcooked.elc -%%EMACS_LIBDIR%%/site-lisp/flim/mmgeneric.el -%%EMACS_LIBDIR%%/site-lisp/flim/mmgeneric.elc +%%EMACS_LIBDIR%%/site-lisp/flim/mmdbuffer.el +%%EMACS_LIBDIR%%/site-lisp/flim/mmdbuffer.elc %%EMACS_LIBDIR%%/site-lisp/flim/std11.el %%EMACS_LIBDIR%%/site-lisp/flim/std11.elc %%EMACS_LIBDIR%%/site-lisp/flim/smtp.el diff --git a/editors/flim113-xemacs/Makefile b/editors/flim113-xemacs/Makefile index 61778eb..f5557a6 100644 --- a/editors/flim113-xemacs/Makefile +++ b/editors/flim113-xemacs/Makefile @@ -1,4 +1,4 @@ -# New ports collection makefile for: flim for xemacs +# New ports collection makefile for: flim-current for xemacs # Version required: 1.12.5 # Date created: 25 July 1999 # Whom: Shigeyuki FUKUSHIMA <shige@FreeBSD.org> diff --git a/editors/flim113-xemacs/pkg-plist b/editors/flim113-xemacs/pkg-plist index c651ddb..7fbd10f 100644 --- a/editors/flim113-xemacs/pkg-plist +++ b/editors/flim113-xemacs/pkg-plist @@ -2,6 +2,8 @@ %%EMACS_LIBDIR%%/site-lisp/flim/eword-decode.elc %%EMACS_LIBDIR%%/site-lisp/flim/eword-encode.el %%EMACS_LIBDIR%%/site-lisp/flim/eword-encode.elc +%%EMACS_LIBDIR%%/site-lisp/flim/luna.el +%%EMACS_LIBDIR%%/site-lisp/flim/luna.elc %%EMACS_LIBDIR%%/site-lisp/flim/mailcap.el %%EMACS_LIBDIR%%/site-lisp/flim/mailcap.elc %%EMACS_LIBDIR%%/site-lisp/flim/mel-b-el.el @@ -24,8 +26,8 @@ %%EMACS_LIBDIR%%/site-lisp/flim/mmbuffer.elc %%EMACS_LIBDIR%%/site-lisp/flim/mmcooked.el %%EMACS_LIBDIR%%/site-lisp/flim/mmcooked.elc -%%EMACS_LIBDIR%%/site-lisp/flim/mmgeneric.el -%%EMACS_LIBDIR%%/site-lisp/flim/mmgeneric.elc +%%EMACS_LIBDIR%%/site-lisp/flim/mmdbuffer.el +%%EMACS_LIBDIR%%/site-lisp/flim/mmdbuffer.elc %%EMACS_LIBDIR%%/site-lisp/flim/std11.el %%EMACS_LIBDIR%%/site-lisp/flim/std11.elc %%EMACS_LIBDIR%%/site-lisp/flim/smtp.el @@ -40,8 +42,5 @@ %%FLIMDOCDIR%%/VERSION @dirrm %%FLIMDOCDIR%% @unexec install-info --delete %D/info/mime-en.info %D/info/dir -@unexec install-info --delete %D/info/mime-ja.info %D/info/dir info/mime-en.info -info/mime-ja.info @exec install-info %D/info/mime-en.info %D/info/dir -@exec install-info %D/info/mime-ja.info %D/info/dir diff --git a/editors/flim113-xemacs20/Makefile b/editors/flim113-xemacs20/Makefile index 6ebf79d..bf862e8 100644 --- a/editors/flim113-xemacs20/Makefile +++ b/editors/flim113-xemacs20/Makefile @@ -1,5 +1,5 @@ -# New ports collection makefile for: flim for xemacs20 -# Version required: 1.12.5 +# New ports collection makefile for: flim-current for xemacs20 +# Version required: 1.13.2 # Date created: 25 July 1999 # Whom: Shigeyuki FUKUSHIMA <shige@FreeBSD.org> # diff --git a/editors/flim113-xemacs20/pkg-plist b/editors/flim113-xemacs20/pkg-plist index c651ddb..7fbd10f 100644 --- a/editors/flim113-xemacs20/pkg-plist +++ b/editors/flim113-xemacs20/pkg-plist @@ -2,6 +2,8 @@ %%EMACS_LIBDIR%%/site-lisp/flim/eword-decode.elc %%EMACS_LIBDIR%%/site-lisp/flim/eword-encode.el %%EMACS_LIBDIR%%/site-lisp/flim/eword-encode.elc +%%EMACS_LIBDIR%%/site-lisp/flim/luna.el +%%EMACS_LIBDIR%%/site-lisp/flim/luna.elc %%EMACS_LIBDIR%%/site-lisp/flim/mailcap.el %%EMACS_LIBDIR%%/site-lisp/flim/mailcap.elc %%EMACS_LIBDIR%%/site-lisp/flim/mel-b-el.el @@ -24,8 +26,8 @@ %%EMACS_LIBDIR%%/site-lisp/flim/mmbuffer.elc %%EMACS_LIBDIR%%/site-lisp/flim/mmcooked.el %%EMACS_LIBDIR%%/site-lisp/flim/mmcooked.elc -%%EMACS_LIBDIR%%/site-lisp/flim/mmgeneric.el -%%EMACS_LIBDIR%%/site-lisp/flim/mmgeneric.elc +%%EMACS_LIBDIR%%/site-lisp/flim/mmdbuffer.el +%%EMACS_LIBDIR%%/site-lisp/flim/mmdbuffer.elc %%EMACS_LIBDIR%%/site-lisp/flim/std11.el %%EMACS_LIBDIR%%/site-lisp/flim/std11.elc %%EMACS_LIBDIR%%/site-lisp/flim/smtp.el @@ -40,8 +42,5 @@ %%FLIMDOCDIR%%/VERSION @dirrm %%FLIMDOCDIR%% @unexec install-info --delete %D/info/mime-en.info %D/info/dir -@unexec install-info --delete %D/info/mime-ja.info %D/info/dir info/mime-en.info -info/mime-ja.info @exec install-info %D/info/mime-en.info %D/info/dir -@exec install-info %D/info/mime-ja.info %D/info/dir diff --git a/editors/flim113-xemacs21-mule/Makefile b/editors/flim113-xemacs21-mule/Makefile index 0f8449b..c1a5606 100644 --- a/editors/flim113-xemacs21-mule/Makefile +++ b/editors/flim113-xemacs21-mule/Makefile @@ -1,5 +1,5 @@ # New ports collection makefile for: flim for xemacs-mule -# Version required: 1.12.5 +# 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+= ${EMACS_PACKAGESDIR}/lisp/texinfo/texinfo.el:${PORTSDIR}/editors/xemacs-sumo-packages # use pkg/* files in ${.CURDIR} PKGDIR= ${.CURDIR}/pkg diff --git a/editors/flim113-xemacs21-mule/pkg-plist b/editors/flim113-xemacs21-mule/pkg-plist index c93f491..7140286 100644 --- a/editors/flim113-xemacs21-mule/pkg-plist +++ b/editors/flim113-xemacs21-mule/pkg-plist @@ -11,6 +11,8 @@ %%EMACS_PACKAGESDIR%%/lisp/flim/eword-decode.elc %%EMACS_PACKAGESDIR%%/lisp/flim/eword-encode.el %%EMACS_PACKAGESDIR%%/lisp/flim/eword-encode.elc +%%EMACS_PACKAGESDIR%%/lisp/flim/luna.el +%%EMACS_PACKAGESDIR%%/lisp/flim/luna.elc %%EMACS_PACKAGESDIR%%/lisp/flim/mailcap.el %%EMACS_PACKAGESDIR%%/lisp/flim/mailcap.elc %%EMACS_PACKAGESDIR%%/lisp/flim/mel-b-ccl.el @@ -37,8 +39,8 @@ %%EMACS_PACKAGESDIR%%/lisp/flim/mmbuffer.elc %%EMACS_PACKAGESDIR%%/lisp/flim/mmcooked.el %%EMACS_PACKAGESDIR%%/lisp/flim/mmcooked.elc -%%EMACS_PACKAGESDIR%%/lisp/flim/mmgeneric.el -%%EMACS_PACKAGESDIR%%/lisp/flim/mmgeneric.elc +%%EMACS_PACKAGESDIR%%/lisp/flim/mmdbuffer.el +%%EMACS_PACKAGESDIR%%/lisp/flim/mmdbuffer.elc %%EMACS_PACKAGESDIR%%/lisp/flim/std11.el %%EMACS_PACKAGESDIR%%/lisp/flim/std11.elc %%EMACS_PACKAGESDIR%%/lisp/flim/smtp.el diff --git a/editors/flim113/Makefile b/editors/flim113/Makefile index 9f16d10..b1550f4 100644 --- a/editors/flim113/Makefile +++ b/editors/flim113/Makefile @@ -1,5 +1,5 @@ -# New ports collection makefile for: flim for emacs -# Version required: 1.12.5 +# New ports collection makefile for: flim-current for emacs +# Version required: 1.13.2 # Date created: 9 May 1999 # Whom: Shigeyuki FUKUSHIMA <shige@FreeBSD.org> # @@ -8,18 +8,21 @@ DISTNAME= flim-${FLIM_VER} CATEGORIES= editors elisp -MASTER_SITES= ftp://ftp.jaist.ac.jp/pub/GNU/elisp/flim/flim-1.12/ - +MASTER_SITES= ftp://ftp.etl.go.jp/pub/mule/flim/flim-1.12/ \ + ftp://ftp.media.kyoto-u.ac.jp/pub/mule/flim/flim-1.12/ \ + ftp://ftp.win.or.jp/pub/word/mule/flim/flim-1.12/ \ + ftp://ftp.eos.hokudai.ac.jp/pub/GNU/emacs/mule/flim/flim-1.12/ MAINTAINER?= shige@FreeBSD.org PORTCLASS?= master # distfile version -FLIM_VER= 1.12.5 +FLIM_VER= 1.13.2 # setupel filename FLIM_SETUPEL= flim-setupel.el # document install directory by install-doc target FLIMDOCDIR?= share/doc/flim +FLIM_COOKIE= flim-${EMACS_PORT}-${FLIM_VER}.FreeBSD-packages .if (${PORTCLASS} == "master") # for emacs @@ -28,8 +31,8 @@ EMACS_PORT= emacs EMACS_VER= 19.34 EMACS_LIBDIR= share/${EMACS_NAME} EMACS_LIBDIR_WITH_VER= ${EMACS_LIBDIR}/${EMACS_VER} -# emacs requires *-setupel.el -REQUIRE_SETUPEL= YES +# whether emacs requires *-setupel.el +REQUIRE_SETUPEL= YES .endif # target name for make build @@ -38,11 +41,11 @@ ALL_TARGET?= elc .if defined(EMACS_PORT) PKGNAME= flim-${EMACS_PORT}-${FLIM_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} +RUN_DEPENDS+= ${EMACS_CMD}:${PORTSDIR}/editors/${EMACS_PORT} .endif SCRIPTS_ENV+= EMACS_LIBDIR=${EMACS_LIBDIR} EMACS_VER=${EMACS_VER} \ EMACS_LIBDIR_WITH_VER=${EMACS_LIBDIR_WITH_VER} \ @@ -51,8 +54,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} \ - FLIMDOCDIR=${FLIMDOCDIR} FLIM_SETUPEL=${FLIM_SETUPEL} -MAKE_FLAGS+= EMACS=${EMACS_CMD} + FLIMDOCDIR=${FLIMDOCDIR} FLIM_SETUPEL=${FLIM_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} @@ -60,17 +64,13 @@ RUN_DEPENDS+= ${PREFIX}/${EMACS_LIBDIR_WITH_VER}/site-lisp/custom.el:${PORTSDIR} .endif # depends on apel (case of xemacs-21.x or later) .if defined(EMACS_PACKAGESDIR) -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} +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 (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 mmencode -.if (${EMACS_NAME} != "xemacs") -RUN_DEPENDS+= mmencode:${PORTSDIR}/mail/metamail -.endif .else .BEGIN: @${ECHO} "Error: Bad port." @@ -78,8 +78,10 @@ RUN_DEPENDS+= mmencode:${PORTSDIR}/mail/metamail @${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") @@ -88,15 +90,23 @@ pre-configure: .include <bsd.port.pre.mk> +# makeinfo stuff 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: +# install package-cookie + @${MKDIR} -p ${PREFIX}/share/flim + @${TOUCH} ${PREFIX}/share/flim/${FLIM_COOKIE} .if defined(REQUIRE_SETUPEL) && (${REQUIRE_SETUPEL} == "YES") @${MAKE} setupel-install .endif @@ -111,27 +121,42 @@ post-install: .endif -# install functions +############################################################################### +# +# miscellaneous local functions +# info-build: @(cd ${WRKSRC} ; \ - for i in mime-en.texi mime-ja.texi; do \ + for i in mime-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-en.texi mime-ja.texi; do \ + for i in mime-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-en.texi; do \ ${MAKEINFO_EMACS} $${i} ${MAKEINFO_EMACS_FLAGS} || ${TRUE} ; \ done) +.if defined(HAS_MULE) && (${HAS_MULE} == "YES") + @(cd ${WRKSRC} ; \ + for i in mime-ja.texi; do \ + ${MAKEINFO_EMACS} $${i} ${MAKEINFO_EMACS_FLAGS} || ${TRUE} ; \ + done) +.endif doc-install: @${MKDIR} ${PREFIX}/${FLIMDOCDIR} @(cd ${WRKSRC} ; \ - for i in ChangeLog README.* NEWS VERSION ; do \ + for i in ChangeLog NEWS README.* VERSION ; do \ ${INSTALL_DATA} $${i} ${PREFIX}/${FLIMDOCDIR}/ ; \ done) @@ -139,23 +164,31 @@ setupel-install: @${INSTALL_DATA} ${WRKDIR}/${FLIM_SETUPEL} \ ${PREFIX}/${EMACS_LIBDIR_WITH_VER}/site-lisp + info-install: @(cd ${WRKSRC} ; \ - for i in mime-en.info mime-ja.info; do \ + for i in mime-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-ja.info; do \ + ${INSTALL_DATA} ${WRKSRC}/$${i} ${PREFIX}/info ; \ + install-info ${PREFIX}/info/$${i} ${PREFIX}/info/dir ; \ + done) +.endif info-package-install: @(cd ${WRKSRC} ; \ for i in mime-en.info mime-ja.info; do \ ${INSTALL_DATA} ${WRKSRC}/$${i} \ - ${PREFIX}/${EMACS_PACKAGESDIR}/info ; \ + ${PREFIX}/${EMACS_PACKAGESDIR}/info ; \ done ; \ ${MKDIR} -p ${PREFIX}/${EMACS_PACKAGESDIR}/man/flim ; \ for i in mime-en.texi mime-ja.texi; do \ ${INSTALL_DATA} ${WRKSRC}/$${i} \ - ${PREFIX}/${EMACS_PACKAGESDIR}/man/flim ; \ + ${PREFIX}/${EMACS_PACKAGESDIR}/man/flim ; \ done) manifest-install: @@ -165,5 +198,4 @@ manifest-install: @${INSTALL_DATA} ${WRKDIR}/${MANIFEST} \ ${PREFIX}/${EMACS_PACKAGESDIR}/pkginfo/ - .include <bsd.port.post.mk> diff --git a/editors/flim113/distinfo b/editors/flim113/distinfo index 160519c..c5c1ac3 100644 --- a/editors/flim113/distinfo +++ b/editors/flim113/distinfo @@ -1 +1 @@ -MD5 (flim-1.12.5.tar.gz) = 4424ecbbdca8ec46cbc05eaefd32fcf8 +MD5 (flim-1.13.2.tar.gz) = 3a7341529167bd1de0b510150c48d41e diff --git a/editors/flim113/pkg-plist b/editors/flim113/pkg-plist index bb84e79..92def16 100644 --- a/editors/flim113/pkg-plist +++ b/editors/flim113/pkg-plist @@ -2,6 +2,8 @@ %%EMACS_LIBDIR%%/site-lisp/flim/eword-decode.elc %%EMACS_LIBDIR%%/site-lisp/flim/eword-encode.el %%EMACS_LIBDIR%%/site-lisp/flim/eword-encode.elc +%%EMACS_LIBDIR%%/site-lisp/flim/luna.el +%%EMACS_LIBDIR%%/site-lisp/flim/luna.elc %%EMACS_LIBDIR%%/site-lisp/flim/mailcap.el %%EMACS_LIBDIR%%/site-lisp/flim/mailcap.elc %%EMACS_LIBDIR%%/site-lisp/flim/mel-b-el.el @@ -24,8 +26,8 @@ %%EMACS_LIBDIR%%/site-lisp/flim/mmbuffer.elc %%EMACS_LIBDIR%%/site-lisp/flim/mmcooked.el %%EMACS_LIBDIR%%/site-lisp/flim/mmcooked.elc -%%EMACS_LIBDIR%%/site-lisp/flim/mmgeneric.el -%%EMACS_LIBDIR%%/site-lisp/flim/mmgeneric.elc +%%EMACS_LIBDIR%%/site-lisp/flim/mmdbuffer.el +%%EMACS_LIBDIR%%/site-lisp/flim/mmdbuffer.elc %%EMACS_LIBDIR%%/site-lisp/flim/std11.el %%EMACS_LIBDIR%%/site-lisp/flim/std11.elc %%EMACS_LIBDIR%%/site-lisp/flim/smtp.el @@ -41,8 +43,5 @@ %%FLIMDOCDIR%%/VERSION @dirrm %%FLIMDOCDIR%% @unexec install-info --delete %D/info/mime-en.info %D/info/dir -@unexec install-info --delete %D/info/mime-ja.info %D/info/dir info/mime-en.info -info/mime-ja.info @exec install-info %D/info/mime-en.info %D/info/dir -@exec install-info %D/info/mime-ja.info %D/info/dir diff --git a/editors/flim113/pkg-plist.emacs19 b/editors/flim113/pkg-plist.emacs19 index bb84e79..92def16 100644 --- a/editors/flim113/pkg-plist.emacs19 +++ b/editors/flim113/pkg-plist.emacs19 @@ -2,6 +2,8 @@ %%EMACS_LIBDIR%%/site-lisp/flim/eword-decode.elc %%EMACS_LIBDIR%%/site-lisp/flim/eword-encode.el %%EMACS_LIBDIR%%/site-lisp/flim/eword-encode.elc +%%EMACS_LIBDIR%%/site-lisp/flim/luna.el +%%EMACS_LIBDIR%%/site-lisp/flim/luna.elc %%EMACS_LIBDIR%%/site-lisp/flim/mailcap.el %%EMACS_LIBDIR%%/site-lisp/flim/mailcap.elc %%EMACS_LIBDIR%%/site-lisp/flim/mel-b-el.el @@ -24,8 +26,8 @@ %%EMACS_LIBDIR%%/site-lisp/flim/mmbuffer.elc %%EMACS_LIBDIR%%/site-lisp/flim/mmcooked.el %%EMACS_LIBDIR%%/site-lisp/flim/mmcooked.elc -%%EMACS_LIBDIR%%/site-lisp/flim/mmgeneric.el -%%EMACS_LIBDIR%%/site-lisp/flim/mmgeneric.elc +%%EMACS_LIBDIR%%/site-lisp/flim/mmdbuffer.el +%%EMACS_LIBDIR%%/site-lisp/flim/mmdbuffer.elc %%EMACS_LIBDIR%%/site-lisp/flim/std11.el %%EMACS_LIBDIR%%/site-lisp/flim/std11.elc %%EMACS_LIBDIR%%/site-lisp/flim/smtp.el @@ -41,8 +43,5 @@ %%FLIMDOCDIR%%/VERSION @dirrm %%FLIMDOCDIR%% @unexec install-info --delete %D/info/mime-en.info %D/info/dir -@unexec install-info --delete %D/info/mime-ja.info %D/info/dir info/mime-en.info -info/mime-ja.info @exec install-info %D/info/mime-en.info %D/info/dir -@exec install-info %D/info/mime-ja.info %D/info/dir diff --git a/editors/flim113/pkg-plist.emacs20 b/editors/flim113/pkg-plist.emacs20 index e0a670f..528ebd9 100644 --- a/editors/flim113/pkg-plist.emacs20 +++ b/editors/flim113/pkg-plist.emacs20 @@ -2,6 +2,8 @@ %%EMACS_LIBDIR%%/site-lisp/flim/eword-decode.elc %%EMACS_LIBDIR%%/site-lisp/flim/eword-encode.el %%EMACS_LIBDIR%%/site-lisp/flim/eword-encode.elc +%%EMACS_LIBDIR%%/site-lisp/flim/luna.el +%%EMACS_LIBDIR%%/site-lisp/flim/luna.elc %%EMACS_LIBDIR%%/site-lisp/flim/mailcap.el %%EMACS_LIBDIR%%/site-lisp/flim/mailcap.elc %%EMACS_LIBDIR%%/site-lisp/flim/mel-b-ccl.el @@ -26,8 +28,8 @@ %%EMACS_LIBDIR%%/site-lisp/flim/mmbuffer.elc %%EMACS_LIBDIR%%/site-lisp/flim/mmcooked.el %%EMACS_LIBDIR%%/site-lisp/flim/mmcooked.elc -%%EMACS_LIBDIR%%/site-lisp/flim/mmgeneric.el -%%EMACS_LIBDIR%%/site-lisp/flim/mmgeneric.elc +%%EMACS_LIBDIR%%/site-lisp/flim/mmdbuffer.el +%%EMACS_LIBDIR%%/site-lisp/flim/mmdbuffer.elc %%EMACS_LIBDIR%%/site-lisp/flim/std11.el %%EMACS_LIBDIR%%/site-lisp/flim/std11.elc %%EMACS_LIBDIR%%/site-lisp/flim/smtp.el diff --git a/editors/flim113/pkg-plist.mule b/editors/flim113/pkg-plist.mule index 7d97b46..0fe68d8 100644 --- a/editors/flim113/pkg-plist.mule +++ b/editors/flim113/pkg-plist.mule @@ -2,6 +2,8 @@ %%EMACS_LIBDIR%%/site-lisp/flim/eword-decode.elc %%EMACS_LIBDIR%%/site-lisp/flim/eword-encode.el %%EMACS_LIBDIR%%/site-lisp/flim/eword-encode.elc +%%EMACS_LIBDIR%%/site-lisp/flim/luna.el +%%EMACS_LIBDIR%%/site-lisp/flim/luna.elc %%EMACS_LIBDIR%%/site-lisp/flim/mailcap.el %%EMACS_LIBDIR%%/site-lisp/flim/mailcap.elc %%EMACS_LIBDIR%%/site-lisp/flim/mel-b-ccl.el @@ -28,8 +30,8 @@ %%EMACS_LIBDIR%%/site-lisp/flim/mmbuffer.elc %%EMACS_LIBDIR%%/site-lisp/flim/mmcooked.el %%EMACS_LIBDIR%%/site-lisp/flim/mmcooked.elc -%%EMACS_LIBDIR%%/site-lisp/flim/mmgeneric.el -%%EMACS_LIBDIR%%/site-lisp/flim/mmgeneric.elc +%%EMACS_LIBDIR%%/site-lisp/flim/mmdbuffer.el +%%EMACS_LIBDIR%%/site-lisp/flim/mmdbuffer.elc %%EMACS_LIBDIR%%/site-lisp/flim/std11.el %%EMACS_LIBDIR%%/site-lisp/flim/std11.elc %%EMACS_LIBDIR%%/site-lisp/flim/smtp.el diff --git a/editors/flim113/pkg-plist.xemacs21-mule b/editors/flim113/pkg-plist.xemacs21-mule index c93f491..7140286 100644 --- a/editors/flim113/pkg-plist.xemacs21-mule +++ b/editors/flim113/pkg-plist.xemacs21-mule @@ -11,6 +11,8 @@ %%EMACS_PACKAGESDIR%%/lisp/flim/eword-decode.elc %%EMACS_PACKAGESDIR%%/lisp/flim/eword-encode.el %%EMACS_PACKAGESDIR%%/lisp/flim/eword-encode.elc +%%EMACS_PACKAGESDIR%%/lisp/flim/luna.el +%%EMACS_PACKAGESDIR%%/lisp/flim/luna.elc %%EMACS_PACKAGESDIR%%/lisp/flim/mailcap.el %%EMACS_PACKAGESDIR%%/lisp/flim/mailcap.elc %%EMACS_PACKAGESDIR%%/lisp/flim/mel-b-ccl.el @@ -37,8 +39,8 @@ %%EMACS_PACKAGESDIR%%/lisp/flim/mmbuffer.elc %%EMACS_PACKAGESDIR%%/lisp/flim/mmcooked.el %%EMACS_PACKAGESDIR%%/lisp/flim/mmcooked.elc -%%EMACS_PACKAGESDIR%%/lisp/flim/mmgeneric.el -%%EMACS_PACKAGESDIR%%/lisp/flim/mmgeneric.elc +%%EMACS_PACKAGESDIR%%/lisp/flim/mmdbuffer.el +%%EMACS_PACKAGESDIR%%/lisp/flim/mmdbuffer.elc %%EMACS_PACKAGESDIR%%/lisp/flim/std11.el %%EMACS_PACKAGESDIR%%/lisp/flim/std11.elc %%EMACS_PACKAGESDIR%%/lisp/flim/smtp.el diff --git a/editors/flim114-emacs20/Makefile b/editors/flim114-emacs20/Makefile index 9f16d10..b1550f4 100644 --- a/editors/flim114-emacs20/Makefile +++ b/editors/flim114-emacs20/Makefile @@ -1,5 +1,5 @@ -# New ports collection makefile for: flim for emacs -# Version required: 1.12.5 +# New ports collection makefile for: flim-current for emacs +# Version required: 1.13.2 # Date created: 9 May 1999 # Whom: Shigeyuki FUKUSHIMA <shige@FreeBSD.org> # @@ -8,18 +8,21 @@ DISTNAME= flim-${FLIM_VER} CATEGORIES= editors elisp -MASTER_SITES= ftp://ftp.jaist.ac.jp/pub/GNU/elisp/flim/flim-1.12/ - +MASTER_SITES= ftp://ftp.etl.go.jp/pub/mule/flim/flim-1.12/ \ + ftp://ftp.media.kyoto-u.ac.jp/pub/mule/flim/flim-1.12/ \ + ftp://ftp.win.or.jp/pub/word/mule/flim/flim-1.12/ \ + ftp://ftp.eos.hokudai.ac.jp/pub/GNU/emacs/mule/flim/flim-1.12/ MAINTAINER?= shige@FreeBSD.org PORTCLASS?= master # distfile version -FLIM_VER= 1.12.5 +FLIM_VER= 1.13.2 # setupel filename FLIM_SETUPEL= flim-setupel.el # document install directory by install-doc target FLIMDOCDIR?= share/doc/flim +FLIM_COOKIE= flim-${EMACS_PORT}-${FLIM_VER}.FreeBSD-packages .if (${PORTCLASS} == "master") # for emacs @@ -28,8 +31,8 @@ EMACS_PORT= emacs EMACS_VER= 19.34 EMACS_LIBDIR= share/${EMACS_NAME} EMACS_LIBDIR_WITH_VER= ${EMACS_LIBDIR}/${EMACS_VER} -# emacs requires *-setupel.el -REQUIRE_SETUPEL= YES +# whether emacs requires *-setupel.el +REQUIRE_SETUPEL= YES .endif # target name for make build @@ -38,11 +41,11 @@ ALL_TARGET?= elc .if defined(EMACS_PORT) PKGNAME= flim-${EMACS_PORT}-${FLIM_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} +RUN_DEPENDS+= ${EMACS_CMD}:${PORTSDIR}/editors/${EMACS_PORT} .endif SCRIPTS_ENV+= EMACS_LIBDIR=${EMACS_LIBDIR} EMACS_VER=${EMACS_VER} \ EMACS_LIBDIR_WITH_VER=${EMACS_LIBDIR_WITH_VER} \ @@ -51,8 +54,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} \ - FLIMDOCDIR=${FLIMDOCDIR} FLIM_SETUPEL=${FLIM_SETUPEL} -MAKE_FLAGS+= EMACS=${EMACS_CMD} + FLIMDOCDIR=${FLIMDOCDIR} FLIM_SETUPEL=${FLIM_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} @@ -60,17 +64,13 @@ RUN_DEPENDS+= ${PREFIX}/${EMACS_LIBDIR_WITH_VER}/site-lisp/custom.el:${PORTSDIR} .endif # depends on apel (case of xemacs-21.x or later) .if defined(EMACS_PACKAGESDIR) -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} +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 (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 mmencode -.if (${EMACS_NAME} != "xemacs") -RUN_DEPENDS+= mmencode:${PORTSDIR}/mail/metamail -.endif .else .BEGIN: @${ECHO} "Error: Bad port." @@ -78,8 +78,10 @@ RUN_DEPENDS+= mmencode:${PORTSDIR}/mail/metamail @${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") @@ -88,15 +90,23 @@ pre-configure: .include <bsd.port.pre.mk> +# makeinfo stuff 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: +# install package-cookie + @${MKDIR} -p ${PREFIX}/share/flim + @${TOUCH} ${PREFIX}/share/flim/${FLIM_COOKIE} .if defined(REQUIRE_SETUPEL) && (${REQUIRE_SETUPEL} == "YES") @${MAKE} setupel-install .endif @@ -111,27 +121,42 @@ post-install: .endif -# install functions +############################################################################### +# +# miscellaneous local functions +# info-build: @(cd ${WRKSRC} ; \ - for i in mime-en.texi mime-ja.texi; do \ + for i in mime-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-en.texi mime-ja.texi; do \ + for i in mime-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-en.texi; do \ ${MAKEINFO_EMACS} $${i} ${MAKEINFO_EMACS_FLAGS} || ${TRUE} ; \ done) +.if defined(HAS_MULE) && (${HAS_MULE} == "YES") + @(cd ${WRKSRC} ; \ + for i in mime-ja.texi; do \ + ${MAKEINFO_EMACS} $${i} ${MAKEINFO_EMACS_FLAGS} || ${TRUE} ; \ + done) +.endif doc-install: @${MKDIR} ${PREFIX}/${FLIMDOCDIR} @(cd ${WRKSRC} ; \ - for i in ChangeLog README.* NEWS VERSION ; do \ + for i in ChangeLog NEWS README.* VERSION ; do \ ${INSTALL_DATA} $${i} ${PREFIX}/${FLIMDOCDIR}/ ; \ done) @@ -139,23 +164,31 @@ setupel-install: @${INSTALL_DATA} ${WRKDIR}/${FLIM_SETUPEL} \ ${PREFIX}/${EMACS_LIBDIR_WITH_VER}/site-lisp + info-install: @(cd ${WRKSRC} ; \ - for i in mime-en.info mime-ja.info; do \ + for i in mime-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-ja.info; do \ + ${INSTALL_DATA} ${WRKSRC}/$${i} ${PREFIX}/info ; \ + install-info ${PREFIX}/info/$${i} ${PREFIX}/info/dir ; \ + done) +.endif info-package-install: @(cd ${WRKSRC} ; \ for i in mime-en.info mime-ja.info; do \ ${INSTALL_DATA} ${WRKSRC}/$${i} \ - ${PREFIX}/${EMACS_PACKAGESDIR}/info ; \ + ${PREFIX}/${EMACS_PACKAGESDIR}/info ; \ done ; \ ${MKDIR} -p ${PREFIX}/${EMACS_PACKAGESDIR}/man/flim ; \ for i in mime-en.texi mime-ja.texi; do \ ${INSTALL_DATA} ${WRKSRC}/$${i} \ - ${PREFIX}/${EMACS_PACKAGESDIR}/man/flim ; \ + ${PREFIX}/${EMACS_PACKAGESDIR}/man/flim ; \ done) manifest-install: @@ -165,5 +198,4 @@ manifest-install: @${INSTALL_DATA} ${WRKDIR}/${MANIFEST} \ ${PREFIX}/${EMACS_PACKAGESDIR}/pkginfo/ - .include <bsd.port.post.mk> diff --git a/editors/flim114-emacs20/distinfo b/editors/flim114-emacs20/distinfo index 160519c..c5c1ac3 100644 --- a/editors/flim114-emacs20/distinfo +++ b/editors/flim114-emacs20/distinfo @@ -1 +1 @@ -MD5 (flim-1.12.5.tar.gz) = 4424ecbbdca8ec46cbc05eaefd32fcf8 +MD5 (flim-1.13.2.tar.gz) = 3a7341529167bd1de0b510150c48d41e diff --git a/editors/flim114-emacs20/pkg-plist b/editors/flim114-emacs20/pkg-plist index bb84e79..92def16 100644 --- a/editors/flim114-emacs20/pkg-plist +++ b/editors/flim114-emacs20/pkg-plist @@ -2,6 +2,8 @@ %%EMACS_LIBDIR%%/site-lisp/flim/eword-decode.elc %%EMACS_LIBDIR%%/site-lisp/flim/eword-encode.el %%EMACS_LIBDIR%%/site-lisp/flim/eword-encode.elc +%%EMACS_LIBDIR%%/site-lisp/flim/luna.el +%%EMACS_LIBDIR%%/site-lisp/flim/luna.elc %%EMACS_LIBDIR%%/site-lisp/flim/mailcap.el %%EMACS_LIBDIR%%/site-lisp/flim/mailcap.elc %%EMACS_LIBDIR%%/site-lisp/flim/mel-b-el.el @@ -24,8 +26,8 @@ %%EMACS_LIBDIR%%/site-lisp/flim/mmbuffer.elc %%EMACS_LIBDIR%%/site-lisp/flim/mmcooked.el %%EMACS_LIBDIR%%/site-lisp/flim/mmcooked.elc -%%EMACS_LIBDIR%%/site-lisp/flim/mmgeneric.el -%%EMACS_LIBDIR%%/site-lisp/flim/mmgeneric.elc +%%EMACS_LIBDIR%%/site-lisp/flim/mmdbuffer.el +%%EMACS_LIBDIR%%/site-lisp/flim/mmdbuffer.elc %%EMACS_LIBDIR%%/site-lisp/flim/std11.el %%EMACS_LIBDIR%%/site-lisp/flim/std11.elc %%EMACS_LIBDIR%%/site-lisp/flim/smtp.el @@ -41,8 +43,5 @@ %%FLIMDOCDIR%%/VERSION @dirrm %%FLIMDOCDIR%% @unexec install-info --delete %D/info/mime-en.info %D/info/dir -@unexec install-info --delete %D/info/mime-ja.info %D/info/dir info/mime-en.info -info/mime-ja.info @exec install-info %D/info/mime-en.info %D/info/dir -@exec install-info %D/info/mime-ja.info %D/info/dir |