ports/175197: [MAINTAINER] textproc/yaml-mode.el: adopt OptionsNG
Yasuhiro KIMURA
yasu at utahime.org
Mon Jan 14 01:24:35 UTC 2013
"Created by:" header is added to Makefile. Please commit attached patch
instead of previous ones.
Regards.
-------------- next part --------------
Index: Makefile
===================================================================
--- Makefile (revision 310295)
+++ Makefile (working copy)
@@ -1,9 +1,5 @@
-# New ports collection makefile for: yaml-mode.el
-# Date created: 07 Jun 2007
-# Whom: KIMURA Yasuhiro <yasu at utahime.org>
-#
+# Created by: KIMURA Yasuhiro <yasu at utahime.org>
# $FreeBSD$
-#
PORTNAME= yaml-mode.el
PORTVERSION= 0.0.8
@@ -14,6 +10,8 @@
MAINTAINER= yasu at utahime.org
COMMENT= Simple major mode to edit YAML file for Emacsen
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/README
USE_GITHUB= yes
GH_ACCOUNT= yoshiki
GH_PROJECT= yaml-mode
@@ -26,8 +24,13 @@
LISPDIR= ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}
+OPTIONS_DEFINE= DOCS
+OPTIONS_DEFAULT= 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}
Index: pkg-descr
===================================================================
--- pkg-descr (revision 310295)
+++ pkg-descr (working copy)
@@ -1,3 +1,3 @@
This is a major mode for editing files in the YAML data serialization format.
-WWW: http://yaml-mode.clouder.jp/
+WWW: https://github.com/yoshiki/yaml-mode
More information about the freebsd-ports-bugs
mailing list