freebsd-ports/textproc/kmfl-varamozhi-malayalam/Makefile
Wesley Shields 7da81d3240 - Patch SCIM KMFL engine (textproc/scim-kmfl-imengine) to use
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)
2011-05-29 13:28:25 +00:00

51 lines
1.7 KiB
Makefile

# New ports collection makefile for: scim-kmfl-varamozhi-malayalam
# Date created: 10 October 2009
# Whom: Nikola Lecic <nikola.lecic@anthesphoria.net>
#
# $FreeBSD$
#
PORTNAME= kmfl-varamozhi-malayalam
PORTVERSION= 1.1.1
PORTREVISION= 4
CATEGORIES= textproc
MASTER_SITES= SF/varamozhi/2%20Mozhi%20Keyman%20-%20Input%20Method/${PORTVERSION} \
http://anthesphoria.net/FreeBSD/ports/distfiles/${DIST_SUBDIR}/
DISTNAME= mozhi_${PORTVERSION}
DIST_SUBDIR= kmfl
MAINTAINER= nikola.lecic@anthesphoria.net
COMMENT= KMFL Malayalam keyboard according to the Mozhi scheme
RUN_DEPENDS= kmflcomp:${PORTSDIR}/textproc/kmflcomp
USE_DOS2UNIX= mozhi_1.1.0.kmn
NO_BUILD= yes
USE_ZIP= yes
KMFL_DIR= share/kmfl
KMFL_ICONS_DIR= share/kmfl/icons
PLIST_FILES= ${KMFL_DIR}/mozhi_1.1.0.kmn \
${KMFL_ICONS_DIR}/mozhi.bmp
PLIST_DIRSTRY= ${KMFL_ICONS_DIR} \
${KMFL_DIR}
do-install:
${MKDIR} ${LOCALBASE}/${KMFL_DIR} ${LOCALBASE}/${KMFL_ICONS_DIR}
${INSTALL_DATA} ${WRKSRC}/*.kmn ${LOCALBASE}/${KMFL_DIR}
${INSTALL_DATA} ${WRKSRC}/*.bmp ${LOCALBASE}/${KMFL_ICONS_DIR}
post-install:
@${ECHO_MSG} "--------------------------------------------------------"
@${ECHO_MSG} " You should now have the new keyboard in the section"
@${ECHO_MSG} " \"Malayalam\" 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 downloadable"
@${ECHO_MSG} " documentation. For the details on the Mozhi scheme,"
@${ECHO_MSG} " please see the Project's homepage, especially"
@${ECHO_MSG} " https://sites.google.com/site/cibu/mozhi."
@${ECHO_MSG} "--------------------------------------------------------"
.include <bsd.port.mk>