2008-10-13 10:07:02 +02:00
|
|
|
# $NetBSD: Makefile,v 1.29 2008/10/13 08:07:02 uebayasi Exp $
|
2001-02-20 10:09:06 +01:00
|
|
|
|
Update flim to 1.14.7.
Changes:
* mime-en.sgml, mime-ja.sgml (CVS based development): Remove the
description about developers' pserver access.
* sha1-dl.el: Don't provide the sha1-dl feature twice.
(sha1-region): Allow the optional argument `binary'.
(sha1): Ditto.
* smtp.el (smtp-parse-progress-message-format): Fix regexp usage.
* smtp.el (smtp-progress-message-format): New user option.
(smtp-primitive-data): Show progress message.
(smtp-parse-progress-message-format): New function.
(smtp-show-progress-message): New function.
(smtp-deduce-address-list): Use insert instead of insert-string.
* mel-g.el (gzip64-external-encoder): Change default value to
cause more recognizable error.
(gzip64-external-decoder): Ditto.
* std11.el (std11-parse-word-or-comment-or-period): Renamed from
`std11-parse-word-or-comment' and allow period.
(std11-parse-phrase): Allow parsing obs-phrase in rfc2822.
* mime-conf.el (mime-format-mailcap-command): Quote a file name
which may contain spaces using `shell-quote-argument' in order to
pass it to the shell safely.
* eword-encode.el (mime-encode-header-in-buffer): Don't ignore a
space char at the beginning of a field body in order to honor the
76-column rule which is described in RFC 2047 section 2.
* eword-decode.el (eword-decode-encoded-text): Fix bug when
`must-unfold' is specified; eliminate CR too when `must-unfold' is
specified.
* mel-u.el (mime-write-decoded-region): Use make-temp-file.
(uuencode-external-decode-region): Ditto.
* mel-u.el (mime-write-decoded-region): Use temporary filename.
* sha1-el.el (sha1-maximum-internal-length): Doc fix.
* lunit.el (lunit-make-test-suite-from-class): Fix regexp.
Use "^test" instead of "^test-".
* lunit.el (lunit-assert): Avoid double-eval `condtion-expr'.
Use ,(not (not condition)) instead of ,condition.
* lunit.el (lunit-make-test-suite-from-class): Restrict test
method name to test-*.
* smtp.el (smtp-starttls-program): New user option.
(smtp-starttls-extra-args): New user option.
(smtp-send-buffer): Bind starttls-program and starttls-extra-args.
* mel-q.el (quoted-printable-external-decoder-option-to-specify-file):
Accept nil.
(mime-write-decoded-region): If the value of the variable
`quoted-printable-external-decoder-option-to-specify-file' is nil,
write stdout to the output file.
* mel-b-el.el (base64-external-decoder-option-to-specify-file):
Accept nil.
(base64-write-decoded-region): If the value of the variable
`base64-external-decoder-option-to-specify-file' is nil, write
stdout to the output file.
* sasl.texi: Texinfo markup fixes. From Jesper Harder
<harder@ifa.au.dk>.
* sha1-el.el (sha1-string-external): Use with-temp-buffer.
* sha1-el.el (sha1-string-external): Make it can return a string
in binary form.
(sha1-region-external): Ditto.
(sha1-string-internal): Ditto.
(sha1-region-internal): Ditto.
(sha1-region): Ditto.
(sha1-string): Ditto.
(sha1): Ditto.
* sha1-el.el (autoload): Don't use ignore-errors.
(sha1-use-external): Use condition-case. Suggested by Katsumi
Yamaoka <yamaoka@jpl.org>.
* sha1-el.el (autoload): Ignore errors for
executable-find. (XEmacs ecrypto does not require sh-script where
executable.el is located.)
(sha1-use-external): Likewise.
* sha1-el.el (sha1): Add defgroup.
(sha1-maximum-internal-length, sha1-program, sha1-use-external)
(sha1-program): Use 'sha1sum' from GNU CoreUtils instead of OpenSSL.
(sha1): Autoload.
* sha1-el.el (sha1-use-external): New variable.
(sha1-region): Use it.
(sha1-string): Ditto.
* ntlm.el (ntlm-string-as-unibyte): New macro.
(ntlm-build-auth-response): Use it.
* ntlm.el: Fix namespace. Change smb-passwd-hash into
ntlm-smb-passwd-hash, smb-owf-encrypt into ntlm-smb-owf-encrypt,
smb-passwd-hash into ntlm-smb-passwd-hash, smbdes-e-p16 into
ntlm-smb-des-e-p16, smbdes-e-p24 into ntlm-smb-des-e-p24, smbhash
into ntlm-smb-hash, smb-sp8 into ntlm-smb-sp8, smb-str-to-key into
ntlm-smb-str-to-key, smb-dohash into ntlm-smb-dohash, smb-perm1
into ntlm-smb-perm1, smb-perm2 into ntlm-smb-perm2, smb-perm3 into
ntlm-smb-perm3, smb-perm4 into ntlm-smb-perm4, smb-perm5 into
ntlm-smb-perm5, smb-perm6 into ntlm-smb-perm6, smb-sc into
ntlm-smb-sc, smb-sbox into ntlm-smb-sbox, string-permute into
ntlm-string-permute, string-lshift into ntlm-string-lshift,
string-xor into ntlm-string-xor. Suggested by
Jesper Harder <harder@myrealbox.com>.
* ntlm.el: Don't include poem.
* md4.el (print-int32, print-string-hexa): Remove. Suggested by
Jesper Harder <harder@myrealbox.com>.
2005-03-06 16:45:38 +01:00
|
|
|
DISTNAME= flim-1.14.7
|
2005-08-11 16:34:38 +02:00
|
|
|
PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME}
|
2006-03-30 05:31:13 +02:00
|
|
|
PKGREVISION= 2
|
2001-02-20 10:09:06 +01:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= ftp://ftp.m17n.org/pub/mule/flim/flim-1.14/
|
|
|
|
|
2003-07-17 23:21:03 +02:00
|
|
|
MAINTAINER= tech-pkg-ja@jp.NetBSD.org
|
2001-02-20 10:09:06 +01:00
|
|
|
HOMEPAGE= http://www.m17n.org/FLIM/
|
|
|
|
COMMENT= Emacs lisp library for message representation/encoding
|
|
|
|
|
2006-03-30 05:31:13 +02:00
|
|
|
BUILD_DEPENDS+= qkc-[0-9]*:../../converters/qkc
|
2003-08-18 15:14:32 +02:00
|
|
|
|
2008-10-11 11:31:54 +02:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
INSTALLATION_DIRS+= ${EMACS_LISPPREFIX:C|^${PREFIX}/||}/flim \
|
|
|
|
${EMACS_INFOPREFIX:C|^${PREFIX}/||}
|
|
|
|
|
2007-11-12 06:34:10 +01:00
|
|
|
BUILD_TARGET= ${BUILD_TARGET.${EMACS_FLAVOR}}
|
|
|
|
INSTALL_TARGET= ${INSTALL_TARGET.${EMACS_FLAVOR}}
|
|
|
|
MAKEFLAGS= ${MAKEFLAGS.${EMACS_FLAVOR}}
|
2002-09-14 04:44:36 +02:00
|
|
|
|
2006-03-30 05:31:13 +02:00
|
|
|
EVAL_PREFIX+= QKC_PREFIX=qkc
|
2006-03-05 17:27:22 +01:00
|
|
|
USE_TOOLS+= makeinfo
|
2006-03-30 05:31:13 +02:00
|
|
|
INFO_FILES= # PLIST
|
2003-04-23 18:59:51 +02:00
|
|
|
TEXINFO_REQD= 4.5
|
2003-04-13 06:14:23 +02:00
|
|
|
|
2007-10-29 13:55:43 +01:00
|
|
|
BUILD_TARGET.emacs= elc
|
|
|
|
BUILD_TARGET.xemacs= package
|
|
|
|
INSTALL_TARGET.emacs= install
|
|
|
|
INSTALL_TARGET.xemacs= install-package
|
|
|
|
MAKEFLAGS.emacs+=
|
|
|
|
MAKEFLAGS.xemacs+= PACKAGEDIR=${EMACS_LISPPREFIX:C|/lisp$||}
|
|
|
|
|
|
|
|
EMACS_MODULES= base
|
2008-10-13 10:07:02 +02:00
|
|
|
EMACS_BUILDLINK=# defined
|
2007-10-29 13:55:43 +01:00
|
|
|
|
2006-03-30 05:31:13 +02:00
|
|
|
post-build:
|
|
|
|
@cd ${WRKSRC}; for i in mime-en mime-ja; do \
|
|
|
|
${RM} -f $${i}.info*; \
|
|
|
|
${CP} $${i}.texi $${i}.texi.orig; \
|
|
|
|
${QKC_PREFIX}/bin/qkc -Oeu $${i}.texi.orig >$${i}.texi; \
|
|
|
|
makeinfo --force --no-validate $${i}.texi; \
|
2003-04-17 04:15:07 +02:00
|
|
|
done
|
2003-04-13 06:14:23 +02:00
|
|
|
|
2008-10-11 11:31:54 +02:00
|
|
|
do-install: plist
|
|
|
|
cd ${WRKSRC}; \
|
|
|
|
grep -v '^@' ${PLIST} | grep '/site-lisp/flim/' | \
|
|
|
|
while read file; do \
|
|
|
|
file=$$( basename $$file ); \
|
|
|
|
${INSTALL_DATA} $$file \
|
|
|
|
${DESTDIR}${EMACS_LISPPREFIX}/flim/$$file; \
|
|
|
|
done
|
|
|
|
|
2006-03-30 05:31:13 +02:00
|
|
|
post-install:
|
|
|
|
cd ${WRKSRC}; for f in mime-*.info mime-*.info-[0-9]*; do \
|
|
|
|
${TEST} ! -f "$$f" || \
|
2008-10-11 11:31:54 +02:00
|
|
|
${INSTALL_DATA} "$$f" ${DESTDIR}${EMACS_INFOPREFIX}; \
|
2006-03-30 05:31:13 +02:00
|
|
|
done
|
2003-04-13 06:14:23 +02:00
|
|
|
|
2008-10-11 11:31:54 +02:00
|
|
|
.include "../../editors/emacs/modules.mk"
|
2007-10-29 13:55:43 +01:00
|
|
|
|
|
|
|
.include "../../devel/apel/buildlink3.mk"
|
2001-02-20 10:09:06 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|