mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
7da81d3240
the same neutral keyboard repository as textproc/ibus-kmfl does, ${LOCALBASE}/share/kmfl/. This approach is similar to m17n (its keyboard databases, devel/m17n-db and textproc/m17n-contrib, are shared between textproc/scim-m17n and textproc/ibus-m17n). This patch also makes both these KMFL engine ports to read ~/.kmfl/ instead of SCIM-oriented ~/.scim/kmfl/. There is UPDATING text that informs KMFL users about this. - Patch keyboard ports (7 of them) to install data to the new repository, ${LOCALBASE}/share/kmfl/; the keyboard ports were SCIM-only and used to install to ${LOCALBASE}/share/scim/kmfl/. - Adapt descriptions in other KMFL ports (textproc/kmflcomp, textproc/libkmfl); - While we are here, do some additional maintenance. - Remove the 7 old ports. - Please see the PR for full details. PR: ports/156694 Submitted by: Nikola Lecic <nikola.lecic@anthesphoria.net> (maintainer)
53 lines
1.7 KiB
Makefile
53 lines
1.7 KiB
Makefile
# New ports collection makefile for: scim-kmfl-sil-yi
|
|
# Date created: 1 September 2009
|
|
# Whom: Nikola Lecic <nikola.lecic@anthesphoria.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= kmfl-sil-yi
|
|
PORTVERSION= 20020903
|
|
PORTREVISION= 3
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= http://scripts.sil.org/cms/scripts/render_download.php?site_id=nrsi&format=file&media_id=SILYi12OFL_Src&filename=/ \
|
|
http://anthesphoria.net/FreeBSD/ports/distfiles/${DIST_SUBDIR}/
|
|
DISTNAME= SILYiOFL1.2Src
|
|
DIST_SUBDIR= kmfl
|
|
|
|
MAINTAINER= nikola.lecic@anthesphoria.net
|
|
COMMENT= KMFL Unicode keyboard for standardized Yi script
|
|
|
|
RUN_DEPENDS= kmflcomp:${PORTSDIR}/textproc/kmflcomp
|
|
|
|
WRKSRC= ${WRKDIR}
|
|
USE_DOS2UNIX= SourceFiles/Yi7.kmn
|
|
NO_BUILD= yes
|
|
USE_ZIP= yes
|
|
|
|
KMFL_DIR= share/kmfl
|
|
KMFL_ICONS_DIR= share/kmfl/icons
|
|
|
|
PLIST_FILES= ${KMFL_DIR}/Yi7.kmn \
|
|
${KMFL_ICONS_DIR}/YiPinYin.bmp
|
|
PLIST_DIRSTRY= ${KMFL_ICONS_DIR} \
|
|
${KMFL_DIR}
|
|
|
|
do-install:
|
|
${MKDIR} ${LOCALBASE}/${KMFL_DIR} ${LOCALBASE}/${KMFL_ICONS_DIR}
|
|
${INSTALL_DATA} ${WRKSRC}/SourceFiles/*.kmn ${LOCALBASE}/${KMFL_DIR}
|
|
${INSTALL_DATA} ${WRKSRC}/SourceFiles/*.bmp ${LOCALBASE}/${KMFL_ICONS_DIR}
|
|
|
|
post-install:
|
|
@${ECHO_MSG} "--------------------------------------------------------"
|
|
@${ECHO_MSG} " You should now have the new keyboard in the section"
|
|
@${ECHO_MSG} " \"Others\" in your SCIM/IBus menu. If you don't see it,"
|
|
@${ECHO_MSG} " restart X."
|
|
@${ECHO_MSG}
|
|
@${ECHO_MSG} " At the moment, this keyboard has no documentation."
|
|
@${ECHO_MSG} " As a general rule, type the Pinyin romanization for"
|
|
@${ECHO_MSG} " that syllable, followed by a space. For punctuation,"
|
|
@${ECHO_MSG} " try usual punctuation keystrokes."
|
|
@${ECHO_MSG} "--------------------------------------------------------"
|
|
|
|
.include <bsd.port.mk>
|