svn commit: r458722 - head/audio/chordpack

Alexey Dokuchaev danfe at FreeBSD.org
Thu Jan 11 11:56:45 UTC 2018


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>


More information about the svn-ports-all mailing list