summaryrefslogtreecommitdiff
path: root/korean
diff options
context:
space:
mode:
authorCHOI Junho <cjh@FreeBSD.org>2000-07-04 18:25:03 +0000
committerCHOI Junho <cjh@FreeBSD.org>2000-07-04 18:25:03 +0000
commit69dbffee43d0fb16319cf185de779c5f877c661a (patch)
treef6be2ad399a82b8cd1b625db816ca855e7c5466f /korean
parentAdjust dependency to hlatex-psfonts-wansung. (diff)
hanIM is now open source. This ports is changed to compile hanIM!
License is not clear so I will not touch LEGAL.
Notes
Notes: svn path=/head/; revision=30191
Diffstat (limited to 'korean')
-rw-r--r--korean/hanIM/Makefile68
-rw-r--r--korean/hanIM/distinfo2
-rw-r--r--korean/hanIM/pkg-descr3
-rw-r--r--korean/hanIM/pkg-plist18
4 files changed, 11 insertions, 80 deletions
diff --git a/korean/hanIM/Makefile b/korean/hanIM/Makefile
index 6a746e863544..c868bf0a8d15 100644
--- a/korean/hanIM/Makefile
+++ b/korean/hanIM/Makefile
@@ -6,68 +6,21 @@
#
PORTNAME= hanIM
-PORTVERSION= 1.1b
-CATEGORIES= korean x11 linux
-MASTER_SITES= ftp://www.mizi.co.kr/pub/hanIM/ \
- ftp://ftp.kr.freebsd.org/pub/FreeBSD-kr/distfiles/
-DISTNAME= hanIM-${PORTVERSION}-${HANIM_VER_PL}.i386
-EXTRACT_SUFX= .rpm
+PORTVERSION= 1.2.1
+CATEGORIES= korean x11
+MASTER_SITES= ftp://ftp.mizi.com/pub/hanIM/
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_base \
- /compat/linux/usr/share/locale/ko/LC_MESSAGES/SYS_LC_MESSAGES:${PORTSDIR}/korean/linux_locale
+RUN_DEPENDS= ${X11BASE}/lib/X11/fonts/local/gulim12.pcf.gz:${PORTSDIR}/korean/baekmukfonts-bdf
-NO_CDROM= "Not a free software"
+USE_IMAKE= YES
+WRKSRC= ${WRKDIR}/hanIM
-USE_X_PREFIX= yes
-NO_WRKSUBDIR= yes
-STRIP=
-
-RPM2CPIO= rpm2cpio
-CPIO= /usr/bin/cpio
-CPIO_OPT= -i --make-directories
-
-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-${PORTVERSION}/samples/*.orig
- # dirty workaround. you should delete compiled garbages!
- ${RM} ${WRKDIR}/usr/doc/hanIM-${PORTVERSION}/samples/.#* \
- ${WRKDIR}/usr/doc/hanIM-${PORTVERSION}/samples/*.o \
- ${WRKDIR}/usr/doc/hanIM-${PORTVERSION}/samples/asample \
- ${WRKDIR}/usr/doc/hanIM-${PORTVERSION}/samples/overspot \
- ${WRKDIR}/usr/doc/hanIM-${PORTVERSION}/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
+post-install:
${MKDIR} ${PREFIX}/share/doc/hanIM
- ${CP} -r ${WRKDIR}/usr/doc/hanIM-${PORTVERSION}/* \
- ${PREFIX}/share/doc/hanIM
-
+ ${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/LICENSE \
+ ${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 \
@@ -78,7 +31,4 @@ do-install:
${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
index 3c2085b65310..3ed6b33b7121 100644
--- a/korean/hanIM/distinfo
+++ b/korean/hanIM/distinfo
@@ -1 +1 @@
-MD5 (hanIM-1.1b-glibc2.0.7-1.i386.rpm) = 12d6f527dd6d1e0f030431e1cf81976a
+MD5 (hanIM-1.2.1.tar.gz) = 3651eb27c8175d7be3ee4814335d5417
diff --git a/korean/hanIM/pkg-descr b/korean/hanIM/pkg-descr
index 17118aab3f59..a0f12a832556 100644
--- a/korean/hanIM/pkg-descr
+++ b/korean/hanIM/pkg-descr
@@ -6,7 +6,6 @@ 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>
+WWW: http://www.mizi.com/ko/prod/app/app-mim.htm
diff --git a/korean/hanIM/pkg-plist b/korean/hanIM/pkg-plist
index 20017a7f16e0..f912dfa12062 100644
--- a/korean/hanIM/pkg-plist
+++ b/korean/hanIM/pkg-plist
@@ -17,22 +17,4 @@ share/doc/hanIM/XLC_LOCALE
@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