1999-05-29 04:32:15 -04:00
|
|
|
# New ports collection makefile for: hanIM
|
|
|
|
# Date created: 17 Mar 1998
|
|
|
|
# Whom: CHOI Junho <cjh@kr.freebsd.org
|
|
|
|
#
|
1999-08-30 08:09:14 -04:00
|
|
|
# $FreeBSD$
|
1999-05-29 04:32:15 -04:00
|
|
|
#
|
|
|
|
|
2000-04-13 05:17:26 -04:00
|
|
|
PORTNAME= hanIM
|
|
|
|
PORTVERSION= 1.1b
|
2000-02-28 03:34:04 -05:00
|
|
|
CATEGORIES= korean x11 linux
|
1999-09-08 11:36:36 -04:00
|
|
|
MASTER_SITES= ftp://www.mizi.co.kr/pub/hanIM/ \
|
|
|
|
ftp://ftp.kr.freebsd.org/pub/FreeBSD-kr/distfiles/
|
2000-04-13 05:17:26 -04:00
|
|
|
DISTNAME= hanIM-${PORTVERSION}-${HANIM_VER_PL}.i386
|
1999-05-29 04:32:15 -04:00
|
|
|
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 \
|
1999-07-21 10:55:43 -04:00
|
|
|
/compat/linux/lib/libc.so.6:${PORTSDIR}/emulators/linux_base \
|
1999-05-29 04:32:15 -04:00
|
|
|
/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_PL= glibc2.0.7-1
|
|
|
|
|
|
|
|
do-extract:
|
|
|
|
@${RM} -rf ${WRKDIR} && \
|
|
|
|
${MKDIR} ${WRKDIR} && \
|
|
|
|
cd ${WRKDIR} && \
|
|
|
|
${RPM2CPIO} ${_DISTDIR}/${DISTFILES} | ${CPIO} ${CPIO_OPT}
|
|
|
|
|
|
|
|
do-build:
|
|
|
|
# documents & samples
|
2000-04-13 05:17:26 -04:00
|
|
|
${RM} ${WRKDIR}/usr/doc/hanIM-${PORTVERSION}/samples/*.orig
|
1999-05-29 04:32:15 -04:00
|
|
|
# dirty workaround. you should delete compiled garbages!
|
2000-04-13 05:17:26 -04:00
|
|
|
${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
|
1999-05-29 04:32:15 -04:00
|
|
|
|
|
|
|
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
|
2000-04-13 05:17:26 -04:00
|
|
|
${CP} -r ${WRKDIR}/usr/doc/hanIM-${PORTVERSION}/* \
|
1999-05-29 04:32:15 -04:00
|
|
|
${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>
|