aboutsummaryrefslogtreecommitdiffstats
path: root/editors/yui
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2017-04-09 17:02:11 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2017-04-09 17:02:11 +0800
commit0850945ad0483fcd117eca314e5fcca8505c2fda (patch)
tree6321f406c02a670e66f1c73c11f1d276a152b2e1 /editors/yui
parente903df0192e28b9321e7f4468e28892019fa7a2f (diff)
downloadfreebsd-ports-gnome-0850945ad0483fcd117eca314e5fcca8505c2fda.tar.gz
freebsd-ports-gnome-0850945ad0483fcd117eca314e5fcca8505c2fda.tar.zst
freebsd-ports-gnome-0850945ad0483fcd117eca314e5fcca8505c2fda.zip
- Add LICENSE
- Switch to options helpers - Don't install useless docfiles
Diffstat (limited to 'editors/yui')
-rw-r--r--editors/yui/Makefile11
-rw-r--r--editors/yui/pkg-plist2
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