diff options
author | Shigeyuki Fukushima <shige@FreeBSD.org> | 1999-04-30 02:59:34 +0000 |
---|---|---|
committer | Shigeyuki Fukushima <shige@FreeBSD.org> | 1999-04-30 02:59:34 +0000 |
commit | aabfebfa8b5b9867df7b536ff3493977c7bf4359 (patch) | |
tree | 466675d852653753f3da4b65a7024fcd89be1a1d /editors/custom-emacs | |
parent | Update port to latest distribution version (diff) |
New port: New custom library for emacs.
Diffstat (limited to 'editors/custom-emacs')
-rw-r--r-- | editors/custom-emacs/Makefile | 68 | ||||
-rw-r--r-- | editors/custom-emacs/distinfo | 2 | ||||
-rw-r--r-- | editors/custom-emacs/pkg-comment | 1 | ||||
-rw-r--r-- | editors/custom-emacs/pkg-descr | 27 | ||||
-rw-r--r-- | editors/custom-emacs/pkg-plist | 17 |
5 files changed, 115 insertions, 0 deletions
diff --git a/editors/custom-emacs/Makefile b/editors/custom-emacs/Makefile new file mode 100644 index 000000000000..319d199be045 --- /dev/null +++ b/editors/custom-emacs/Makefile @@ -0,0 +1,68 @@ +# New ports collection makefile for: custom for emacs +# Version required: 1.9962 +# Date created: 27 December 1998 +# Whom: shige +# +# $Id$ +# + +DISTNAME= custom-${CUSTOM_VER} +CATEGORIES= editors elisps +MASTER_SITES= ftp://ftp.dina.kvl.dk/pub/Staff/Per.Abrahamsen/custom/ \ + ftp://ftp.win.ne.jp/pub/word/elisp/ + +MAINTAINER?= shige@FreeBSD.ORG + +# custom library +CUSTOM_VER= 1.9962 +CUSTOMDOCDIR= share/doc/custom +CUSTOM_ELS= cus-edit.el cus-face.el custom.el \ + wid-browse.el wid-edit.el widget-example.el widget.el + +# This is a master port. +PORTCLASS?= master + +.if (${PORTCLASS} == "master") +EMACS_NAME= emacs +EMACS_PORT= emacs +EMACS_VER= 19.34 +EMACS_LIBDIR= share/${EMACS_NAME} +HAVE_COMMON_PORT= NO +.endif + +.if defined(EMACS_PORT) +PKGNAME= custom-${EMACS_PORT}-${CUSTOM_VER} +EMACS_CMD= ${PREFIX}/bin/${EMACS_NAME}-${EMACS_VER} +BUILD_DEPENDS= ${EMACS_CMD}:${PORTSDIR}/editors/${EMACS_PORT} +.if defined(HAVE_COMMON_PORT) && (${HAVE_COMMON_PORT} == "YES") +RUN_DEPENDS= ${EMACS_CMD}:${PORTSDIR}/editors/${EMACS_PORT}-common +.else +RUN_DEPENDS= ${EMACS_CMD}:${PORTSDIR}/editors/${EMACS_PORT} +.endif +SCRIPTS_ENV= EMACS_LIBDIR=${EMACS_LIBDIR} EMACS_VER=${EMACS_VER} +PLIST_SUB= EMACS_LIBDIR=${EMACS_LIBDIR} EMACS_VER=${EMACS_VER} \ + CUSTOMDOCDIR=${CUSTOMDOCDIR} +MAKE_FLAGS= EMACS=${EMACS_CMD} +.else +.BEGIN: + @${ECHO} "Error: Bad port." + @${ECHO} "You must define EMACS_NAME, EMACS_PORT, EMACS_VER, EMACS_LIBDIR." + @${FALSE} +.endif + + +do-install: + @for i in ${CUSTOM_ELS} ; do \ + ${INSTALL_DATA} ${WRKSRC}/$${i} \ + ${PREFIX}/${EMACS_LIBDIR}/${EMACS_VER}/site-lisp/ ; \ + ${INSTALL_DATA} ${WRKSRC}/$${i}c \ + ${PREFIX}/${EMACS_LIBDIR}/${EMACS_VER}/site-lisp/ ; \ + done +.if !defined(NOPORTDOCS) + @${MKDIR} ${PREFIX}/${CUSTOMDOCDIR} + @for i in ChangeLog TODO ; do \ + ${INSTALL_DATA} ${WRKSRC}/$${i} ${PREFIX}/${CUSTOMDOCDIR} ; \ + done +.endif + +.include <bsd.port.mk> diff --git a/editors/custom-emacs/distinfo b/editors/custom-emacs/distinfo new file mode 100644 index 000000000000..103ca78e53a6 --- /dev/null +++ b/editors/custom-emacs/distinfo @@ -0,0 +1,2 @@ +MD5 (custom-1.9962.tar.gz) = af3c53820c7f63f158c803be2d429596 +MD5 (custom-1.9962.patch) = aabccbae207de804c7778b4b8f93a2f6 diff --git a/editors/custom-emacs/pkg-comment b/editors/custom-emacs/pkg-comment new file mode 100644 index 000000000000..002ef9543a6d --- /dev/null +++ b/editors/custom-emacs/pkg-comment @@ -0,0 +1 @@ +The Custom Library for emacs. diff --git a/editors/custom-emacs/pkg-descr b/editors/custom-emacs/pkg-descr new file mode 100644 index 000000000000..1a940874fb51 --- /dev/null +++ b/editors/custom-emacs/pkg-descr @@ -0,0 +1,27 @@ +The Custom Library for emacs. + +--- Emacs Library Porting + +The Custom Library is intended for use by emacs lisp programmers who +want to make their emacs packages easily customizable. It allows the +programmer to + + - declare the type for each user option, + i.e. specify the set of legal values for each variable, + - specify and initialize the faces used by the package, and + - organize the user options into groups and hierarchies. + +The user will then be able to customize the user options through a +helpful structured interface that resembles the property editor in +modern GUI programs. + +How to use: + M-x customize + +Installed at: + ${PREFIX}/share/emacs/19.34/site-lisp/ + +See also: + http://www.dina.kvl.dk/~abraham/custom/ + +--- Porting by <shige@FreeBSD.ORG>. diff --git a/editors/custom-emacs/pkg-plist b/editors/custom-emacs/pkg-plist new file mode 100644 index 000000000000..44bbd8396629 --- /dev/null +++ b/editors/custom-emacs/pkg-plist @@ -0,0 +1,17 @@ +%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/cus-edit.el +%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/cus-edit.elc +%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/cus-face.el +%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/cus-face.elc +%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/custom.el +%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/custom.elc +%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/wid-browse.el +%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/wid-browse.elc +%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/wid-edit.el +%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/wid-edit.elc +%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/widget-example.el +%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/widget-example.elc +%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/widget.el +%%EMACS_LIBDIR%%/%%EMACS_VER%%/site-lisp/widget.elc +%%CUSTOMDOCDIR%%/ChangeLog +%%CUSTOMDOCDIR%%/TODO +@dirrm %%CUSTOMDOCDIR%% |