aboutsummaryrefslogtreecommitdiffstats
path: root/editors/semi-xemacs21-mule-current
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/semi-xemacs21-mule-current
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/semi-xemacs21-mule-current')
-rw-r--r--editors/semi-xemacs21-mule-current/Makefile23
-rw-r--r--editors/semi-xemacs21-mule-current/pkg-comment2
-rw-r--r--editors/semi-xemacs21-mule-current/pkg-descr2
-rw-r--r--editors/semi-xemacs21-mule-current/pkg-plist3
4 files changed, 24 insertions, 6 deletions
diff --git a/editors/semi-xemacs21-mule-current/Makefile b/editors/semi-xemacs21-mule-current/Makefile
index c978380e7b05..41069a46fcc7 100644
--- a/editors/semi-xemacs21-mule-current/Makefile
+++ b/editors/semi-xemacs21-mule-current/Makefile
@@ -1,4 +1,4 @@
-# New ports collection makefile for: semi-current for xemacs-mule
+# New ports collection makefile for: semi-current for xemacs21-mule
# Version required: 1.13.7
# 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/semi-emacs-current
# 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,24 @@ PKGDIR= ${.CURDIR}/pkg
# package info manifest
MANIFEST= MANIFEST.semi
+
+# xemacs package
+XEMACS_PKGNAME= semi
+XEMACS_PKGVER= 1.18
+#XEMACS_PKGVER!= grep version ${.CURDIR}/../semi-emacs/files/_pkg.el | \
+# sed 's/.*:version \([0-9.]*\).*/\1/'
+XEMACS_PKG_TARBALL= ${XEMACS_PKGNAME}-${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
SEMIDOCDIR= ${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/semi-xemacs21-mule-current/pkg-comment b/editors/semi-xemacs21-mule-current/pkg-comment
index dbbb7df51666..cecdd81db035 100644
--- a/editors/semi-xemacs21-mule-current/pkg-comment
+++ b/editors/semi-xemacs21-mule-current/pkg-comment
@@ -1 +1 @@
-SEMI, Library of MIME feature for GNU Emacs for xemacs-mule
+SEMI, Library of MIME feature for GNU Emacs for xemacs21-mule
diff --git a/editors/semi-xemacs21-mule-current/pkg-descr b/editors/semi-xemacs21-mule-current/pkg-descr
index 3d37ba5d96a5..e2ac016e0a3d 100644
--- a/editors/semi-xemacs21-mule-current/pkg-descr
+++ b/editors/semi-xemacs21-mule-current/pkg-descr
@@ -1,4 +1,4 @@
-SEMI, Library of MIME feature for GNU Emacs for xemacs-mule.
+SEMI, Library of MIME feature for GNU Emacs for xemacs21-mule.
SEMI is a library to provide MIME feature for GNU Emacs. MIME is a
proposed internet standard for including content and headers other
diff --git a/editors/semi-xemacs21-mule-current/pkg-plist b/editors/semi-xemacs21-mule-current/pkg-plist
index 194507905254..287a42379263 100644
--- a/editors/semi-xemacs21-mule-current/pkg-plist
+++ b/editors/semi-xemacs21-mule-current/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
@@ -42,4 +43,4 @@
%%EMACS_PACKAGESDIR%%/man/semi/mime-ui-ja.texi
@dirrm %%EMACS_PACKAGESDIR%%/man/semi
share/semi/%%SEMI_COOKIE%%
-@unexec /bin/rmdir %D/share/semi || true
+@unexec /bin/rmdir %D/share/semi||(echo "===> Please ignore above error.";true)