diff options
author | kuriyama <kuriyama@FreeBSD.org> | 1999-05-29 16:32:15 +0800 |
---|---|---|
committer | kuriyama <kuriyama@FreeBSD.org> | 1999-05-29 16:32:15 +0800 |
commit | 4fe4117abbabb9bac182beb0c1162415a2ee13e3 (patch) | |
tree | 5659364202540327e28aca22877d4b0c47aefcd2 /korean | |
parent | e311b50d2cc94f6090e9b76c87ee9b6319c98cff (diff) | |
download | freebsd-ports-gnome-4fe4117abbabb9bac182beb0c1162415a2ee13e3.tar.gz freebsd-ports-gnome-4fe4117abbabb9bac182beb0c1162415a2ee13e3.tar.zst freebsd-ports-gnome-4fe4117abbabb9bac182beb0c1162415a2ee13e3.zip |
Mizi Research's Korean X11 Input Method
Submitted by: Choi Junho <cjh@kr.freebsd.org>
PR: ports/11684
Diffstat (limited to 'korean')
-rw-r--r-- | korean/hanIM/Makefile | 84 | ||||
-rw-r--r-- | korean/hanIM/distinfo | 1 | ||||
-rw-r--r-- | korean/hanIM/pkg-comment | 1 | ||||
-rw-r--r-- | korean/hanIM/pkg-descr | 12 | ||||
-rw-r--r-- | korean/hanIM/pkg-plist | 38 |
5 files changed, 136 insertions, 0 deletions
diff --git a/korean/hanIM/Makefile b/korean/hanIM/Makefile new file mode 100644 index 000000000000..70787afbd9b2 --- /dev/null +++ b/korean/hanIM/Makefile @@ -0,0 +1,84 @@ +# New ports collection makefile for: hanIM +# Version required: 1.0 +# Date created: 17 Mar 1998 +# Whom: CHOI Junho <cjh@kr.freebsd.org +# +# $Id$ +# + +DISTNAME= hanIM-${HANIM_VER}-${HANIM_VER_PL}.i386 +PKGNAME= ko-hanIM-${HANIM_VER} +CATEGORIES= korean x11 +MASTER_SITES= http://www.mizi.co.kr/packages/hanIM/ +EXTRACT_SUFX= .rpm + +MAINTAINER= cjh@kr.freebsd.org + +BUILD_DEPENDS= rpm2cpio:${PORTSDIR}/misc/rpm +RUN_DEPENDS= ${PREFIX}/lib/X11/fonts/local/mzgt16h1.pcf.gz:${PORTSDIR}/korean/mizifont \ + /compat/linux/lib/libc.so.6:${PORTSDIR}/emulators/linux_lib \ + /compat/linux/usr/share/locale/ko/LC_MESSAGES/SYS_LC_MESSAGES:${PORTSDIR}/korean/linux_locale + +NO_CDROM= "Not a free software" + +USE_X_PREFIX= yes +NO_WRKSUBDIR= yes +STRIP= + +RPM2CPIO= rpm2cpio +CPIO= /usr/bin/cpio +CPIO_OPT= -i --make-directories + +HANIM_VER= 1.1b +HANIM_VER_PL= glibc2.0.7-1 + +do-extract: + @${RM} -rf ${WRKDIR} && \ + ${MKDIR} ${WRKDIR} && \ + cd ${WRKDIR} && \ + ${RPM2CPIO} ${_DISTDIR}/${DISTFILES} | ${CPIO} ${CPIO_OPT} + +do-build: + # documents & samples + ${RM} ${WRKDIR}/usr/doc/hanIM-${HANIM_VER}/samples/*.orig + # dirty workaround. you should delete compiled garbages! + ${RM} ${WRKDIR}/usr/doc/hanIM-${HANIM_VER}/samples/.#* \ + ${WRKDIR}/usr/doc/hanIM-${HANIM_VER}/samples/*.o \ + ${WRKDIR}/usr/doc/hanIM-${HANIM_VER}/samples/asample \ + ${WRKDIR}/usr/doc/hanIM-${HANIM_VER}/samples/overspot \ + ${WRKDIR}/usr/doc/hanIM-${HANIM_VER}/samples/rootwin + +do-install: + # binary + ${INSTALL_PROGRAM} ${WRKDIR}/usr/X11R6/bin/hanIM ${PREFIX}/bin/ + + # application defaults + ${INSTALL_DATA} ${WRKDIR}/usr/X11R6/lib/X11/app-defaults/HanIM \ + ${PREFIX}/lib/X11/app-defaults/ + + # help files + ${MKDIR} ${PREFIX}/lib/X11/hanIM/help + ${INSTALL_DATA} ${WRKDIR}/usr/X11R6/lib/X11/hanIM/*.tbl \ + ${PREFIX}/lib/X11/hanIM/ + ${INSTALL_DATA} ${WRKDIR}/usr/X11R6/lib/X11/hanIM/help/* \ + ${PREFIX}/lib/X11/hanIM/help/ + + # documents & samples + ${MKDIR} ${PREFIX}/share/doc/hanIM + ${CP} -r ${WRKDIR}/usr/doc/hanIM-${HANIM_VER}/* \ + ${PREFIX}/share/doc/hanIM + + # 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/ + ${INSTALL_DATA} ${FILESDIR}/XLC_LOCALE \ + ${PREFIX}/share/doc/hanIM/ + +post-install: + @${CAT} ${PKGDIR}/MESSAGE + +.include <bsd.port.mk> diff --git a/korean/hanIM/distinfo b/korean/hanIM/distinfo new file mode 100644 index 000000000000..3c2085b65310 --- /dev/null +++ b/korean/hanIM/distinfo @@ -0,0 +1 @@ +MD5 (hanIM-1.1b-glibc2.0.7-1.i386.rpm) = 12d6f527dd6d1e0f030431e1cf81976a diff --git a/korean/hanIM/pkg-comment b/korean/hanIM/pkg-comment new file mode 100644 index 000000000000..84be41f0ef7e --- /dev/null +++ b/korean/hanIM/pkg-comment @@ -0,0 +1 @@ +Mizi Research's Korean X11 Input Method diff --git a/korean/hanIM/pkg-descr b/korean/hanIM/pkg-descr new file mode 100644 index 000000000000..17118aab3f59 --- /dev/null +++ b/korean/hanIM/pkg-descr @@ -0,0 +1,12 @@ +hanIM +===== + +hanIM is Mizi Research's Korean X11 Input Method for UNIX/X11R6. + +This is not a free software. Please read copyright message in +/usr/X11R6/share/doc/hanIM/LICENSE + +For more information, go to http://www.mizi.co.kr + +-- +Ports by CHOI Junho <cjh@kr.freebsd.org> diff --git a/korean/hanIM/pkg-plist b/korean/hanIM/pkg-plist new file mode 100644 index 000000000000..20017a7f16e0 --- /dev/null +++ b/korean/hanIM/pkg-plist @@ -0,0 +1,38 @@ +bin/hanIM +lib/X11/app-defaults/HanIM +lib/X11/hanIM/hanroman.tbl +lib/X11/hanIM/help/back5.gif +lib/X11/hanIM/help/index.html +lib/X11/hanIM/help/intro.gif +lib/X11/hanIM/help/property.gif +lib/X11/hanIM/help/title.gif +lib/X11/hanIM/help/usage.gif +lib/X11/hanIM/japanese.tbl +@dirrm lib/X11/hanIM/help +@dirrm lib/X11/hanIM +share/doc/hanIM/LICENSE +share/doc/hanIM/README +share/doc/hanIM/XLC_LOCALE +@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/hanIM/XLC_LOCALE %D/lib/X11/locale/ko/ +@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 +share/doc/hanIM/samples/CVS/Entries +share/doc/hanIM/samples/CVS/Repository +share/doc/hanIM/samples/CVS/Root +share/doc/hanIM/samples/IMDemo +share/doc/hanIM/samples/Makefile +share/doc/hanIM/samples/asample.c +share/doc/hanIM/samples/geticval.c +share/doc/hanIM/samples/getimval.c +share/doc/hanIM/samples/gtkimtest.c +share/doc/hanIM/samples/gtkimtest.rc +share/doc/hanIM/samples/i18n.c +share/doc/hanIM/samples/msample.c +share/doc/hanIM/samples/offspot.c +share/doc/hanIM/samples/onspot.c +share/doc/hanIM/samples/overspot.c +share/doc/hanIM/samples/rootwin.c +@dirrm share/doc/hanIM/samples/CVS +@dirrm share/doc/hanIM/samples +@dirrm share/doc/hanIM |