aboutsummaryrefslogtreecommitdiff
path: root/textproc/yaml-mode.el/Makefile
diff options
context:
space:
mode:
authorJason Helfman <jgh@FreeBSD.org>2013-01-15 21:45:33 +0000
committerJason Helfman <jgh@FreeBSD.org>2013-01-15 21:45:33 +0000
commitf41a2583470055aa31a59aaad0216402dc58b98f (patch)
tree37b1d6fea7a4f2e331b351068a7682b0a19563cd /textproc/yaml-mode.el/Makefile
parent31d3a51f343b39b0e06e9abaec29718cc9efdc29 (diff)
downloadports-f41a2583470055aa31a59aaad0216402dc58b98f.tar.gz
ports-f41a2583470055aa31a59aaad0216402dc58b98f.zip
- adopt optionsNG, define LICENSE, trim historical header
- update pkg-descr PR: 175197 Submitted by: maintainer, yasu@utahime.org
Notes
Notes: svn path=/head/; revision=310465
Diffstat (limited to 'textproc/yaml-mode.el/Makefile')
-rw-r--r--textproc/yaml-mode.el/Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/textproc/yaml-mode.el/Makefile b/textproc/yaml-mode.el/Makefile
index 73c9645a23b6..1bac518c7dfa 100644
--- a/textproc/yaml-mode.el/Makefile
+++ b/textproc/yaml-mode.el/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: yaml-mode.el
-# Date created: 07 Jun 2007
-# Whom: KIMURA Yasuhiro <yasu@utahime.org>
-#
+# Created by: KIMURA Yasuhiro <yasu@utahime.org>
# $FreeBSD$
-#
PORTNAME= yaml-mode.el
PORTVERSION= 0.0.8
@@ -14,6 +10,8 @@ PKGNAMESUFFIX= -${EMACS_PORT_NAME}
MAINTAINER= yasu@utahime.org
COMMENT= Simple major mode to edit YAML file for Emacsen
+LICENSE= GPLv2
+
USE_GITHUB= yes
GH_ACCOUNT= yoshiki
GH_PROJECT= yaml-mode
@@ -26,8 +24,12 @@ MAKE_ENV+= LISPDIR=${LISPDIR}
LISPDIR= ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}
+OPTIONS_DEFINE= DOCS
+
+.include <bsd.port.options.mk>
+
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
.for file in Changes README
${INSTALL_MAN} ${WRKSRC}/${file} ${DOCSDIR}