From af12112d3400e133941ab68b13d374ef1b1f861c Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Fri, 27 Jun 2014 16:13:37 +0000 Subject: [PATCH] - Stage support - Cleanup PR: 190778 --- textproc/kmfl-varamozhi-malayalam/Makefile | 23 +++++-------------- .../files/pkg-message.in | 10 ++++++++ 2 files changed, 16 insertions(+), 17 deletions(-) create mode 100644 textproc/kmfl-varamozhi-malayalam/files/pkg-message.in diff --git a/textproc/kmfl-varamozhi-malayalam/Makefile b/textproc/kmfl-varamozhi-malayalam/Makefile index 7e5a574876a8..ae09e3c6bd7d 100644 --- a/textproc/kmfl-varamozhi-malayalam/Makefile +++ b/textproc/kmfl-varamozhi-malayalam/Makefile @@ -3,7 +3,7 @@ PORTNAME= kmfl-varamozhi-malayalam PORTVERSION= 1.1.1 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= textproc MASTER_SITES= SF/varamozhi/2%20Mozhi%20Keyman%20-%20Input%20Method/${PORTVERSION} \ http://anthesphoria.net/FreeBSD/ports/distfiles/${DIST_SUBDIR}/ @@ -22,27 +22,16 @@ NO_BUILD= yes KMFL_DIR= share/kmfl KMFL_ICONS_DIR= share/kmfl/icons +SUB_FILES= pkg-message + PLIST_FILES= ${KMFL_DIR}/mozhi_1.1.0.kmn \ ${KMFL_ICONS_DIR}/mozhi.bmp PLIST_DIRSTRY= ${KMFL_ICONS_DIR} \ ${KMFL_DIR} -NO_STAGE= yes 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} "--------------------------------------------------------" + ${MKDIR} ${STAGEDIR}${PREFIX}/${KMFL_DIR} ${STAGEDIR}${PREFIX}/${KMFL_ICONS_DIR} + ${INSTALL_DATA} ${WRKSRC}/*.kmn ${STAGEDIR}${PREFIX}/${KMFL_DIR} + ${INSTALL_DATA} ${WRKSRC}/*.bmp ${STAGEDIR}${PREFIX}/${KMFL_ICONS_DIR} .include diff --git a/textproc/kmfl-varamozhi-malayalam/files/pkg-message.in b/textproc/kmfl-varamozhi-malayalam/files/pkg-message.in new file mode 100644 index 000000000000..967684f2bda8 --- /dev/null +++ b/textproc/kmfl-varamozhi-malayalam/files/pkg-message.in @@ -0,0 +1,10 @@ +--------------------------------------------------------- + You should now have the new keyboard in the section + "Malayalam" in your SCIM/IBus menu. If you don't see + it, restart X. + + At the moment, this keyboard has no downloadable + documentation. For the details on the Mozhi scheme, + please see the Project's homepage, especially + https://sites.google.com/site/cibu/mozhi. +---------------------------------------------------------