mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
Remove hack to install XLC_LOCALE for ko locale, this change
goes into XFree86(v3) ports(3.3.6_4). XFree86-4 unaffected. Thanks jmz to apply this hack into XFree86 ports!
This commit is contained in:
parent
233bfab6dc
commit
dca7998b07
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=34811
@ -7,13 +7,14 @@
|
||||
|
||||
PORTNAME= ami
|
||||
PORTVERSION= 1.0.6
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= korean x11
|
||||
MASTER_SITES= http://www.kr.freebsd.org/~hwang/ami/ \
|
||||
http://master.debian-kr.org/~cwryu/archive/misc/
|
||||
DISTFILES= ${DISTNAME}.tar.gz hanja.dic.gz ami.dic
|
||||
EXTRACT_ONLY= ${DISTNAME}.tar.gz
|
||||
|
||||
MAINTAINER= cjh@kr.freebsd.org
|
||||
MAINTAINER= cjh@FreeBSD.org
|
||||
|
||||
LIB_DEPENDS= gdk_pixbuf.2:${PORTSDIR}/graphics/gdk-pixbuf
|
||||
|
||||
@ -41,16 +42,7 @@ post-build:
|
||||
|
||||
post-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/hanjadic/hanja-hwp2ami ${PREFIX}/bin
|
||||
# patch XLC_LOCALE for ko_KR.EUC(harmless)
|
||||
if [ -f ${PREFIX}/lib/X11/locale/ko/XLC_LOCALE; then \
|
||||
${MV} -f ${PREFIX}/lib/X11/locale/ko/XLC_LOCALE \
|
||||
${PREFIX}/lib/X11/locale/ko/XLC_LOCALE.orig; \
|
||||
fi
|
||||
${INSTALL_DATA} ${FILESDIR}/XLC_LOCALE \
|
||||
${PREFIX}/lib/X11/locale/ko/
|
||||
${MKDIR} ${PREFIX}/share/doc/ami
|
||||
${INSTALL_DATA} ${FILESDIR}/XLC_LOCALE \
|
||||
${PREFIX}/share/doc/ami
|
||||
.for NAME in AUTHORS README NEWS ChangeLog
|
||||
${INSTALL_DATA} ${WRKSRC}/${NAME} \
|
||||
${PREFIX}/share/doc/ami
|
||||
|
@ -7,7 +7,6 @@ share/doc/ami/AUTHORS
|
||||
share/doc/ami/ChangeLog
|
||||
share/doc/ami/NEWS
|
||||
share/doc/ami/README
|
||||
share/doc/ami/XLC_LOCALE
|
||||
%%DATADIR%%/ami/gtkrc
|
||||
%%DATADIR%%/ami/hanja.dic
|
||||
%%DATADIR%%/ami/pix/Aqua/AUTHORS
|
||||
@ -31,11 +30,6 @@ share/doc/ami/XLC_LOCALE
|
||||
%%DATADIR%%/ami/pix/nam/ami-e.xpm
|
||||
%%DATADIR%%/ami/pix/nam/ami-h.xpm
|
||||
%%GNOME:%%share/gnome/applets/Utility/ami.desktop
|
||||
@comment copy new locale definition(no harm, so need not be uninstalled)
|
||||
@exec if [ -f %D/lib/X11/locale/ko/XLC_LOCALE ]; then mv -f %D/lib/X11/locale/ko/XLC_LOCALE %D/lib/X11/locale/ko/XLC_LOCALE.orig; fi
|
||||
@exec cp %D/share/doc/ami/XLC_LOCALE %D/lib/X11/locale/ko/
|
||||
@unexec rm -f %D/lib/X11/locale/ko/XLC_LOCALE
|
||||
@unexec if [ -f %D/lib/X11/locale/ko/XLC_LOCALE.orig ]; then mv -f %D/lib/X11/locale/ko/XLC_LOCALE.orig %D/lib/X11/locale/ko/XLC_LOCALE; fi
|
||||
@dirrm share/doc/ami
|
||||
@dirrm %%DATADIR%%/ami/pix/nam
|
||||
@dirrm %%DATADIR%%/ami/pix/arctic
|
||||
|
Loading…
Reference in New Issue
Block a user