Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jan 2018 11:56:44 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r458722 - head/audio/chordpack
Message-ID:  <201801111156.w0BBuiie090558@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Thu Jan 11 11:56:44 2018
New Revision: 458722
URL: https://svnweb.freebsd.org/changeset/ports/458722

Log:
  Convert to option helpers, fix minor style issues, use INSTALL_DATA for
  installing documentation files instead of abusing INSTALL_MAN.

Modified:
  head/audio/chordpack/Makefile

Modified: head/audio/chordpack/Makefile
==============================================================================
--- head/audio/chordpack/Makefile	Thu Jan 11 11:50:06 2018	(r458721)
+++ head/audio/chordpack/Makefile	Thu Jan 11 11:56:44 2018	(r458722)
@@ -13,18 +13,20 @@ COMMENT=	Script to convert ChordPro files to HTML, ASC
 USES=		shebangfix perl5 tar:tgz
 SHEBANG_FILES=	chordpack
 USE_PERL5=	run
-NO_WRKSUBDIR=	true
-NO_BUILD=	true
+NO_WRKSUBDIR=	yes
+NO_BUILD=	yes
 
 OPTIONS_DEFINE=	DOCS
 
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/chordpack ${STAGEDIR}${PREFIX}/bin
 	@${MKDIR} ${STAGEDIR}${PREFIX}/share/emacs/site-lisp
-	${INSTALL_DATA} ${WRKSRC}/chordpro-mode.el  \
+	${INSTALL_DATA} ${WRKSRC}/chordpro-mode.el \
 		${STAGEDIR}${PREFIX}/share/emacs/site-lisp
+
+do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_MAN} ${WRKSRC}/chordpack-documentation.html	\
+	${INSTALL_DATA} ${WRKSRC}/chordpack-documentation.html \
 		${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801111156.w0BBuiie090558>