summaryrefslogtreecommitdiff
path: root/editors/bitmap-mule
diff options
context:
space:
mode:
authorShigeyuki Fukushima <shige@FreeBSD.org>2001-12-11 13:42:09 +0000
committerShigeyuki Fukushima <shige@FreeBSD.org>2001-12-11 13:42:09 +0000
commitffb8c4d93977f46873865934d3c1c42a3b97feac (patch)
tree77fdeb01220f43099bb7933891928dbfba282278 /editors/bitmap-mule
parentBump PORTREVISION for this recent change: (diff)
Update to 8.4.p200109201221.
Apply new master/slave scheme. Update master port (editors/bitmap) for emacs21. Update slave ports (editors/bitmap-mule and editors/bitmap-emacs20) to stub ports. Install el/elc files to version specific site-lisp directory. Change some style.
Notes
Notes: svn path=/head/; revision=51354
Diffstat (limited to 'editors/bitmap-mule')
-rw-r--r--editors/bitmap-mule/Makefile64
-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-ab14
-rw-r--r--editors/bitmap-mule/pkg-comment1
-rw-r--r--editors/bitmap-mule/pkg-descr23
-rw-r--r--editors/bitmap-mule/pkg-plist22
-rw-r--r--editors/bitmap-mule/scripts/configure13
8 files changed, 5 insertions, 141 deletions
diff --git a/editors/bitmap-mule/Makefile b/editors/bitmap-mule/Makefile
index d0ab60b00ef5..2d8c2129ed7c 100644
--- a/editors/bitmap-mule/Makefile
+++ b/editors/bitmap-mule/Makefile
@@ -5,68 +5,14 @@
# $FreeBSD$
#
-PORTNAME= bitmap
-PORTVERSION= ${BITMAP_VER}
-CATEGORIES= editors elisp
-MASTER_SITES= ftp://ftp.jpl.org/pub/elisp/bitmap/ \
- ftp://ftp.jpl.org/pub/elisp/bitmap/snapshots/
-DISTNAME= ${PORTNAME}-mule-${BITMAP_DISTVER}
-PKGNAMESUFFIX= -${EMACS_PORT_NAME}
-
MAINTAINER= shige@FreeBSD.org
-# ports version
-BITMAP_VER= ${BITMAP_MVER}${BITMAP_SNAP_PREFIX}${BITMAP_SNAP}
-# distfile version
-BITMAP_MVER= 8.4
-BITMAP_DISTVER= ${BITMAP_MVER}
-# variables for snapshots version
-BITMAP_SNAP_PREFIX= .p
-BITMAP_SNAP= 200102280240
-BITMAP_DISTVER= ${BITMAP_SNAP}
+# This is a slave port.
+PORTCLASS= slave
-BITMAPDOCDIR= share/doc/bitmap
-BITMAP_SETUPEL= bitmap-setupel.el
-BITMAP_FONT= ${X11BASE}/lib/X11/fonts/local/bitmap16.pcf.gz
+MASTERDIR= ${.CURDIR}/../../editors/bitmap
-# mule-19.34
+# Setup EMACS_PORT_NAME variable.
EMACS_PORT_NAME= mule
-
-# target name for make build
-ALL_TARGET?= elc
-
-BUILD_DEPENDS= uncompface:${PORTSDIR}/mail/faces
-RUN_DEPENDS= ${BITMAP_FONT}:${PORTSDIR}/x11-fonts/bitmap-fonts
-SCRIPTS_ENV= TARGETS=${BITMAP_SETUPEL}
-PLIST_SUB= BITMAP_SETUPEL=${BITMAP_SETUPEL} \
- BITMAPDOCDIR=${BITMAPDOCDIR}
-
-.include <bsd.port.pre.mk>
-
-.if defined(EMACS_PORT_NAME)
-# depends on apel
-BUILD_DEPENDS+= ${LOCALBASE}/${EMACS_LIBDIR}/${EMACS_VER}/site-lisp/emu/emu.el:${PORTSDIR}/editors/apel-${EMACS_PORT_NAME}
-RUN_DEPENDS+= ${LOCALBASE}/${EMACS_LIBDIR}/${EMACS_VER}/site-lisp/emu/emu.el:${PORTSDIR}/editors/apel-${EMACS_PORT_NAME}
-.else
-.BEGIN:
- @${ECHO} "Error: Bad port."
- @${ECHO} "You must define EMACS_PORT_NAME."
- @${FALSE}
-.endif
-
-pre-configure:
- @${CP} ${FILESDIR}/${BITMAP_SETUPEL}.in ${WRKDIR}
-
-post-install:
- @${INSTALL_DATA} ${WRKDIR}/${BITMAP_SETUPEL} \
- ${LOCALBASE}/${EMACS_LIBDIR_WITH_VER}/site-lisp
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${LOCALBASE}/${BITMAPDOCDIR}
- @(cd ${WRKSRC} ; \
- for i in ChangeLog NEWS README.* ; do \
- ${INSTALL_DATA} ${WRKSRC}/$${i} ${LOCALBASE}/${BITMAPDOCDIR}/ ; \
- done)
-.endif
-
-.include <bsd.port.post.mk>
+.include <${MASTERDIR}/Makefile>
diff --git a/editors/bitmap-mule/distinfo b/editors/bitmap-mule/distinfo
deleted file mode 100644
index e989933c8386..000000000000
--- a/editors/bitmap-mule/distinfo
+++ /dev/null
@@ -1 +0,0 @@
-MD5 (bitmap-mule-200102280240.tar.gz) = c17eb6b7e9a71b188a135b528121f2a4
diff --git a/editors/bitmap-mule/files/bitmap-setupel.el.in b/editors/bitmap-mule/files/bitmap-setupel.el.in
deleted file mode 100644
index 925e7dd2bed3..000000000000
--- a/editors/bitmap-mule/files/bitmap-setupel.el.in
+++ /dev/null
@@ -1,8 +0,0 @@
-;;
-;; @(#)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
deleted file mode 100644
index 3e8c3defc3e5..000000000000
--- a/editors/bitmap-mule/files/patch-ab
+++ /dev/null
@@ -1,14 +0,0 @@
---- BITMAP-CFG.orig Tue Apr 18 18:11:56 2000
-+++ BITMAP-CFG Sat May 13 04:23:13 2000
-@@ -6,6 +6,11 @@
-
- (defvar default-load-path load-path)
-
-+(if (not (fboundp 'normal-top-level-add-subdirs-to-load-path))
-+ (progn
-+ (require 'apel-setupel)
-+ ))
-+
- (require 'poe);; Pickup `add-to-list' for old mule.
-
- (add-to-list 'load-path
diff --git a/editors/bitmap-mule/pkg-comment b/editors/bitmap-mule/pkg-comment
deleted file mode 100644
index 14026f9a0004..000000000000
--- a/editors/bitmap-mule/pkg-comment
+++ /dev/null
@@ -1 +0,0 @@
-Package to use bitmap in MULE
diff --git a/editors/bitmap-mule/pkg-descr b/editors/bitmap-mule/pkg-descr
deleted file mode 100644
index a67933c35c4d..000000000000
--- a/editors/bitmap-mule/pkg-descr
+++ /dev/null
@@ -1,23 +0,0 @@
-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
- - bitmap-bi.el: functions for Emacs 20.2 or earlier
- - bm-utils.el: utility functions.
- - po.el: tiny BDF font editor
- - smiley-mule.el: smiley-mark encoder/decoder
- - x-face-mule.el: inline X-Face decoder
- - gnus-bitmap.el: Gnus/gnus related functions for x-face-mule.el
- - vm-bitmap.el: VM related functions for x-face-mule.el
-
- 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
deleted file mode 100644
index e2371438f8d1..000000000000
--- a/editors/bitmap-mule/pkg-plist
+++ /dev/null
@@ -1,22 +0,0 @@
-%%EMACS_LIBDIR%%/site-lisp/bitmap/bitmap.el
-%%EMACS_LIBDIR%%/site-lisp/bitmap/bitmap.elc
-%%EMACS_LIBDIR%%/site-lisp/bitmap/bitmap-bi.el
-%%EMACS_LIBDIR%%/site-lisp/bitmap/bitmap-bi.elc
-%%EMACS_LIBDIR%%/site-lisp/bitmap/bm-utils.el
-%%EMACS_LIBDIR%%/site-lisp/bitmap/bm-utils.elc
-%%EMACS_LIBDIR%%/site-lisp/bitmap/gnus-bitmap.el
-%%EMACS_LIBDIR%%/site-lisp/bitmap/gnus-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%%/site-lisp/bitmap/vm-bitmap.el
-@unexec rm -f %D/%%EMACS_LIBDIR%%/site-lisp/bitmap/vm-bitmap.elc
-%%EMACS_LIBDIR%%/site-lisp/bitmap/x-face-mule.el
-%%EMACS_LIBDIR%%/site-lisp/bitmap/x-face-mule.elc
-%%EMACS_LIBDIR_WITH_VER%%/site-lisp/%%BITMAP_SETUPEL%%
-@dirrm %%EMACS_LIBDIR%%/site-lisp/bitmap
-%%BITMAPDOCDIR%%/ChangeLog
-%%BITMAPDOCDIR%%/NEWS
-%%BITMAPDOCDIR%%/README.en
-@dirrm %%BITMAPDOCDIR%%
diff --git a/editors/bitmap-mule/scripts/configure b/editors/bitmap-mule/scripts/configure
deleted file mode 100644
index 04796ae5df87..000000000000
--- a/editors/bitmap-mule/scripts/configure
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/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