Add UTF-8 resource file to x11-clocks/emiclock

Add LICENSE section and update the LEGAL file accordingly.
Bump PORTREVISION

x11-clocks/emiclock has a very restrictive license and changes has
to be approved by Masayuki Koba the original author.
The approval was obtained  by private email exchange (in Japanese).

=======================
From: koba@hoge.org
To: nyan@FreeBSD.org
> nyan wrote:
> Could you please approve the followings.
>
> 1. Install and use UTF-8 resource file converted from EUC
>    (resources/R6/EUC/EmiClock.ad) without any changes.
>
> 2. Add the above method to emiclock's port and redistribute a package
>    that include UTF-8 resource file.

Of course, I think that they are suitable ways these days so you may
modify it.
=======================

PR:		238308
Submitted by:	nyan
Approved by:	Masayuki Koba <koba@hoge.org> (author)
This commit is contained in:
Rodrigo Osorio 2019-06-21 08:19:46 +00:00
parent ba5cfa9a96
commit 89a8a51d6d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=504772
3 changed files with 13 additions and 2 deletions

1
LEGAL
View File

@ -72,6 +72,7 @@ ecw_jpeg_2000_*.zip graphics/libecwj2 Registration required to download sources,
edith* editors/edith Redistribution not allowed
eijiro* japanese/eijiro-fpw The original dictionary is not free
emc2* math/emc2 No resale, contact author for commercial usage
emiclock-* x11-clocks/emiclock Changes on the code or repackaging requires author approval
et-linux-* games/linux-enemyterritory Redistribution limited
etqw* games/linux-etqw-demo-server Redistribution limited
etqw* games/linux-etqw-server Redistribution limited

View File

@ -3,19 +3,25 @@
PORTNAME= emiclock
PORTVERSION= 2.0.2
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= x11-clocks
MASTER_SITES= LOCAL/nyan
MAINTAINER= ports@FreeBSD.org
COMMENT= Hyper-animated face analog clock for X11
USES= imake
LICENSE= UNKNOWN
LICENSE_NAME= Emi Clock for X11
LICENSE_FILE= ${WRKSRC}/COPYRIGHT.en
LICENSE_PERMS= dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept
USES= iconv:build imake
USE_XORG= ice sm x11 xaw xext xmu xpm xt
LANGRES= resources/R6/EUC/EmiClock.ad
LANGDIR= ${PREFIX}/lib/X11/ja_JP.eucJP/app-defaults
LANGDIR2= ${PREFIX}/lib/X11/ja_JP.EUC/app-defaults
LANGDIR_UTF8= ${PREFIX}/lib/X11/ja_JP.UTF-8/app-defaults
OPTIONS_DEFINE= DOCS
@ -36,6 +42,9 @@ post-install:
@${MKDIR} ${STAGEDIR}${LANGDIR2}
${LN} -sf ../../ja_JP.eucJP/app-defaults/EmiClock \
${STAGEDIR}${LANGDIR2}/EmiClock
@${MKDIR} ${STAGEDIR}${LANGDIR_UTF8}
${ICONV_CMD} -f euc-jp -t utf-8 ${WRKSRC}/${LANGRES} > \
${STAGEDIR}${LANGDIR_UTF8}/EmiClock
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}

View File

@ -3,6 +3,7 @@ lib/X11/EmiClock/myu.au
lib/X11/app-defaults/EmiClock
lib/X11/ja_JP.EUC/app-defaults/EmiClock
lib/X11/ja_JP.eucJP/app-defaults/EmiClock
lib/X11/ja_JP.UTF-8/app-defaults/EmiClock
man/man1/emiclock.1.gz
%%PORTDOCS%%%%DOCSDIR%%/COPYRIGHT
%%PORTDOCS%%%%DOCSDIR%%/COPYRIGHT.en