Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jun 2014 16:13:37 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r359568 - in head/textproc/kmfl-varamozhi-malayalam: . files
Message-ID:  <201406271613.s5RGDbA8064887@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: miwi
Date: Fri Jun 27 16:13:37 2014
New Revision: 359568
URL: http://svnweb.freebsd.org/changeset/ports/359568
QAT: https://qat.redports.org/buildarchive/r359568/

Log:
  - Stage support
  - Cleanup
  
  PR:		190778

Added:
  head/textproc/kmfl-varamozhi-malayalam/files/pkg-message.in   (contents, props changed)
Modified:
  head/textproc/kmfl-varamozhi-malayalam/Makefile

Modified: head/textproc/kmfl-varamozhi-malayalam/Makefile
==============================================================================
--- head/textproc/kmfl-varamozhi-malayalam/Makefile	Fri Jun 27 16:12:05 2014	(r359567)
+++ head/textproc/kmfl-varamozhi-malayalam/Makefile	Fri Jun 27 16:13:37 2014	(r359568)
@@ -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 <bsd.port.mk>

Added: head/textproc/kmfl-varamozhi-malayalam/files/pkg-message.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/kmfl-varamozhi-malayalam/files/pkg-message.in	Fri Jun 27 16:13:37 2014	(r359568)
@@ -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.
+---------------------------------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406271613.s5RGDbA8064887>