diff options
author | anray <anray@FreeBSD.org> | 2006-05-11 01:32:17 +0800 |
---|---|---|
committer | anray <anray@FreeBSD.org> | 2006-05-11 01:32:17 +0800 |
commit | 781a62fa2a1f7700c1ccb3ae7ee797791bec7dbf (patch) | |
tree | 51792cf3c30f9560917a279e353e1e205004d729 /devel | |
parent | cc420e47c4e52245246ce4f3e279a8a7bccd6dc3 (diff) | |
download | freebsd-ports-gnome-781a62fa2a1f7700c1ccb3ae7ee797791bec7dbf.tar.gz freebsd-ports-gnome-781a62fa2a1f7700c1ccb3ae7ee797791bec7dbf.tar.zst freebsd-ports-gnome-781a62fa2a1f7700c1ccb3ae7ee797791bec7dbf.zip |
This mode is used for editing spec files used for building RPM packages.
WWW: http://www.tihlde.org/~stigb/rpm-spec-mode.el
Submitted by: Max N. Boyarov <m.boyarov@gmail.com>
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/rpm-spec-mode.el/Makefile | 37 | ||||
-rw-r--r-- | devel/rpm-spec-mode.el/distinfo | 3 | ||||
-rw-r--r-- | devel/rpm-spec-mode.el/pkg-descr | 3 | ||||
-rw-r--r-- | devel/rpm-spec-mode.el/pkg-message | 11 |
5 files changed, 55 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index f562e5529ae5..6da54bee1689 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1568,6 +1568,7 @@ SUBDIR += root-doc SUBDIR += rote SUBDIR += rpc2 + SUBDIR += rpm-spec-mode.el SUBDIR += rtplib SUBDIR += ruby-amstd SUBDIR += ruby-aspectr diff --git a/devel/rpm-spec-mode.el/Makefile b/devel/rpm-spec-mode.el/Makefile new file mode 100644 index 000000000000..f1b4572d86a2 --- /dev/null +++ b/devel/rpm-spec-mode.el/Makefile @@ -0,0 +1,37 @@ +# New ports collection makefile for: rpm-spec-mode.el +# Date created: 24 Apr 2006 +# Whom: Max N. Boyarov <m.boyarov@gmail.com> +# +# $FreeBSD$ + +PORTNAME= rpm-spec-mode.el +PORTVERSION= 0.12 +CATEGORIES= devel +MASTER_SITES= http://www.xemacs.org/~stigb/ +DISTNAME= rpm-spec-mode.el +EXTRACT_SUFX= # empty +EXTRACT_ONLY= # empty + +MAINTAINER= m.boyarov@gmail.com +COMMENT= RPM spec file editing commands for [X]Emacs + +NO_WRKSUBDIR= yes +NO_BUILD= yes + +EMACSLISPDIR= ${PREFIX}/share/emacs/site-lisp +XEMACSLISPDIR= ${PREFIX}/lib/xemacs/site-lisp + +PLIST_FILES= share/emacs/site-lisp/${PORTNAME} \ + lib/xemacs/site-lisp/${PORTNAME} +PLIST_DIRS= lib/xemacs/site-lisp lib/xemacs + +do-install: + ${MKDIR} ${EMACSLISPDIR} + ${MKDIR} ${XEMACSLISPDIR} + ${INSTALL_DATA} ${DISTDIR}/${DISTNAME} ${EMACSLISPDIR}/${PORTNAME} + ${LN} -sf ${EMACSLISPDIR}/${PORTNAME} ${XEMACSLISPDIR}/${PORTNAME} + +post-install: + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.mk> diff --git a/devel/rpm-spec-mode.el/distinfo b/devel/rpm-spec-mode.el/distinfo new file mode 100644 index 000000000000..fbf743523980 --- /dev/null +++ b/devel/rpm-spec-mode.el/distinfo @@ -0,0 +1,3 @@ +MD5 (rpm-spec-mode.el) = fdf6207c8390f14d07c4cffb8275fbe4 +SHA256 (rpm-spec-mode.el) = e9e7a393fddc7ae5ff781ee487757780e9b257bb755fb13f9d3ba0b679c2a8a2 +SIZE (rpm-spec-mode.el) = 45296 diff --git a/devel/rpm-spec-mode.el/pkg-descr b/devel/rpm-spec-mode.el/pkg-descr new file mode 100644 index 000000000000..32c5e9ba50ce --- /dev/null +++ b/devel/rpm-spec-mode.el/pkg-descr @@ -0,0 +1,3 @@ +This mode is used for editing spec files used for building RPM packages. + +WWW: http://www.tihlde.org/~stigb/rpm-spec-mode.el diff --git a/devel/rpm-spec-mode.el/pkg-message b/devel/rpm-spec-mode.el/pkg-message new file mode 100644 index 000000000000..27f2e4d5bc3b --- /dev/null +++ b/devel/rpm-spec-mode.el/pkg-message @@ -0,0 +1,11 @@ + +=================================================================== + +Put this in your .emacs file to enable autoloading of rpm-spec-mode, +and auto-recognition of ".spec" files: + + (autoload 'rpm-spec-mode "rpm-spec-mode.el" "RPM spec mode." t) + (setq auto-mode-alist (append '(("\\.spec" . rpm-spec-mode)) + auto-mode-alist)) + +=================================================================== |