Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Apr 2017 09:02:11 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r438080 - head/editors/yui
Message-ID:  <201704090902.v3992Bgu045315@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sun Apr  9 09:02:11 2017
New Revision: 438080
URL: https://svnweb.freebsd.org/changeset/ports/438080

Log:
  - Add LICENSE
  - Switch to options helpers
  - Don't install useless docfiles

Modified:
  head/editors/yui/Makefile
  head/editors/yui/pkg-plist

Modified: head/editors/yui/Makefile
==============================================================================
--- head/editors/yui/Makefile	Sun Apr  9 08:53:17 2017	(r438079)
+++ head/editors/yui/Makefile	Sun Apr  9 09:02:11 2017	(r438080)
@@ -10,11 +10,14 @@ MASTER_SITES=	http://www.sheltonsoft.ru/
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Rich-featured multi-windows console text editor
 
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/COPYRIGHT
+
 USES=		tar:bzip2
 USE_AUTOTOOLS=	autoconf aclocal
 
-ACLOCAL_ARGS+=	-I m4
-MAKE_ENV+=	LIBPATH=${PREFIX}/lib
+ACLOCAL_ARGS=	-I m4
+MAKE_ENV=	LIBPATH=${PREFIX}/lib
 
 BROKEN_aarch64=		Does not compile: error: cast from pointer to smaller type loses information
 BROKEN_mips64=		Does not compile: error: cast from unsigned char* to unsigned int loses precision
@@ -25,8 +28,10 @@ OPTIONS_DEFINE=	DOCS
 
 post-install:
 	${LN} -sf help_eng.html ${STAGEDIR}${PREFIX}/lib/yui/yhelp.html
+
+post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-.for file in BUGS CHANGES COPYRIGHT TODO COPYRIGHT.ITK THANKS
+.for file in BUGS CHANGES TODO THANKS
 	${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
 .endfor
 

Modified: head/editors/yui/pkg-plist
==============================================================================
--- head/editors/yui/pkg-plist	Sun Apr  9 08:53:17 2017	(r438079)
+++ head/editors/yui/pkg-plist	Sun Apr  9 09:02:11 2017	(r438080)
@@ -13,7 +13,5 @@ lib/yui/yhelp.html
 man/man1/y.1.gz
 %%PORTDOCS%%%%DOCSDIR%%/BUGS
 %%PORTDOCS%%%%DOCSDIR%%/CHANGES
-%%PORTDOCS%%%%DOCSDIR%%/COPYRIGHT
-%%PORTDOCS%%%%DOCSDIR%%/COPYRIGHT.ITK
 %%PORTDOCS%%%%DOCSDIR%%/TODO
 %%PORTDOCS%%%%DOCSDIR%%/THANKS



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