aboutsummaryrefslogtreecommitdiff
path: root/x11-clocks/emiclock/Makefile
diff options
context:
space:
mode:
authorRodrigo Osorio <rodrigo@FreeBSD.org>2019-06-21 08:19:46 +0000
committerRodrigo Osorio <rodrigo@FreeBSD.org>2019-06-21 08:19:46 +0000
commit89a8a51d6dc577dc146e57dba52c867fffb6f47c (patch)
tree1812bb54d2b836c7f1a97f8297fc4fecb1982db6 /x11-clocks/emiclock/Makefile
parentba5cfa9a967aa1e73a1513764d4998ec27d2e5b8 (diff)
downloadports-89a8a51d6dc577dc146e57dba52c867fffb6f47c.tar.gz
ports-89a8a51d6dc577dc146e57dba52c867fffb6f47c.zip
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)
Notes
Notes: svn path=/head/; revision=504772
Diffstat (limited to 'x11-clocks/emiclock/Makefile')
-rw-r--r--x11-clocks/emiclock/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/x11-clocks/emiclock/Makefile b/x11-clocks/emiclock/Makefile
index 5d0eee2f69aa..8d784e0a6152 100644
--- a/x11-clocks/emiclock/Makefile
+++ b/x11-clocks/emiclock/Makefile
@@ -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}