components/mercurial/Makefile
changeset 751 32bfb3fa9b60
parent 706 6e61f0012046
child 800 2ad056ed89ec
--- a/components/mercurial/Makefile	Wed Mar 28 10:06:23 2012 -0700
+++ b/components/mercurial/Makefile	Wed Mar 28 10:58:59 2012 -0700
@@ -36,6 +36,9 @@
 include $(WS_TOP)/make-rules/setup.py.mk
 include $(WS_TOP)/make-rules/ips.mk
 
+COMPONENT_POST_INSTALL_ACTION = \
+	(cd $(PROTO_DIR)/usr/bin ; $(MV) -f hg hg-$(PYTHON_VERSION))
+
 PKG_PROTO_DIRS +=	$(COMPONENT_SRC)/contrib
 PKG_PROTO_DIRS +=	$(COMPONENT_SRC)/doc