aboutsummaryrefslogtreecommitdiffstats
path: root/editors/wemi-xemacs21-mule
diff options
context:
space:
mode:
authorshige <shige@FreeBSD.org>2000-01-11 22:47:47 +0800
committershige <shige@FreeBSD.org>2000-01-11 22:47:47 +0800
commit74c9fd22f283d51d2ce0d803d5d2ba8e6c074d4a (patch)
tree579dcb7b9ec42640afa363522203bcebb38e49c1 /editors/wemi-xemacs21-mule
parentc3c2d1ae4accbf79dda066bb0777b4ac15127b5d (diff)
downloadfreebsd-ports-gnome-74c9fd22f283d51d2ce0d803d5d2ba8e6c074d4a.tar.gz
freebsd-ports-gnome-74c9fd22f283d51d2ce0d803d5d2ba8e6c074d4a.tar.zst
freebsd-ports-gnome-74c9fd22f283d51d2ce0d803d5d2ba8e6c074d4a.zip
Delete BROKEN mark.
Modify as a port which depends on *xemacs21-mule* ports. Add target `xemacs-package'.
Diffstat (limited to 'editors/wemi-xemacs21-mule')
-rw-r--r--editors/wemi-xemacs21-mule/Makefile24
-rw-r--r--editors/wemi-xemacs21-mule/pkg-comment2
-rw-r--r--editors/wemi-xemacs21-mule/pkg-descr2
-rw-r--r--editors/wemi-xemacs21-mule/pkg-plist3
4 files changed, 25 insertions, 6 deletions
diff --git a/editors/wemi-xemacs21-mule/Makefile b/editors/wemi-xemacs21-mule/Makefile
index 16cc027fd1c1..037253dcf05d 100644
--- a/editors/wemi-xemacs21-mule/Makefile
+++ b/editors/wemi-xemacs21-mule/Makefile
@@ -1,4 +1,4 @@
-# New ports collection makefile for: wemi for xemacs-mule
+# New ports collection makefile for: wemi for xemacs21-mule
# Version required: 1.13.4
# Date created: 25 July 1999
# Whom: Shigeyuki FUKUSHIMA <shige@FreeBSD.org>
@@ -7,7 +7,6 @@
#
MAINTAINER= shige@FreeBSD.org
-BROKEN= editors/xemacs-mule is removed.
# This is a slave port.
PORTCLASS= slave
@@ -16,8 +15,9 @@ MASTERDIR= ${.CURDIR}/../../editors/wemi-emacs
# emacs port setup
EMACS_NAME= xemacs
-EMACS_PORT= xemacs-mule
+EMACS_PORT= xemacs21-mule
EMACS_VER= 21.1.8
+EMACS_CMD= ${PREFIX}/bin/${EMACS_PORT}
EMACS_PACKAGESDIR= lib/${EMACS_NAME}/site-packages
# packages-subdirectories which this port requires
EMACS_PACKAGES_SUBDIRS= info lisp man pkginfo
@@ -42,7 +42,25 @@ PKGDIR= ${.CURDIR}/pkg
# package info manifest
MANIFEST= MANIFEST.semi
+
+# xemacs package
+XEMACS_PKGNAME= semi
+XEMACS_PKGNAME_ALT= wemi
+XEMACS_PKGVER= 1.13
+#XEMACS_PKGVER!= grep version ${MASTERDIR}/files/_pkg.el | \
+# sed 's/.*:version \([0-9.]*\).*/\1/'
+XEMACS_PKG_TARBALL= ${XEMACS_PKGNAME_ALT}-${XEMACS_PKGVER}-pkg.tar.gz
+XEMACS_PKG_CONTENTS= pkginfo/${MANIFEST} lisp/${XEMACS_PKGNAME} \
+ info/mime-ui-en.info info/mime-ui-ja.info \
+ man/${XEMACS_PKGNAME}
+
# package documents
WEMIDOCDIR= ${EMACS_PACKAGESDIR}/lisp/semi
+xemacs-package: install
+ @${RM} -f ${.CURDIR}/${XEMACS_PKG_TARBALL}
+ @(cd ${PREFIX}/${EMACS_PACKAGESDIR} ;\
+ ${TAR} -zcf ${.CURDIR}/${XEMACS_PKG_TARBALL} ${XEMACS_PKG_CONTENTS} ;\
+ )
+
.include <${MASTERDIR}/Makefile>
diff --git a/editors/wemi-xemacs21-mule/pkg-comment b/editors/wemi-xemacs21-mule/pkg-comment
index 1478af022bfc..4f98e9cf416a 100644
--- a/editors/wemi-xemacs21-mule/pkg-comment
+++ b/editors/wemi-xemacs21-mule/pkg-comment
@@ -1 +1 @@
-WEMI, Library of MIME feature for GNU Emacs (branch of SEMI kernel package)
+WEMI, Library of MIME feature for xemacs21-mule (branch of SEMI kernel package)
diff --git a/editors/wemi-xemacs21-mule/pkg-descr b/editors/wemi-xemacs21-mule/pkg-descr
index 0a7fc9d26be8..6f27caa9dc01 100644
--- a/editors/wemi-xemacs21-mule/pkg-descr
+++ b/editors/wemi-xemacs21-mule/pkg-descr
@@ -1,4 +1,4 @@
-WEMI, Library of MIME feature for GNU Emacs for xemacs.
+WEMI, Library of MIME feature for GNU Emacs for xemacs21-mule.
WEMI is a branch of SEMI kernel package using widget. It is a
library to provide MIME feature for GNU Emacs based on SEMI API.
diff --git a/editors/wemi-xemacs21-mule/pkg-plist b/editors/wemi-xemacs21-mule/pkg-plist
index f5952e5f6124..673b2d44bb3f 100644
--- a/editors/wemi-xemacs21-mule/pkg-plist
+++ b/editors/wemi-xemacs21-mule/pkg-plist
@@ -3,6 +3,7 @@
%%EMACS_PACKAGESDIR%%/lisp/semi/README.en
%%EMACS_PACKAGESDIR%%/lisp/semi/TODO
%%EMACS_PACKAGESDIR%%/lisp/semi/VERSION
+%%EMACS_PACKAGESDIR%%/lisp/semi/_pkg.el
%%EMACS_PACKAGESDIR%%/lisp/semi/auto-autoloads.el
%%EMACS_PACKAGESDIR%%/lisp/semi/auto-autoloads.elc
%%EMACS_PACKAGESDIR%%/lisp/semi/custom-load.el
@@ -43,4 +44,4 @@
@dirrm %%EMACS_PACKAGESDIR%%/man/semi
share/semi/%%SEMI_COOKIE%%
share/semi/%%WEMI_COOKIE%%
-@unexec /bin/rmdir %D/share/semi || true
+@unexec /bin/rmdir %D/share/semi||(echo "===> Please ignore above error.";true)