pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

(wip/semi) import semi-1.14.6nb9



Module Name:	pkgsrc-wip
Committed By:	Makoto mef20 Fujiwara <makoto%if.t.u-tokyo.ac.jp@localhost>
Pushed By:	mef
Date:		Wed Apr 2 18:31:09 2025 +0900
Changeset:	788f551d6bbda6e0ae6550306cf902693d9ee24c

Added Files:
	semi/DESCR
	semi/Makefile
	semi/PLIST
	semi/distinfo
	semi/options.mk

Log Message:
(wip/semi) import semi-1.14.6nb9

  (github version of SEMI)
  SEMI is a library to provide MIME feature for GNU Emacs.  MIME is a
  proposed internet standard for including content and headers other
  than (ASCII) plain text in messages.
	RFC 2045 : Internet Message Bodies
	RFC 2046 : Media Types
	RFC 2047 : Message Header Extensions
	RFC 2048 : MIME Registration Procedures
	RFC 2049 : MIME Conformance
  SEMI has the following features:
	- MIME message viewer   (mime-view-mode) (RFC 2045 .. 2049)
	- MIME message composer (mime-edit-mode) (RFC 2045 .. 2049)
  MIME message viewer and composer also support following features:
	- filename handling by Content-Disposition field (RFC 1806)
	- PGP/MIME security Multiparts (RFC 2015)
	- application/pgp (draft-kazu-pgp-mime-00.txt; obsolete)
	- text/richtext (RFC 1521; obsolete; preview only)
	- text/enriched (RFC 1896)
	- External method configuration by mailcap (RFC 1524)

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=788f551d6bbda6e0ae6550306cf902693d9ee24c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 semi/DESCR      | 19 ++++++++++++++
 semi/Makefile   | 77 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 semi/PLIST      | 15 +++++++++++
 semi/distinfo   |  5 ++++
 semi/options.mk | 26 +++++++++++++++++++
 5 files changed, 142 insertions(+)

diffs:
diff --git a/semi/DESCR b/semi/DESCR
new file mode 100644
index 0000000000..df8e7810c0
--- /dev/null
+++ b/semi/DESCR
@@ -0,0 +1,19 @@
+  (github version of SEMI)
+  SEMI is a library to provide MIME feature for GNU Emacs.  MIME is a
+  proposed internet standard for including content and headers other
+  than (ASCII) plain text in messages.
+	RFC 2045 : Internet Message Bodies
+	RFC 2046 : Media Types
+	RFC 2047 : Message Header Extensions
+	RFC 2048 : MIME Registration Procedures
+	RFC 2049 : MIME Conformance
+  SEMI has the following features:
+	- MIME message viewer   (mime-view-mode) (RFC 2045 .. 2049)
+	- MIME message composer (mime-edit-mode) (RFC 2045 .. 2049)
+  MIME message viewer and composer also support following features:
+	- filename handling by Content-Disposition field (RFC 1806)
+	- PGP/MIME security Multiparts (RFC 2015)
+	- application/pgp (draft-kazu-pgp-mime-00.txt; obsolete)
+	- text/richtext (RFC 1521; obsolete; preview only)
+	- text/enriched (RFC 1896)
+	- External method configuration by mailcap (RFC 1524)
diff --git a/semi/Makefile b/semi/Makefile
new file mode 100644
index 0000000000..54b9cb1b5a
--- /dev/null
+++ b/semi/Makefile
@@ -0,0 +1,77 @@
+# $NetBSD: Makefile,v 1.40 2023/12/24 14:24:52 zafer Exp $
+DISTNAME=	semi-1.14.6
+PKGNAME=	${EMACS_PKGNAME_PREFIX}${DISTNAME}
+PKGREVISION=	9
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=wanderlust/}
+GITHUB_TAG=	85a52b899ac89be504d9e38d8d406bba98f4b0b3
+
+
+# This fix will be unnecessary for the next release.
+#PATCH_SITES=		${MASTER_SITE_LOCAL} #PATCHFILES=		semi-1.14.6-pgg-gpg.patch
+#PATCH_DIST_STRIP=	-p0
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	http://git.chise.org/elisp/semi/
+COMMENT=	Emacs lisp library to provide MIME feature
+LICENSE=	gnu-gpl-v2 OR gnu-gpl-v3
+
+TOOL_DEPENDS+=	qkc-[0-9]*:../../converters/qkc
+
+INSTALLATION_DIRS+=	${EMACS_LISPPREFIX:C|^${PREFIX}/||}/semi \
+			${EMACS_INFOPREFIX:C|^${PREFIX}/||}
+
+BUILD_TARGET=	${BUILD_TARGET.${EMACS_FLAVOR}}
+INSTALL_TARGET=	${INSTALL_TARGET.${EMACS_FLAVOR}}
+MAKEFLAGS=	${MAKEFLAGS.${EMACS_FLAVOR}}
+
+USE_TOOLS+=	makeinfo
+INFO_FILES=	yes
+
+EMACS_MODULES=		base
+EMACS_BUILDLINK=	# defined
+
+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$||}
+
+pre-build:
+	${MKDIR}  ${WRKDIR}/.home/.emacs.d/elpa
+# /tmp/wip/semi/work/.home/.emacs.d/elpa
+post-build:
+	@cd ${WRKSRC}; for i in mime-ui-en mime-ui-ja; do		\
+		${RM} -f $${i}.info*;					\
+		${CP} $${i}.texi $${i}.texi.orig;			\
+		${LOCALBASE}/bin/qkc -Oeu $${i}.texi.orig >$${i}.texi;	\
+		makeinfo --force --no-validate $${i}.texi;		\
+	done
+
+do-install: plist
+	cd ${WRKSRC};							\
+	grep -v '^@' ${PLIST} | grep '/site-lisp/semi/' |		\
+	while read file; do						\
+		file=$$( basename $$file );				\
+		${INSTALL_DATA} $$file					\
+		    ${DESTDIR}${EMACS_LISPPREFIX}/semi/$$file;		\
+	done
+
+post-install:
+	cd ${WRKSRC}; for f in mime-ui-*.info mime-*.info-[0-9]*; do	\
+		${TEST} ! -f "$$f" ||					\
+		${INSTALL_DATA} "$$f" ${DESTDIR}${EMACS_INFOPREFIX};	\
+	done
+	cd ${WRKSRC}; for f in mime-setup.el* mail-mime-setup.el* semi-setup.el* semi-def.el* semi-setup.el* mime-view* mime-image* ;  do	\
+		${TEST} ! -f "$$f" ||					\
+		${INSTALL_DATA} "$$f" ${DESTDIR}${EMACS_LISPPREFIX};	\
+	done
+
+.include "options.mk"
+
+.include "../../editors/emacs/modules.mk"
+
+.include "../../devel/apel/buildlink3.mk"
+.include "../../devel/flim/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/semi/PLIST b/semi/PLIST
new file mode 100644
index 0000000000..0ead67f0a7
--- /dev/null
+++ b/semi/PLIST
@@ -0,0 +1,15 @@
+@comment $NetBSD$
+${EMACS_LISPPREFIX}/mail-mime-setup.el
+${EMACS_LISPPREFIX}/mail-mime-setup.elc
+${EMACS_LISPPREFIX}/mime-image.el
+${EMACS_LISPPREFIX}/mime-image.elc
+${EMACS_LISPPREFIX}/mime-setup.el
+${EMACS_LISPPREFIX}/mime-setup.elc
+${EMACS_LISPPREFIX}/mime-view.el
+${EMACS_LISPPREFIX}/mime-view.elc
+${EMACS_LISPPREFIX}/semi-def.el
+${EMACS_LISPPREFIX}/semi-def.elc
+${EMACS_LISPPREFIX}/semi-setup.el
+${EMACS_LISPPREFIX}/semi-setup.elc
+info/mime-ui-en.info
+info/mime-ui-ja.info
diff --git a/semi/distinfo b/semi/distinfo
new file mode 100644
index 0000000000..8658079b36
--- /dev/null
+++ b/semi/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (semi-1.14.6-85a52b899ac89be504d9e38d8d406bba98f4b0b3.tar.gz) = c25fe67a40b889f44aae270bd0fa16aae9daca85569de4fe67ea8023b10e1104
+SHA512 (semi-1.14.6-85a52b899ac89be504d9e38d8d406bba98f4b0b3.tar.gz) = 6263d9b29585fa19f19e00b9119b9a264461a1a30d5fee0897b994b252702ad2acaebdf78b083cf74d8720e679a37038d32c2c6f0901639b438741fd8b44333d
+Size (semi-1.14.6-85a52b899ac89be504d9e38d8d406bba98f4b0b3.tar.gz) = 150875 bytes
diff --git a/semi/options.mk b/semi/options.mk
new file mode 100644
index 0000000000..e3eedde990
--- /dev/null
+++ b/semi/options.mk
@@ -0,0 +1,26 @@
+# $NetBSD: options.mk,v 1.7 2022/06/05 02:39:18 mef Exp $
+
+PKG_OPTIONS_VAR=		PKG_OPTIONS.semi
+PKG_SUPPORTED_OPTIONS=		semi-bbdb
+PKG_OPTIONS_OPTIONAL_GROUPS=	semi-browser
+PKG_OPTIONS_GROUP.semi-browser=	w3 w3m
+PKG_SUGGESTED_OPTIONS=
+
+.include "../../mk/bsd.options.mk"
+
+PLIST_VARS+=	bbdb w3
+
+.if !empty(PKG_OPTIONS:Msemi-bbdb)
+.include "../../misc/bbdb2/buildlink3.mk"
+PLIST.bbdb=	yes
+.endif
+
+.if !empty(PKG_OPTIONS:Mw3)
+.include "../../www/w3/buildlink3.mk"
+PLIST.w3=	yes
+.endif
+
+# XXX inter-dependency!?!?!?
+#.if !empty(PKG_OPTIONS:Mw3m)
+#.include "../../www/emacs-w3m/buildlink3.mk"
+#.endif


Home | Main Index | Thread Index | Old Index