aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authornobutaka <nobutaka@FreeBSD.org>2016-11-13 21:21:08 +0800
committernobutaka <nobutaka@FreeBSD.org>2016-11-13 21:21:08 +0800
commit424247acd40ddf4969218b21c1a0a959bbeeba22 (patch)
tree05cb1d7e3a1f53944fc2d8cfec389547727efb8b /editors
parentad1144c8ee04badcb33776f661f5c7edc988ea37 (diff)
downloadfreebsd-ports-graphics-424247acd40ddf4969218b21c1a0a959bbeeba22.tar.gz
freebsd-ports-graphics-424247acd40ddf4969218b21c1a0a959bbeeba22.tar.zst
freebsd-ports-graphics-424247acd40ddf4969218b21c1a0a959bbeeba22.zip
- Simplify PLIST, BUILD_DEPENDS and RUN_DEPENDS selection.
- Regenerate patches by 'make makepatch'. - Pet portlint. PR: 213182 Submitted by: Yasuhiro KIMURA <yasu@utahime.org>
Diffstat (limited to 'editors')
-rw-r--r--editors/flim/Makefile33
-rw-r--r--editors/flim/files/patch-FLIM-CFG4
-rw-r--r--editors/flim/files/patch-eword-encode.el23
-rw-r--r--editors/flim/files/patch-hex-util.el4
-rw-r--r--editors/flim/files/patch-hmac-def.el6
-rw-r--r--editors/flim/files/patch-md4.el8
-rw-r--r--editors/flim/files/patch-md5-el.el8
-rw-r--r--editors/flim/files/patch-mime-en.texi4
-rw-r--r--editors/flim/files/patch-mime-ja.texi4
-rw-r--r--editors/flim/files/patch-sha1-el.el6
-rw-r--r--editors/flim/pkg-plist.xemacs21-mule88
11 files changed, 39 insertions, 149 deletions
diff --git a/editors/flim/Makefile b/editors/flim/Makefile
index f9c4233b745..c0f751b05de 100644
--- a/editors/flim/Makefile
+++ b/editors/flim/Makefile
@@ -9,8 +9,8 @@ CATEGORIES= editors elisp
MASTER_SITES= http://git.chise.org/elisp/dist/flim/flim-1.14/
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
-MAINTAINER?= nobutaka@FreeBSD.org
-COMMENT?= Message representation or encoding elisp library for emacs
+MAINTAINER= nobutaka@FreeBSD.org
+COMMENT= Message representation or encoding elisp library for emacs
LICENSE= GPLv2
@@ -49,31 +49,10 @@ MAKE_ARGS+= PREFIX="${STAGEDIR}${LOCALBASE}" \
.include <bsd.port.pre.mk>
-.if defined(EMACS_PORT_NAME)
-.if (${EMACS_PORT_NAME} == "emacs25") || (${EMACS_PORT_NAME} == "emacs-nox11") || (${EMACS_PORT_NAME} == "emacs-devel")
-DEPPORT_SUFFIX=
-.else
-DEPPORT_SUFFIX= -${EMACS_PORT_NAME}
-.endif
-.if (${EMACS_PORT_NAME} == "emacs25") || (${EMACS_PORT_NAME} == "emacs-nox11") || (${EMACS_PORT_NAME} == "emacs-devel")
PLIST= ${PKGDIR}/pkg-plist.emacs21
-.endif
-# depends on apel (case of xemacs-21.x or later)
-.if defined(EMACS_PACKAGESDIR)
-BUILD_DEPENDS+= ${LOCALBASE}/${EMACS_LIBDIR}/xemacs-packages/lisp/apel/emu.el:editors/xemacs-packages
-RUN_DEPENDS+= ${LOCALBASE}/${EMACS_LIBDIR}/xemacs-packages/lisp/apel/emu.el:editors/xemacs-packages
-MAKE_ARGS+= PACKAGEDIR="${STAGEDIR}${LOCALBASE}/${EMACS_PACKAGESDIR}"
-.else
-# depends on apel (case of gnu emacsen etc...)
-BUILD_DEPENDS+= ${LOCALBASE}/${EMACS_VERSION_SITE_LISPDIR}/emu/emu.el:editors/apel${DEPPORT_SUFFIX}
-RUN_DEPENDS+= ${LOCALBASE}/${EMACS_VERSION_SITE_LISPDIR}/emu/emu.el:editors/apel${DEPPORT_SUFFIX}
-.endif
-.else
-.BEGIN:
- @${ECHO} "Error: Bad port."
- @${ECHO} "You must define EMACS_PORT_NAME."
- @${FALSE}
-.endif
+# depends on apel
+BUILD_DEPENDS+= apel-${EMACS_PORT_NAME}>0:editors/apel
+RUN_DEPENDS+= apel-${EMACS_PORT_NAME}>0:editors/apel
.if !defined(BUILD_INFO_BY_EMACS) || (${BUILD_INFO_BY_EMACS} == "NO")
# info files JIS to EUC
@@ -205,7 +184,7 @@ manifest-install:
@${RM} ${WRKDIR}/${MANIFEST}
@${CAT} ${PLIST} | ${GREP} -e "^%%EMACS_PACKAGESDIR%%" | \
${SED} -e "s;^%%EMACS_PACKAGESDIR%%/;;" > ${WRKDIR}/${MANIFEST}
- @${INSTALL_DATA} ${WRKDIR}/${MANIFEST} \
+ ${INSTALL_DATA} ${WRKDIR}/${MANIFEST} \
${STAGEDIR}${LOCALBASE}/${EMACS_PACKAGESDIR}/pkginfo/
pkgcookie-install:
diff --git a/editors/flim/files/patch-FLIM-CFG b/editors/flim/files/patch-FLIM-CFG
index 450d2b6f8af..308c9ef35e4 100644
--- a/editors/flim/files/patch-FLIM-CFG
+++ b/editors/flim/files/patch-FLIM-CFG
@@ -1,5 +1,5 @@
---- FLIM-CFG.orig Tue Sep 15 15:26:08 1998
-+++ FLIM-CFG Sun May 9 01:33:26 1999
+--- FLIM-CFG.orig 2006-12-20 17:40:42 UTC
++++ FLIM-CFG
@@ -8,6 +8,8 @@
(add-to-list 'load-path
diff --git a/editors/flim/files/patch-eword-encode.el b/editors/flim/files/patch-eword-encode.el
index 9ba9f320122..08db886877b 100644
--- a/editors/flim/files/patch-eword-encode.el
+++ b/editors/flim/files/patch-eword-encode.el
@@ -1,8 +1,8 @@
Index: eword-encode.el
===================================================================
---- eword-encode.el (revision 2)
-+++ eword-encode.el (working copy)
-@@ -162,15 +162,15 @@
+--- eword-encode.el.orig 2007-09-06 07:48:50 UTC
++++ eword-encode.el
+@@ -162,15 +162,15 @@ MODE is allows `text', `comment', `phras
;;;
(defmacro make-ew-rword (text charset encoding type)
@@ -23,7 +23,7 @@ Index: eword-encode.el
(defun ew-find-charset-rule (charsets)
(if charsets
-@@ -184,31 +184,31 @@
+@@ -184,30 +184,30 @@ MODE is allows `text', `comment', `phras
;; which is not depended on the Mule model. We should redesign
;; `eword-encode-split-string' to avoid to depend on the Mule model.
(if (featurep 'utf-2000)
@@ -58,12 +58,7 @@ Index: eword-encode.el
- mode)
- ))
- wl)))
-+ (let ((ret (ew-find-charset-rule (car word))))
-+ (make-ew-rword (cdr word) (car ret)(nth 1 ret) mode)
-+ )))
-+ wl))
-+ )
-
+-
-;; for legacy Mule
-(defun tm-eword::words-to-ruled-words (wl &optional mode)
- (mapcar (function
@@ -73,7 +68,11 @@ Index: eword-encode.el
- )))
- wl))
-)
--
++ (let ((ret (ew-find-charset-rule (car word))))
++ (make-ew-rword (cdr word) (car ret)(nth 1 ret) mode)
++ )))
++ wl))
++ )
+
(defun ew-space-process (seq)
(let (prev a ac b c cc)
- (while seq
diff --git a/editors/flim/files/patch-hex-util.el b/editors/flim/files/patch-hex-util.el
index 0c745647b1b..2912be8008a 100644
--- a/editors/flim/files/patch-hex-util.el
+++ b/editors/flim/files/patch-hex-util.el
@@ -1,7 +1,7 @@
Index: hex-util.el
===================================================================
---- hex-util.el (revision 2)
-+++ hex-util.el (working copy)
+--- hex-util.el.orig 2007-09-05 23:39:48 UTC
++++ hex-util.el
@@ -28,14 +28,14 @@
(eval-when-compile
diff --git a/editors/flim/files/patch-hmac-def.el b/editors/flim/files/patch-hmac-def.el
index a035664cc12..837ab287bdc 100644
--- a/editors/flim/files/patch-hmac-def.el
+++ b/editors/flim/files/patch-hmac-def.el
@@ -1,6 +1,6 @@
---- hmac-def.el.orig 2007-09-06 08:39:48.000000000 +0900
-+++ hmac-def.el 2012-08-23 00:42:35.000000000 +0900
-@@ -39,46 +39,46 @@
+--- hmac-def.el.orig 2007-09-05 23:39:48 UTC
++++ hmac-def.el
+@@ -39,46 +39,46 @@ a string and return a digest of it (in b
B is a byte-length of a block size of H. (B=64 for both SHA1 and MD5.)
L is a byte-length of hash outputs. (L=16 for MD5, L=20 for SHA1.)
If BIT is non-nil, truncate output to specified bits."
diff --git a/editors/flim/files/patch-md4.el b/editors/flim/files/patch-md4.el
index 6e0c3b4bb29..ce834f2aef4 100644
--- a/editors/flim/files/patch-md4.el
+++ b/editors/flim/files/patch-md4.el
@@ -1,8 +1,8 @@
Index: md4.el
===================================================================
---- md4.el (revision 2)
-+++ md4.el (working copy)
-@@ -78,21 +78,20 @@
+--- md4.el.orig 2007-09-05 23:39:48 UTC
++++ md4.el
+@@ -78,21 +78,20 @@ bytes long. N is required to handle str
(setq m (md4-copy64 (substring buf 64)))
(md4-64 m)))
@@ -31,7 +31,7 @@ Index: md4.el
(h2 (logand 65535 (+ h1 (lsh l1 -16))))
(l2 (logand 65535 l1))
;; cyclic shift of 32 bits integer
-@@ -102,7 +101,7 @@
+@@ -102,7 +101,7 @@ bytes long. N is required to handle str
(l3 (logand 65535 (if (> s 15)
(+ (lsh l2 (- s 32)) (lsh h2 (- s 16)))
(+ (lsh l2 s) (lsh h2 (- s 16)))))))
diff --git a/editors/flim/files/patch-md5-el.el b/editors/flim/files/patch-md5-el.el
index 13c11b22989..4c3f552a74c 100644
--- a/editors/flim/files/patch-md5-el.el
+++ b/editors/flim/files/patch-md5-el.el
@@ -1,6 +1,6 @@
---- md5-el.el.orig 2000-11-06 22:03:19.000000000 +0900
-+++ md5-el.el 2012-08-23 00:42:35.000000000 +0900
-@@ -169,11 +169,10 @@
+--- md5-el.el.orig 2000-11-06 13:03:19 UTC
++++ md5-el.el
+@@ -169,11 +169,10 @@ Returns a vector of 16 bytes containing
(defsubst md5-I (x y z) (logxor y (logior x (logand 65535 (lognot z)))))
(defmacro md5-make-step (name func)
@@ -15,7 +15,7 @@
(m2 (logand 65535 (+ m1 (lsh l1 -16))))
(l2 (logand 65535 l1))
(m3 (logand 65535 (if (> s 15)
-@@ -182,7 +181,7 @@
+@@ -182,7 +181,7 @@ Returns a vector of 16 bytes containing
(l3 (logand 65535 (if (> s 15)
(+ (lsh l2 (- s 32)) (lsh m2 (- s 16)))
(+ (lsh l2 s) (lsh m2 (- s 16)))))))
diff --git a/editors/flim/files/patch-mime-en.texi b/editors/flim/files/patch-mime-en.texi
index 5c237662fd2..69721b14b29 100644
--- a/editors/flim/files/patch-mime-en.texi
+++ b/editors/flim/files/patch-mime-en.texi
@@ -1,5 +1,5 @@
---- ./mime-en.texi.orig 2002-10-08 15:50:05.000000000 +0000
-+++ ./mime-en.texi 2014-06-28 06:58:47.000000000 +0000
+--- mime-en.texi.orig 2002-10-08 15:50:05 UTC
++++ mime-en.texi
@@ -1,7 +1,11 @@
\input texinfo.tex
@c Generated automatically from mime-en.sgml by sinfo 3.7.
diff --git a/editors/flim/files/patch-mime-ja.texi b/editors/flim/files/patch-mime-ja.texi
index 25bba1ca109..2acd1d947d5 100644
--- a/editors/flim/files/patch-mime-ja.texi
+++ b/editors/flim/files/patch-mime-ja.texi
@@ -1,5 +1,5 @@
---- ./mime-ja.texi.orig 2002-10-08 15:50:05.000000000 +0000
-+++ ./mime-ja.texi 2014-06-28 06:59:01.000000000 +0000
+--- mime-ja.texi.orig 2002-10-08 15:50:05 UTC
++++ mime-ja.texi
@@ -1,7 +1,11 @@
\input texinfo.tex
@c Generated automatically from mime-ja.sgml by sinfo 3.7.
diff --git a/editors/flim/files/patch-sha1-el.el b/editors/flim/files/patch-sha1-el.el
index 177a2bdf153..6346a936b54 100644
--- a/editors/flim/files/patch-sha1-el.el
+++ b/editors/flim/files/patch-sha1-el.el
@@ -1,8 +1,8 @@
Index: sha1-el.el
===================================================================
---- sha1-el.el (revision 2)
-+++ sha1-el.el (working copy)
-@@ -125,91 +125,91 @@
+--- sha1-el.el.orig 2007-09-05 23:39:48 UTC
++++ sha1-el.el
+@@ -125,91 +125,91 @@ If this variable is set to nil, use inte
;;; original definition of sha1-F0.
;;; (defmacro sha1-F0 (B C D)
diff --git a/editors/flim/pkg-plist.xemacs21-mule b/editors/flim/pkg-plist.xemacs21-mule
deleted file mode 100644
index a916d5281db..00000000000
--- a/editors/flim/pkg-plist.xemacs21-mule
+++ /dev/null
@@ -1,88 +0,0 @@
-%%EMACS_PACKAGESDIR%%/pkginfo/MANIFEST.flim
-%%PORTDOCS%%%%EMACS_PACKAGESDIR%%/lisp/flim/ChangeLog
-%%PORTDOCS%%%%EMACS_PACKAGESDIR%%/lisp/flim/NEWS
-%%PORTDOCS%%%%EMACS_PACKAGESDIR%%/lisp/flim/README.en
-%%PORTDOCS%%%%EMACS_PACKAGESDIR%%/lisp/flim/README.ja
-%%PORTDOCS%%%%EMACS_PACKAGESDIR%%/lisp/flim/VERSION
-%%EMACS_PACKAGESDIR%%/lisp/flim/_pkg.el
-%%EMACS_PACKAGESDIR%%/lisp/flim/auto-autoloads.el
-%%EMACS_PACKAGESDIR%%/lisp/flim/auto-autoloads.elc
-%%EMACS_PACKAGESDIR%%/lisp/flim/custom-load.el
-%%EMACS_PACKAGESDIR%%/lisp/flim/custom-load.elc
-%%EMACS_PACKAGESDIR%%/lisp/flim/eword-decode.el
-%%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/hex-util.el
-%%EMACS_PACKAGESDIR%%/lisp/flim/hex-util.elc
-%%EMACS_PACKAGESDIR%%/lisp/flim/hmac-def.el
-%%EMACS_PACKAGESDIR%%/lisp/flim/hmac-def.elc
-%%EMACS_PACKAGESDIR%%/lisp/flim/hmac-md5.el
-%%EMACS_PACKAGESDIR%%/lisp/flim/hmac-md5.elc
-%%EMACS_PACKAGESDIR%%/lisp/flim/hmac-sha1.el
-%%EMACS_PACKAGESDIR%%/lisp/flim/hmac-sha1.elc
-%%EMACS_PACKAGESDIR%%/lisp/flim/luna.el
-%%EMACS_PACKAGESDIR%%/lisp/flim/luna.elc
-%%EMACS_PACKAGESDIR%%/lisp/flim/lunit.el
-%%EMACS_PACKAGESDIR%%/lisp/flim/lunit.elc
-%%EMACS_PACKAGESDIR%%/lisp/flim/md4.el
-%%EMACS_PACKAGESDIR%%/lisp/flim/md4.elc
-%%EMACS_PACKAGESDIR%%/lisp/flim/md5.el
-%%EMACS_PACKAGESDIR%%/lisp/flim/md5.elc
-%%EMACS_PACKAGESDIR%%/lisp/flim/mel-b-ccl.el
-%%EMACS_PACKAGESDIR%%/lisp/flim/mel-b-ccl.elc
-%%EMACS_PACKAGESDIR%%/lisp/flim/mel-b-el.el
-%%EMACS_PACKAGESDIR%%/lisp/flim/mel-b-el.elc
-%%EMACS_PACKAGESDIR%%/lisp/flim/mel-g.el
-%%EMACS_PACKAGESDIR%%/lisp/flim/mel-g.elc
-%%EMACS_PACKAGESDIR%%/lisp/flim/mel-q.el
-%%EMACS_PACKAGESDIR%%/lisp/flim/mel-q.elc
-%%EMACS_PACKAGESDIR%%/lisp/flim/mel-q-ccl.el
-%%EMACS_PACKAGESDIR%%/lisp/flim/mel-q-ccl.elc
-%%EMACS_PACKAGESDIR%%/lisp/flim/mel-u.el
-%%EMACS_PACKAGESDIR%%/lisp/flim/mel-u.elc
-%%EMACS_PACKAGESDIR%%/lisp/flim/mel.el
-%%EMACS_PACKAGESDIR%%/lisp/flim/mel.elc
-%%EMACS_PACKAGESDIR%%/lisp/flim/mime-def.el
-%%EMACS_PACKAGESDIR%%/lisp/flim/mime-def.elc
-%%EMACS_PACKAGESDIR%%/lisp/flim/mime-parse.el
-%%EMACS_PACKAGESDIR%%/lisp/flim/mime-parse.elc
-%%EMACS_PACKAGESDIR%%/lisp/flim/mime.el
-%%EMACS_PACKAGESDIR%%/lisp/flim/mime.elc
-%%EMACS_PACKAGESDIR%%/lisp/flim/mime-conf.el
-%%EMACS_PACKAGESDIR%%/lisp/flim/mime-conf.elc
-%%EMACS_PACKAGESDIR%%/lisp/flim/mmbuffer.el
-%%EMACS_PACKAGESDIR%%/lisp/flim/mmbuffer.elc
-%%EMACS_PACKAGESDIR%%/lisp/flim/mmcooked.el
-%%EMACS_PACKAGESDIR%%/lisp/flim/mmcooked.elc
-%%EMACS_PACKAGESDIR%%/lisp/flim/mmexternal.el
-%%EMACS_PACKAGESDIR%%/lisp/flim/mmexternal.elc
-%%EMACS_PACKAGESDIR%%/lisp/flim/mmgeneric.el
-%%EMACS_PACKAGESDIR%%/lisp/flim/mmgeneric.elc
-%%EMACS_PACKAGESDIR%%/lisp/flim/ntlm.el
-%%EMACS_PACKAGESDIR%%/lisp/flim/ntlm.elc
-%%EMACS_PACKAGESDIR%%/lisp/flim/qmtp.el
-%%EMACS_PACKAGESDIR%%/lisp/flim/qmtp.elc
-%%EMACS_PACKAGESDIR%%/lisp/flim/sasl-cram.el
-%%EMACS_PACKAGESDIR%%/lisp/flim/sasl-cram.elc
-%%EMACS_PACKAGESDIR%%/lisp/flim/sasl-digest.el
-%%EMACS_PACKAGESDIR%%/lisp/flim/sasl-digest.elc
-%%EMACS_PACKAGESDIR%%/lisp/flim/sasl-ntlm.el
-%%EMACS_PACKAGESDIR%%/lisp/flim/sasl-ntlm.elc
-%%EMACS_PACKAGESDIR%%/lisp/flim/sasl-scram.el
-%%EMACS_PACKAGESDIR%%/lisp/flim/sasl-scram.elc
-%%EMACS_PACKAGESDIR%%/lisp/flim/sasl.el
-%%EMACS_PACKAGESDIR%%/lisp/flim/sasl.elc
-%%EMACS_PACKAGESDIR%%/lisp/flim/std11.el
-%%EMACS_PACKAGESDIR%%/lisp/flim/std11.elc
-%%EMACS_PACKAGESDIR%%/lisp/flim/sha1-el.el
-%%EMACS_PACKAGESDIR%%/lisp/flim/sha1-el.elc
-%%EMACS_PACKAGESDIR%%/lisp/flim/sha1.el
-%%EMACS_PACKAGESDIR%%/lisp/flim/sha1.elc
-%%EMACS_PACKAGESDIR%%/lisp/flim/smtp.el
-%%EMACS_PACKAGESDIR%%/lisp/flim/smtp.elc
-%%EMACS_PACKAGESDIR%%/info/mime-en.info
-%%EMACS_PACKAGESDIR%%/info/mime-ja.info
-%%EMACS_PACKAGESDIR%%/man/flim/mime-en.texi
-%%EMACS_PACKAGESDIR%%/man/flim/mime-ja.texi
-share/flim/%%FLIM_COOKIE%%