svn commit: r441440 - head/graphics/cadubi

Dmitry Marakasov amdmi3 at FreeBSD.org
Mon May 22 09:00:41 UTC 2017


Author: amdmi3
Date: Mon May 22 09:00:40 2017
New Revision: 441440
URL: https://svnweb.freebsd.org/changeset/ports/441440

Log:
  - Switch to options helpers
  - Simplify installation

Modified:
  head/graphics/cadubi/Makefile

Modified: head/graphics/cadubi/Makefile
==============================================================================
--- head/graphics/cadubi/Makefile	Mon May 22 08:58:44 2017	(r441439)
+++ head/graphics/cadubi/Makefile	Mon May 22 09:00:40 2017	(r441440)
@@ -14,8 +14,9 @@ LICENSE=	ART10
 
 RUN_DEPENDS=	p5-Term-ReadKey>=0:devel/p5-Term-ReadKey
 
-GH_ACCOUNT=	statico
 USE_GITHUB=	yes
+GH_ACCOUNT=	statico
+
 USES=		perl5 shebangfix
 SHEBANG_FILES=	cadubi
 NO_BUILD=	yes
@@ -37,9 +38,10 @@ do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
 	@${MKDIR} ${STAGEDIR}${DATADIR}
 .for d in help.txt logo.txt
-	@(cd ${WRKSRC} && ${INSTALL_DATA} ${d} ${STAGEDIR}${DATADIR})
+	${INSTALL_DATA} ${WRKSRC}/${d} ${STAGEDIR}${DATADIR}
 .endfor
 
+do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/extras/ansi_term_codes.txt ${STAGEDIR}${DOCSDIR}


More information about the svn-ports-all mailing list