Skip site navigation (1)Skip section navigation (2)
Date:      18 Sep 2000 07:01:47 -0000
From:      okazaki@be.to
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/21341: New port: devel/elib-emacs + devel/elib-emacs20
Message-ID:  <20000918070147.2249.qmail@dolphin.be.to>

next in thread | raw e-mail | index | archive | help

>Number:         21341
>Category:       ports
>Synopsis:       New port: devel/elib-emacs + devel/elib-emacs20
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 18 00:10:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     OKAZAKI Tetsurou
>Release:        FreeBSD 4.1-STABLE i386
>Organization:
Unknown
>Environment:

	GNU Emacs 19.34
	GNU Emacs 20.7

>Description:

	Port of ELIB, The Emacs Lisp Library.

>How-To-Repeat:

	

>Fix:

	Use the shar below to import the port.

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	elib-emacs
#	elib-emacs/files
#	elib-emacs/files/md5
#	elib-emacs/files/MESSAGE
#	elib-emacs/pkg
#	elib-emacs/pkg/COMMENT
#	elib-emacs/pkg/DESCR
#	elib-emacs/pkg/PLIST
#	elib-emacs/patches
#	elib-emacs/patches/patch-aa
#	elib-emacs/patches/patch-ab
#	elib-emacs/Makefile
#	elib-emacs20
#	elib-emacs20/Makefile
#
echo c - elib-emacs
mkdir -p elib-emacs > /dev/null 2>&1
echo c - elib-emacs/files
mkdir -p elib-emacs/files > /dev/null 2>&1
echo x - elib-emacs/files/md5
sed 's/^X//' >elib-emacs/files/md5 << 'END-of-elib-emacs/files/md5'
XMD5 (elib-1.0.tar.gz) = 66729d03c58872aff53c16845524f16c
END-of-elib-emacs/files/md5
echo x - elib-emacs/files/MESSAGE
sed 's/^X//' >elib-emacs/files/MESSAGE << 'END-of-elib-emacs/files/MESSAGE'
XTo use elib, put the following setup into your ~/.emacs:
X
X        (require 'elib-startup)
X
END-of-elib-emacs/files/MESSAGE
echo c - elib-emacs/pkg
mkdir -p elib-emacs/pkg > /dev/null 2>&1
echo x - elib-emacs/pkg/COMMENT
sed 's/^X//' >elib-emacs/pkg/COMMENT << 'END-of-elib-emacs/pkg/COMMENT'
XCollection of useful routines for Emacs lisp programs
END-of-elib-emacs/pkg/COMMENT
echo x - elib-emacs/pkg/DESCR
sed 's/^X//' >elib-emacs/pkg/DESCR << 'END-of-elib-emacs/pkg/DESCR'
XElib, the GNU Emacs Lisp Library, is a collection of useful routines
Xfor Emacs lisp programs which don't have to be reinvented each time
Xa new program is written.
X
XElib provides features of:
X   - container data structures (queues, stacks, AVL trees, etc)
X   - string handling functions missing in standard Emacs
X   - minibuffer handling functions missing in standard Emacs
X   - routines for handling lists of so-called cookies in a buffer.
X
XELIB is installed into the following directory tree:
X        PREFIX/share/emacs/site-lisp/elib/		--- elib
X
XWWW: http://www.gnu.org/software/elib/elib.html
X
X- Tetsurou
Xokazaki@be.to
END-of-elib-emacs/pkg/DESCR
echo x - elib-emacs/pkg/PLIST
sed 's/^X//' >elib-emacs/pkg/PLIST << 'END-of-elib-emacs/pkg/PLIST'
X%%EMACS_LIBDIR%%/site-lisp/elib/avltree.el
X%%EMACS_LIBDIR%%/site-lisp/elib/avltree.elc
X%%EMACS_LIBDIR%%/site-lisp/elib/bintree.el
X%%EMACS_LIBDIR%%/site-lisp/elib/bintree.elc
X%%EMACS_LIBDIR%%/site-lisp/elib/cookie.el
X%%EMACS_LIBDIR%%/site-lisp/elib/cookie.elc
X%%EMACS_LIBDIR%%/site-lisp/elib/dll-debug.el
X%%EMACS_LIBDIR%%/site-lisp/elib/dll-debug.elc
X%%EMACS_LIBDIR%%/site-lisp/elib/dll.el
X%%EMACS_LIBDIR%%/site-lisp/elib/dll.elc
X%%EMACS_LIBDIR%%/site-lisp/elib/elib-node.el
X%%EMACS_LIBDIR%%/site-lisp/elib/elib-node.elc
X%%EMACS_LIBDIR%%/site-lisp/elib/queue-f.el
X%%EMACS_LIBDIR%%/site-lisp/elib/queue-f.elc
X%%EMACS_LIBDIR%%/site-lisp/elib/queue-m.el
X%%EMACS_LIBDIR%%/site-lisp/elib/queue-m.elc
X%%EMACS_LIBDIR%%/site-lisp/elib/read.el
X%%EMACS_LIBDIR%%/site-lisp/elib/read.elc
X%%EMACS_LIBDIR%%/site-lisp/elib/stack-f.el
X%%EMACS_LIBDIR%%/site-lisp/elib/stack-f.elc
X%%EMACS_LIBDIR%%/site-lisp/elib/stack-m.el
X%%EMACS_LIBDIR%%/site-lisp/elib/stack-m.elc
X%%EMACS_LIBDIR%%/site-lisp/elib/string.el
X%%EMACS_LIBDIR%%/site-lisp/elib/string.elc
X%%LOADPATHSETUP:%%%%EMACS_LIBDIR_WITH_VER%%/site-lisp/%%PORT_SETUPEL%%
X@dirrm %%EMACS_LIBDIR%%/site-lisp/elib
X%%PORTDOCDIR%%/ChangeLog
X%%PORTDOCDIR%%/NEWS
X%%PORTDOCDIR%%/README
X@dirrm %%PORTDOCDIR%%
X@unexec install-info --delete %D/info/elib.info %D/info/dir
Xinfo/elib.info
X@exec install-info %D/info/elib.info %D/info/dir
END-of-elib-emacs/pkg/PLIST
echo c - elib-emacs/patches
mkdir -p elib-emacs/patches > /dev/null 2>&1
echo x - elib-emacs/patches/patch-aa
sed 's/^X//' >elib-emacs/patches/patch-aa << 'END-of-elib-emacs/patches/patch-aa'
X--- Makefile.orig	Mon Dec 11 09:50:56 1995
X+++ Makefile	Thu Feb 24 14:52:08 2000
X@@ -61,16 +61,16 @@
X install: all installdirs install-info
X 	$(INSTALL_DATA) $(ELFILES) $(ELIBDIR)
X 	$(INSTALL_DATA) $(ELCFILES) $(ELIBDIR)
X-	@echo Please merge elib-startup.el into $(locallisppath)/default.el
X+#	@echo Please merge elib-startup.el into $(locallisppath)/default.el
X 
X installdirs:
X-	-mkdir $(ELIBDIR)
X+	-${MKDIR} $(ELIBDIR)
X 
X install-info: elib.info
X 	$(INSTALL_DATA) elib.info* $(infodir)
X 	if $(SHELL) -c 'install-info --version' \
X 		>/dev/null 2>&1; then \
X-		-install-info --infodir=$(infodir) elib.info; \
X+		install-info --info-dir=$(infodir) elib.info; \
X 	else true; fi
X 
X clean:
END-of-elib-emacs/patches/patch-aa
echo x - elib-emacs/patches/patch-ab
sed 's/^X//' >elib-emacs/patches/patch-ab << 'END-of-elib-emacs/patches/patch-ab'
X--- elib.texi~	Mon Dec 11 09:50:55 1995
X+++ elib.texi	Thu Feb 24 15:29:26 2000
X@@ -21,6 +21,10 @@
X @comment the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
X @setfilename elib.info
X @settitle Elib - The Emacs Lisp Library
X+@dircategory The Emacs editor and associated tools
X+@direntry
X+* ELIB: (elib).			The Emacs Lisp Library.
X+@end direntry
X @setchapternewpage odd
X @syncodeindex fn cp
X      
END-of-elib-emacs/patches/patch-ab
echo x - elib-emacs/Makefile
sed 's/^X//' >elib-emacs/Makefile << 'END-of-elib-emacs/Makefile'
X# New ports collection makefile for:	Elib for GNU Emacs 19
X# Date created:		24 Feb 2000
X# Whom:			OKAZAKI Tetsurou
X#
X# $FreeBSD$
X#
X
XPORTNAME=	elib
XPORTVERSION=	1.0
XCATEGORIES=	devel elisp
XMASTER_SITES=	${MASTER_SITE_GNU}
XMASTER_SITE_SUBDIR=	emacs
XPKGNAMESUFFIX=	-${EMACS_PORT_NAME}
X
XMAINTAINER?=	okazaki@be.to
X
X# setupel filename
XPORT_SETUPEL=	elib-startup.el
X# document install directory by install-doc target
XPORTDOCDIR=	share/doc/elib
X
X# This is a master port.
XPORTCLASS?=	master
X
X# emacs port setup
X.if (${PORTCLASS} == "master")
XEMACS_PORT_NAME=  emacs
X.endif
X
X# target name for make build
XALL_TARGET?=	all
X
X.include <bsd.port.pre.mk>
X
XPLIST_SUB+=	EMACS_PACKAGESDIR=${EMACS_PACKAGESDIR} \
X		PORTDOCDIR=${PORTDOCDIR} \
X		PORT_SETUPEL=${PORT_SETUPEL}
XMAKE_FLAGS+=	EMACS="${EMACS_CMD} -q --no-site-file" \
X		INSTALL_DATA="${INSTALL_DATA}" \
X		MAKEINFO="makeinfo --no-split" \
X		MKDIR="${MKDIR}" \
X		prefix="${PREFIX}"
X
X.if defined(EMACS_PORT_NAME)
X.if ${EMACS_MAJOR_VER} <= 19
XINSTALL_LOADPATHSETUP=	yes
XPKGMESSAGE=	${FILESDIR}/MESSAGE
XPLIST_SUB+=	LOADPATHSETUP:=""
X.else
XPLIST_SUB+=	LOADPATHSETUP:="@comment "
X.endif
X.else
X.BEGIN:
X	@${ECHO} "Error: Bad port."
X	@${ECHO} "You must define EMACS_PORT_NAME."
X	@${FALSE}
X.endif
X
Xpost-build:
X	@${ECHO} "(provide 'elib-startup)" >> ${WRKSRC}/${PORT_SETUPEL}
X
Xpost-install:
X.if defined(INSTALL_LOADPATHSETUP)
X	@${MAKE} setupel-install
X.endif
X.if !defined(NOPORTDOCS)
X	@${MAKE} doc-install
X.endif
X.if exists(${PKGMESSAGE})
X	@${CAT} ${PKGMESSAGE}
X.endif
X
Xdoc-install:
X	${MKDIR} ${PREFIX}/${PORTDOCDIR}
X	cd ${WRKSRC} && \
X	for i in ChangeLog NEWS README ; do \
X		${INSTALL_DATA} $${i} ${PREFIX}/${PORTDOCDIR}/ ; \
X	done
X
Xsetupel-install:
X	${INSTALL_DATA} ${WRKSRC}/${PORT_SETUPEL} \
X		${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/
X
X.include <bsd.port.post.mk>
END-of-elib-emacs/Makefile
echo c - elib-emacs20
mkdir -p elib-emacs20 > /dev/null 2>&1
echo x - elib-emacs20/Makefile
sed 's/^X//' >elib-emacs20/Makefile << 'END-of-elib-emacs20/Makefile'
X# New ports collection makefile for:	Elib for GNU Emacs 20
X# Date created:		24 Feb 2000
X# Whom:			OKAZAKI Tetsurou
X#
X# $FreeBSD$
X#
X
XMAINTAINER=	okazaki@be.to
X
X# This is a slave port.
XPORTCLASS=	slave
X
XMASTERDIR=	${.CURDIR}/../../devel/elib-emacs
X
X# emacs port setup
XEMACS_PORT_NAME=	emacs20
X
X.include <${MASTERDIR}/Makefile>
END-of-elib-emacs20/Makefile
exit


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000918070147.2249.qmail>