aboutsummaryrefslogtreecommitdiff
path: root/devel/rpm-spec-mode.el
diff options
context:
space:
mode:
authorAndrey Slusar <anray@FreeBSD.org>2006-05-10 17:32:17 +0000
committerAndrey Slusar <anray@FreeBSD.org>2006-05-10 17:32:17 +0000
commitd057202dee849a0747156175ecbbf64a31258ae7 (patch)
tree0e903198ea2c62ab9a84c7a2d1c409bd136ea755 /devel/rpm-spec-mode.el
parenta0e91177bbeca0f9f6fac98651b5129eea250851 (diff)
downloadports-d057202dee849a0747156175ecbbf64a31258ae7.tar.gz
ports-d057202dee849a0747156175ecbbf64a31258ae7.zip
Notes
Diffstat (limited to 'devel/rpm-spec-mode.el')
-rw-r--r--devel/rpm-spec-mode.el/Makefile37
-rw-r--r--devel/rpm-spec-mode.el/distinfo3
-rw-r--r--devel/rpm-spec-mode.el/pkg-descr3
-rw-r--r--devel/rpm-spec-mode.el/pkg-message11
4 files changed, 54 insertions, 0 deletions
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))
+
+===================================================================