From 6c774acef8ee2e9474b6a62af6d1bbcdc6ac7bb4 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Sun, 9 Apr 2017 09:02:11 +0000 Subject: [PATCH] - Add LICENSE - Switch to options helpers - Don't install useless docfiles --- editors/yui/Makefile | 11 ++++++++--- editors/yui/pkg-plist | 2 -- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/editors/yui/Makefile b/editors/yui/Makefile index 2023e23e8ec8..85921de67f2b 100644 --- a/editors/yui/Makefile +++ b/editors/yui/Makefile @@ -10,11 +10,14 @@ MASTER_SITES= http://www.sheltonsoft.ru/fileZ/software/ \ 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 diff --git a/editors/yui/pkg-plist b/editors/yui/pkg-plist index b968b4a06f66..433e72bbce20 100644 --- a/editors/yui/pkg-plist +++ b/editors/yui/pkg-plist @@ -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