svn commit: r438080 - head/editors/yui

Dmitry Marakasov amdmi3 at FreeBSD.org
Sun Apr 9 09:02:13 UTC 2017


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 at 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


More information about the svn-ports-all mailing list