aboutsummaryrefslogtreecommitdiff
path: root/devel/git-modes
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2014-04-23 00:57:10 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2014-04-23 00:57:10 +0000
commitb7f05bfda9209c7ff325ebd256277106d85176e9 (patch)
tree05ada41fd5f80ef19ff68290298063cc7ab2ccbc /devel/git-modes
parent196182d95ed489fac2b42c9178c5871bff1a7ff4 (diff)
downloadports-b7f05bfda9209c7ff325ebd256277106d85176e9.tar.gz
ports-b7f05bfda9209c7ff325ebd256277106d85176e9.zip
Notes
Diffstat (limited to 'devel/git-modes')
-rw-r--r--devel/git-modes/Makefile37
-rw-r--r--devel/git-modes/distinfo2
-rw-r--r--devel/git-modes/pkg-descr13
-rw-r--r--devel/git-modes/pkg-plist11
4 files changed, 63 insertions, 0 deletions
diff --git a/devel/git-modes/Makefile b/devel/git-modes/Makefile
new file mode 100644
index 000000000000..ef4f86e99d1f
--- /dev/null
+++ b/devel/git-modes/Makefile
@@ -0,0 +1,37 @@
+# Created by: KIMURA Yasuhiro <yasu@utahime.org>
+# $FreeBSD$
+
+PORTNAME= git-modes
+PORTVERSION= 20140314
+CATEGORIES= devel elisp
+PKGNAMESUFFIX= -${EMACS_PORT_NAME}
+
+MAINTAINER= yasu@utahime.org
+COMMENT= GNU Emacs modes for Git-related files
+
+LICENSE= GPLv3
+
+RUN_DEPENDS= git>0:${PORTSDIR}/devel/git
+
+USE_GITHUB= yes
+GH_ACCOUNT= magit
+GH_TAGNAME= ${GH_COMMIT}
+GH_COMMIT= 42e989c
+
+USES= gmake
+USE_EMACS= yes
+PORTDOCS= CONTRIBUTING.md README.md
+
+ALL_TARGET= lisp
+
+OPTIONS_DEFINE= DOCS
+
+ELISPDIR= ${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}
+PLIST_SUB= ELISPDIR=${ELISPDIR}
+
+do-install:
+ ${MKDIR} ${STAGEDIR}${PREFIX}/${ELISPDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/*.el ${WRKSRC}/*.elc ${STAGEDIR}${PREFIX}/${ELISPDIR}
+ ${INSTALL_MAN} ${WRKSRC}/CONTRIBUTING.md ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>
diff --git a/devel/git-modes/distinfo b/devel/git-modes/distinfo
new file mode 100644
index 000000000000..bb5dfea1930b
--- /dev/null
+++ b/devel/git-modes/distinfo
@@ -0,0 +1,2 @@
+SHA256 (git-modes-20140314.tar.gz) = 809c31b6346f76abf74dd072cdf2e2306d2d2bcb3c687e7471e88c35bc63f774
+SIZE (git-modes-20140314.tar.gz) = 28576
diff --git a/devel/git-modes/pkg-descr b/devel/git-modes/pkg-descr
new file mode 100644
index 000000000000..8cf4783f35fc
--- /dev/null
+++ b/devel/git-modes/pkg-descr
@@ -0,0 +1,13 @@
+GNU Emacs modes for Git-related files.
+
+* git-commit-mode - A major mode for editing Git commit messages
+ according to the guidelines by Tim Pope.
+* git-rebase-mode - A major mode for git-rebase-todo files created by
+ git rebase -i
+* gitconfig-mode - A 'conf-mode'-derived major mode for editing
+ .gitconfig files.
+* gitignore-mode - A 'conf-mode'-derived major mode for editing
+ .gitignore files.
+* gitattributes-mode - A major mode for editing .gitattributes files.
+
+WWW: https://github.com/magit/git-modes
diff --git a/devel/git-modes/pkg-plist b/devel/git-modes/pkg-plist
new file mode 100644
index 000000000000..fb1099371d93
--- /dev/null
+++ b/devel/git-modes/pkg-plist
@@ -0,0 +1,11 @@
+%%ELISPDIR%%/git-commit-mode.el
+%%ELISPDIR%%/git-commit-mode.elc
+%%ELISPDIR%%/git-rebase-mode.el
+%%ELISPDIR%%/git-rebase-mode.elc
+%%ELISPDIR%%/gitattributes-mode.el
+%%ELISPDIR%%/gitattributes-mode.elc
+%%ELISPDIR%%/gitconfig-mode.el
+%%ELISPDIR%%/gitconfig-mode.elc
+%%ELISPDIR%%/gitignore-mode.el
+%%ELISPDIR%%/gitignore-mode.elc
+@dirrm %%ELISPDIR%%