aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--editors/bitmap-mule/Makefile60
-rw-r--r--editors/bitmap-mule/distinfo1
-rw-r--r--editors/bitmap-mule/files/bitmap-setupel.el.in8
-rw-r--r--editors/bitmap-mule/files/patch-ab23
-rw-r--r--editors/bitmap-mule/pkg-comment1
-rw-r--r--editors/bitmap-mule/pkg-descr18
-rw-r--r--editors/bitmap-mule/pkg-plist11
-rw-r--r--editors/bitmap-mule/scripts/configure13
-rw-r--r--editors/bitmap/files/bitmap-setupel.el.in8
-rw-r--r--editors/bitmap/files/patch-ab23
-rw-r--r--editors/bitmap/pkg-comment.mule1
-rw-r--r--editors/bitmap/pkg-descr.mule18
-rw-r--r--editors/bitmap/pkg-plist.mule11
13 files changed, 196 insertions, 0 deletions
diff --git a/editors/bitmap-mule/Makefile b/editors/bitmap-mule/Makefile
new file mode 100644
index 000000000000..f68d8a522fa0
--- /dev/null
+++ b/editors/bitmap-mule/Makefile
@@ -0,0 +1,60 @@
+# New ports collection makefile for: bitmap for mule
+# Version required: 7.18
+# Date created: 23 September 1998
+# Whom: Shigeyuki FUKUSHIMA <shige@FreeBSD.org>
+#
+# $Id$
+#
+
+DISTNAME= bitmap-mule-${BITMAP_VER}
+CATEGORIES= editors elisp
+MASTER_SITES= ftp://ftp.jaist.ac.jp/pub/GNU/elisp/bitmap-mule/
+
+MAINTAINER= shige@FreeBSD.org
+
+# distfile version
+BITMAP_VER= 7.18
+BITMAPDOCDIR= share/doc/bitmap
+BITMAP_SETUPEL= bitmap-setupel.el
+BITMAP_FONT= ${X11BASE}/lib/X11/fonts/local/etl8x16-bitmap.pcf.gz
+
+# mule-19.34
+EMACS_NAME= mule
+EMACS_PORT= mule
+EMACS_VER= 19.34
+EMACS_LIBDIR= share/${EMACS_NAME}
+EMACS_LIBDIR_WITH_VER= ${EMACS_LIBDIR}/${EMACS_VER}
+
+# target name for make build
+ALL_TARGET?= elc
+
+PKGNAME= bitmap-${EMACS_PORT}-${BITMAP_VER}
+EMACS_CMD= ${PREFIX}/bin/${EMACS_NAME}-${EMACS_VER}
+BUILD_DEPENDS= ${EMACS_CMD}:${PORTSDIR}/editors/${EMACS_PORT} \
+ ${PREFIX}/${EMACS_LIBDIR}/${EMACS_VER}/site-lisp/emu/emu.el:${PORTSDIR}/editors/apel-${EMACS_PORT}
+RUN_DEPENDS= ${EMACS_CMD}:${PORTSDIR}/editors/${EMACS_PORT}-common \
+ ${PREFIX}/${EMACS_LIBDIR}/${EMACS_VER}/site-lisp/emu/emu.el:${PORTSDIR}/editors/apel-${EMACS_PORT} \
+ ${BITMAP_FONT}:${PORTSDIR}/x11-fonts/bitmap-font
+SCRIPTS_ENV= EMACS_LIBDIR=${EMACS_LIBDIR} EMACS_VER=${EMACS_VER} \
+ EMACS_LIBDIR_WITH_VER=${EMACS_LIBDIR_WITH_VER} \
+ TARGETS=${BITMAP_SETUPEL}
+PLIST_SUB= EMACS_LIBDIR=${EMACS_LIBDIR} EMACS_VER=${EMACS_VER} \
+ EMACS_LIBDIR_WITH_VER=${EMACS_LIBDIR_WITH_VER} \
+ BITMAP_SETUPEL=${BITMAP_SETUPEL} \
+ BITMAPDOCDIR=${BITMAPDOCDIR}
+MAKE_FLAGS= EMACS=${EMACS_CMD}
+
+pre-configure:
+ @${CP} ${FILESDIR}/${BITMAP_SETUPEL}.in ${WRKDIR}
+
+post-install:
+ @${INSTALL_DATA} ${WRKDIR}/${BITMAP_SETUPEL} \
+ ${PREFIX}/${EMACS_LIBDIR_WITH_VER}/site-lisp
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${PREFIX}/${BITMAPDOCDIR}
+ @for i in ChangeLog README.* ; do \
+ ${INSTALL_DATA} ${WRKSRC}/$${i} ${PREFIX}/${BITMAPDOCDIR}/ ; \
+ done
+.endif
+
+.include <bsd.port.mk>
diff --git a/editors/bitmap-mule/distinfo b/editors/bitmap-mule/distinfo
new file mode 100644
index 000000000000..c574dedaf449
--- /dev/null
+++ b/editors/bitmap-mule/distinfo
@@ -0,0 +1 @@
+MD5 (bitmap-mule-7.18.tar.gz) = 23852daca0d7ce6f9407ba9b5f6fd1ce
diff --git a/editors/bitmap-mule/files/bitmap-setupel.el.in b/editors/bitmap-mule/files/bitmap-setupel.el.in
new file mode 100644
index 000000000000..925e7dd2bed3
--- /dev/null
+++ b/editors/bitmap-mule/files/bitmap-setupel.el.in
@@ -0,0 +1,8 @@
+;;
+;; @(#)bitmap-setupel.el -- bitmap mule load-path setup elisp file.
+;; -- by shige@FreeBSD.ORG
+
+(setq load-path (append '(
+ "@@PREFIX@@/@@EMACS_LIBDIR@@/site-lisp/bitmap"
+ ) load-path))
+(provide 'bitmap-setupel)
diff --git a/editors/bitmap-mule/files/patch-ab b/editors/bitmap-mule/files/patch-ab
new file mode 100644
index 000000000000..91cf46b23852
--- /dev/null
+++ b/editors/bitmap-mule/files/patch-ab
@@ -0,0 +1,23 @@
+--- BITMAP-CFG.orig Sun Dec 27 23:11:27 1998
++++ BITMAP-CFG Sun Dec 27 23:16:00 1998
+@@ -16,11 +16,15 @@
+ (add-to-list 'load-path
+ (expand-file-name "../../site-lisp/apel" data-directory))
+
+-(when (boundp 'LISPDIR)
+- (add-to-list 'default-load-path LISPDIR)
+- (add-to-list 'load-path LISPDIR)
+- (add-to-list 'load-path (expand-file-name "apel" LISPDIR))
+- )
++(if (boundp 'LISPDIR)
++ (progn
++ (add-to-list 'default-load-path LISPDIR)
++ (add-to-list 'load-path LISPDIR)
++ (add-to-list 'load-path (expand-file-name "apel" LISPDIR))
++ ))
++
++(if (not (fboundp 'normal-top-level-add-subdirs-to-load-path))
++ (require 'apel-setupel))
+
+ (require 'install)
+
diff --git a/editors/bitmap-mule/pkg-comment b/editors/bitmap-mule/pkg-comment
new file mode 100644
index 000000000000..d6d15be9e610
--- /dev/null
+++ b/editors/bitmap-mule/pkg-comment
@@ -0,0 +1 @@
+Bitmap-mule, Package to use bitmap in MULE
diff --git a/editors/bitmap-mule/pkg-descr b/editors/bitmap-mule/pkg-descr
new file mode 100644
index 000000000000..4f1b90f61fc7
--- /dev/null
+++ b/editors/bitmap-mule/pkg-descr
@@ -0,0 +1,18 @@
+Bitmap-mule, Package to use bitmap in MULE or Emacs/mule.
+
+ Bitmap-mule is a package to use bitmap in MULE or Emacs/mule.
+ Bitmap-mule has following modules:
+
+ - bitmap.el: kernel of bitmap-mule
+ - po.el: tiny BDF font editor
+ - smiley-mule.el: smiley-mark encoder/decoder
+
+ Bitmap-mule is installed the following directory tree:
+ ${PREFIX}/share/mule/site-lisp/bitmap/ --- Bitmap-mule
+
+To use bitmap-mule, put the following setup into your ~/.emacs:
+
+ (require 'apel-setupel)
+ (require 'bitmap-setupel)
+
+--- Porting by shige <shige@FreeBSD.org>
diff --git a/editors/bitmap-mule/pkg-plist b/editors/bitmap-mule/pkg-plist
new file mode 100644
index 000000000000..075d92143bb6
--- /dev/null
+++ b/editors/bitmap-mule/pkg-plist
@@ -0,0 +1,11 @@
+%%EMACS_LIBDIR%%/site-lisp/bitmap/bitmap.el
+%%EMACS_LIBDIR%%/site-lisp/bitmap/bitmap.elc
+%%EMACS_LIBDIR%%/site-lisp/bitmap/po.el
+%%EMACS_LIBDIR%%/site-lisp/bitmap/po.elc
+%%EMACS_LIBDIR%%/site-lisp/bitmap/smiley-mule.el
+%%EMACS_LIBDIR%%/site-lisp/bitmap/smiley-mule.elc
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/%%BITMAP_SETUPEL%%
+@dirrm %%EMACS_LIBDIR%%/site-lisp/bitmap
+%%BITMAPDOCDIR%%/ChangeLog
+%%BITMAPDOCDIR%%/README.en
+@dirrm %%BITMAPDOCDIR%%
diff --git a/editors/bitmap-mule/scripts/configure b/editors/bitmap-mule/scripts/configure
new file mode 100644
index 000000000000..04796ae5df87
--- /dev/null
+++ b/editors/bitmap-mule/scripts/configure
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+for i in ${TARGETS}
+do
+ if [ -f ${WRKDIR}/${i}.in ]; then
+ cat ${WRKDIR}/${i}.in | /usr/bin/sed \
+ -e "s;@@PREFIX@@;${PREFIX};g" \
+ -e "s;@@EMACS_LIBDIR@@;${EMACS_LIBDIR};g" \
+ -e "s;@@EMACS_VER@@;${EMACS_VER};g" \
+ -e "s;@@EMACS_LIBDIR_WITH_VER@@;${EMACS_LIBDIR_WITH_VER};g" \
+ > ${WRKDIR}/${i}
+ fi
+done
diff --git a/editors/bitmap/files/bitmap-setupel.el.in b/editors/bitmap/files/bitmap-setupel.el.in
new file mode 100644
index 000000000000..925e7dd2bed3
--- /dev/null
+++ b/editors/bitmap/files/bitmap-setupel.el.in
@@ -0,0 +1,8 @@
+;;
+;; @(#)bitmap-setupel.el -- bitmap mule load-path setup elisp file.
+;; -- by shige@FreeBSD.ORG
+
+(setq load-path (append '(
+ "@@PREFIX@@/@@EMACS_LIBDIR@@/site-lisp/bitmap"
+ ) load-path))
+(provide 'bitmap-setupel)
diff --git a/editors/bitmap/files/patch-ab b/editors/bitmap/files/patch-ab
new file mode 100644
index 000000000000..91cf46b23852
--- /dev/null
+++ b/editors/bitmap/files/patch-ab
@@ -0,0 +1,23 @@
+--- BITMAP-CFG.orig Sun Dec 27 23:11:27 1998
++++ BITMAP-CFG Sun Dec 27 23:16:00 1998
+@@ -16,11 +16,15 @@
+ (add-to-list 'load-path
+ (expand-file-name "../../site-lisp/apel" data-directory))
+
+-(when (boundp 'LISPDIR)
+- (add-to-list 'default-load-path LISPDIR)
+- (add-to-list 'load-path LISPDIR)
+- (add-to-list 'load-path (expand-file-name "apel" LISPDIR))
+- )
++(if (boundp 'LISPDIR)
++ (progn
++ (add-to-list 'default-load-path LISPDIR)
++ (add-to-list 'load-path LISPDIR)
++ (add-to-list 'load-path (expand-file-name "apel" LISPDIR))
++ ))
++
++(if (not (fboundp 'normal-top-level-add-subdirs-to-load-path))
++ (require 'apel-setupel))
+
+ (require 'install)
+
diff --git a/editors/bitmap/pkg-comment.mule b/editors/bitmap/pkg-comment.mule
new file mode 100644
index 000000000000..d6d15be9e610
--- /dev/null
+++ b/editors/bitmap/pkg-comment.mule
@@ -0,0 +1 @@
+Bitmap-mule, Package to use bitmap in MULE
diff --git a/editors/bitmap/pkg-descr.mule b/editors/bitmap/pkg-descr.mule
new file mode 100644
index 000000000000..4f1b90f61fc7
--- /dev/null
+++ b/editors/bitmap/pkg-descr.mule
@@ -0,0 +1,18 @@
+Bitmap-mule, Package to use bitmap in MULE or Emacs/mule.
+
+ Bitmap-mule is a package to use bitmap in MULE or Emacs/mule.
+ Bitmap-mule has following modules:
+
+ - bitmap.el: kernel of bitmap-mule
+ - po.el: tiny BDF font editor
+ - smiley-mule.el: smiley-mark encoder/decoder
+
+ Bitmap-mule is installed the following directory tree:
+ ${PREFIX}/share/mule/site-lisp/bitmap/ --- Bitmap-mule
+
+To use bitmap-mule, put the following setup into your ~/.emacs:
+
+ (require 'apel-setupel)
+ (require 'bitmap-setupel)
+
+--- Porting by shige <shige@FreeBSD.org>
diff --git a/editors/bitmap/pkg-plist.mule b/editors/bitmap/pkg-plist.mule
new file mode 100644
index 000000000000..075d92143bb6
--- /dev/null
+++ b/editors/bitmap/pkg-plist.mule
@@ -0,0 +1,11 @@
+%%EMACS_LIBDIR%%/site-lisp/bitmap/bitmap.el
+%%EMACS_LIBDIR%%/site-lisp/bitmap/bitmap.elc
+%%EMACS_LIBDIR%%/site-lisp/bitmap/po.el
+%%EMACS_LIBDIR%%/site-lisp/bitmap/po.elc
+%%EMACS_LIBDIR%%/site-lisp/bitmap/smiley-mule.el
+%%EMACS_LIBDIR%%/site-lisp/bitmap/smiley-mule.elc
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/%%BITMAP_SETUPEL%%
+@dirrm %%EMACS_LIBDIR%%/site-lisp/bitmap
+%%BITMAPDOCDIR%%/ChangeLog
+%%BITMAPDOCDIR%%/README.en
+@dirrm %%BITMAPDOCDIR%%